diff options
author | TingPing <tngpng@gmail.com> | 2013-05-24 15:01:27 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-05-24 15:01:27 -0700 |
commit | 270cde42f1f801060b4f733d7f70ab37413024d4 (patch) | |
tree | 11220c510c9201bcfc82ed6711b4a179fed1bde2 /src/common/cfgfiles.h | |
parent | b690098941613261c5c1cc8cdb7e92ef0cc6871b (diff) | |
parent | d9d05e83ba9975959607302c45a631ee80a2d21e (diff) |
Merge pull request #590 from orium/run-as-root-589-504
Now hexchat doesn't abnormally terminate when started as root.
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r-- | src/common/cfgfiles.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h index 103466f3..3a59d26d 100644 --- a/src/common/cfgfiles.h +++ b/src/common/cfgfiles.h @@ -34,7 +34,11 @@ int cfg_put_int (int fh, int value, char *var); int cfg_get_color (char *cfg, char *var, int *r, int *g, int *b); int cfg_put_color (int fh, int r, int g, int b, char *var); char *get_xdir (void); -void load_config (void); +int check_config_dir (void); +void load_default_config (void); +int make_config_dirs (void); +int make_dcc_dirs (void); +int load_config (void); int save_config (void); void list_free (GSList ** list); void list_loadconf (char *file, GSList ** list, char *defaultconf); |