ctdluid is now specified on the command line with the new -u option. Config file...
[citadel.git] / citadel / server.h
index a34e1e4231ba0b9124eef067c5e802cf51d1521e..45e0d74983a4839b22b35bafc47d1b7c87050f19 100644 (file)
@@ -80,6 +80,7 @@ typedef struct __recptypes {
 #define CTDLEXIT_DB            105     /* Unable to initialize database */
 #define CTDLEXIT_LIBCITADEL    106     /* Incorrect version of libcitadel */
 #define CTDL_EXIT_UNSUP_AUTH   107     /* Unsupported auth mode configured */
+#define CTDLEXIT_UNUSER                108     /* Could not determine uid to run as */
 
 /*
  * Reasons why a session would be terminated (set CC->kill_me to these values)
@@ -131,6 +132,7 @@ struct CitControl {
 
 extern int ScheduledShutdown;
 extern struct CitControl CitControl;
+extern uid_t ctdluid;
 
 struct ExpressMessage {
        struct ExpressMessage *next;