]> andersk Git - moira.git/blobdiff - include/moira_site.h
missing SRCDIR; ifdef on GDSS
[moira.git] / include / moira_site.h
index 7203e3cb0c44fda342d37c0d6c58498634add6cc..38c0e9b3c9d25b804b173f1a8c52bb6bf91e7995 100644 (file)
 /* Default Moira server to connect to */
 #define MOIRA_SERVER   "MOIRA.MIT.EDU:sms_db"
 
-/* Compile-time options: */
-/*   used hesiod looking up Moira server name */
-#define HESIOD
-/*   log errors via zephyr */
-#define ZEPHYR
-/*   log errors via syslog */
-/* #define SYSLOG */
-/*   Athena local hacks -- other sites probably don't want this */
-#define ATHENA
-/* Ingres version number */
-#define INGRESVER 5
-
 
 #define NAME 0
 
 #define U_STATE   6  
 #define U_MITID   7
 #define U_CLASS   8
-#define U_MODTIME 9
-#define U_MODBY   10
-#define U_MODWITH 11
-#define U_END     12
+#define U_COMMENT 9
+#define U_SIGNATURE 10
+#define U_SECURE  11
+#define U_MODTIME 12
+#define U_MODBY   13
+#define U_MODWITH 14
+#define U_END     15
 
 /* User states (the value of argv[U_STATE] from a user query) */
 
 #define USH_SHELL       1
 #define USH_END         2
 
+/* Zehpyr ACL queries */
+
+#define ZA_CLASS       0
+#define ZA_XMT_TYPE    1
+#define ZA_XMT_ID      2
+#define        ZA_SUB_TYPE     3
+#define        ZA_SUB_ID       4
+#define        ZA_IWS_TYPE     5
+#define        ZA_IWS_ID       6
+#define        ZA_IUI_TYPE     7
+#define        ZA_IUI_ID       8
+#define        ZA_MODTIME      9
+#define        ZA_MODBY        10
+#define        ZA_MODWITH      11
+#define ZA_END         12
+
+
 
 /* Directories & files used on the server machine: */
 
-#define SMS_DIR                "/u1/sms"       /* home directory of the system */
-#define BIN_DIR                "/u1/sms/bin"   /* where progs live */
-#define DCM_DIR                "/u1/sms/dcm"   /* where DCM output files end up */
-#define LOCK_DIR       "/u1/sms/dcm/locks" /* where DCM puts lock files */
+#define SMS_DIR                "/moira"        /* home directory of the system */
+#define BIN_DIR                "/moira/bin"    /* where progs live */
+#define DCM_DIR                "/moira/dcm"    /* where DCM output files end up */
+#define LOCK_DIR       "/moira/dcm/locks" /* where DCM puts lock files */
 
-#define CRITERRLOG     "/u1/sms/critical.log"
-#define JOURNAL                "/u1/sms/journal"
-#define REGJOURNAL     "/u1/sms/journal.reg"
+#define CRITERRLOG     "/moira/critical.log"
+#define JOURNAL                "/moira/journal"
+#define REGJOURNAL     "/moira/journal.reg"
 #define NODCMFILE      "/etc/nodcm"    /* flag to inhibit DCM running */
 #define MOIRA_MOTD_FILE        "/etc/smsdown"  /* make the server go to sleep */
 
 
-#endif _moira_site_            /* Do not add anything after this line. */
+#endif /* _moira_site_ */           /* Do not add anything after this line. */
This page took 0.191048 seconds and 4 git commands to generate.