#define SINGLE_STARTUP \ home = ghash_get(cmd__line,"H"); \ if(ghash_get(cmd__line,"h") == NULL || (home == NULL && (ghash_get(cmd__line,"s") == NULL || ghash_get(cmd__line,"l") == NULL))) \ { /* require hostname, and either a HOME or the spool and logs specifically */ \ fprintf(stderr, "\ Usage:\n\ jabberd -h hostname -s /var/spool/jabber -l /var/log/jabber.log &\n\ Required Parameters:\n\ -h \t\t A valid hostname that this server is accessible via\n\ -s \t\t A folder in which user account data can be stored\n\ -l \t\t The name of the log file\n\ Optional Parameters:\n\ -H \t\t A 'home' folder, which can be used instead of the -s and -l above as the parent folder\n\ -c \t\t Location of a configuration file to use instead of the built-in configuration\n\ -v \t\t server version\n\ -D \t\t Enable verbose debug output\n"); \ exit(0); \ } #define SINGLE_CONFIG "\ \ \ localhost \ \ Choose a username and password to register with this server. \ localhost \ \ jabber:iq:searchjabber:iq:register \ \ \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ ./jsm/jsm.so \ \ \ \ \ ./xdb_file/xdb_file.so \ ./spool \ \ \ ./pthsock/pthsock_client.so \ \ \ \ \ 10 \ 10 \ 1 \ 1 \ 10 \ -6 \ \ \ \ \ \ \ %d: [%t] (%h): %s \ jabber.log \ \ \ \ \ ./dnsrv/dnsrv.so \ \ s2s \ s2s \ \ \ \ ./pthsock/pthsock_server.so \ \ \ \ \ 50 \ 50 \ 4 \ 1 \ 50 \ -5 \ \ \ \ \ "