diff src/util.h @ 8596:56360561af5e

[gaim-migrate @ 9347] " This patch creates a new command line argument ('-c' or '--config') that allows the location of tha gaim prefs files to be located somewhere other than in ~/.gaim The patch also removes the -f argument as it is no longer relevant since .gaimrc is all but gone. The one "weirdness" is that for the session managment support, the --config argument will allways appear to be specified and will contain either the custom value (if specified) or the canonical version of ~/.gaim (if no custom -c is specified). If this should be done differently, let me know." --Daniel Atallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 06 Apr 2004 14:29:51 +0000
parents 599d6ac9bbfe
children ddd2bf87fe8d
line wrap: on
line diff
--- a/src/util.h	Tue Apr 06 05:41:12 2004 +0000
+++ b/src/util.h	Tue Apr 06 14:29:51 2004 +0000
@@ -325,6 +325,12 @@
 char *gaim_user_dir(void);
 
 /**
+ * Define a custom gaim settings directory, overriding the default (user's home directory/.gaim)
+ * @param dir The custom settings directory
+ */
+void set_gaim_user_dir(const char *dir);
+
+/**
  * Builds a complete path from the root, making any directories along
  * the path which do not already exist.
  *