I'd like to start with rewriting these structures.
extern set_string_t g_settings_setOpenGPGPublicKeys;
extern set_string_t g_settings_setBlackListedPkgs;
extern set_string_t g_settings_setBlackListedPaths;
I think that for set_string is enough to use GList
Next two lines will be char*
extern std::string g_settings_sDatabase;
extern std::string g_settings_sWatchCrashdumpArchiveDir;
and I'd like end up with one simple structure like that
struct settings {
GList *opengpg;
GList *black_listed_pkgs;
GList *black_listed_paths;
...
...
};
what do you think?
--
Nikola