]> andersk Git - moira.git/blobdiff - include/moira_site.h
Use krb5_error_code for return value of krb5 library functions.
[moira.git] / include / moira_site.h
index 67ee8d663bade6898bcac91fe632f3ef1a6a6e3b..9e6d10dde5c2cf57c6393efbcf41c6c609227220 100644 (file)
 #define SN_END         15
 
 /* Subnet statuses */
-#define SNET_STATUS_RESERVED        0
-#define SNET_STATUS_BILLABLE        1
-#define SNET_STATUS_PRIVATE_10MBPS  2
-#define SNET_STATUS_PRIVATE_100MBPS 3
-#define SNET_STATUS_PRIVATE_OTHER   4
-#define SNET_STATUS_RESNET          5
-#define SNET_STATUS_INFRASTRUCTURE  6
+#define SNET_STATUS_RESERVED         0
+#define SNET_STATUS_BILLABLE         1
+#define SNET_STATUS_PRIVATE_10MBPS   2
+#define SNET_STATUS_PRIVATE_100MBPS  3
+#define SNET_STATUS_PRIVATE_OTHER    4
+#define SNET_STATUS_RESNET_DORM      5
+#define SNET_STATUS_INFRASTRUCTURE   6
+#define SNET_STATUS_PRIVATE_1000MBPS 7
+#define SNET_STATUS_RESNET_FSILG     8
 
 /* User Information queries, v3 */
 
 #define U_MODTIME 13
 #define U_MODBY   14
 #define U_MODWITH 15
-#define U_END     16
+#define U_CREATED 16
+#define U_CREATOR 17
+#define U_END     18
 
 /* User states (the value of argv[U_STATE] from a user query) */
 
-#define US_NO_LOGIN_YET 0
-#define US_REGISTERED   1
-#define US_NO_PASSWD    2
-#define US_DELETED      3
-#define US_NOT_ALLOWED  4
-#define US_ENROLLED    5
-#define US_ENROLL_NOT_ALLOWED 6
-#define US_HALF_ENROLLED 7
-#define US_END          8
+#define US_NO_LOGIN_YET               0
+#define US_REGISTERED                 1
+#define US_NO_PASSWD                  2
+#define US_DELETED                    3
+#define US_NOT_ALLOWED                4
+#define US_ENROLLED                   5
+#define US_ENROLL_NOT_ALLOWED         6
+#define US_HALF_ENROLLED              7
+#define US_NO_LOGIN_YET_KERBEROS_ONLY 8
+#define US_REGISTERED_KERBEROS_ONLY   9
+#define US_END                       10
 
 /* User shell queries */
 
 /* Container queries */
 
 #define CON_NAME        0
-#define CON_DESCRIPT    1
-#define CON_LOCATION    2
-#define CON_CONTACT     3
-#define CON_OWNER_TYPE  4
-#define CON_OWNER_NAME  5
-#define CON_MEMACE_TYPE 6
-#define CON_MEMACE_NAME 7
-#define CON_MODTIME     8
-#define CON_MODBY       9
-#define CON_MODWITH     10
-#define CON_END         11
+#define CON_PUBLIC      1
+#define CON_DESCRIPT    2
+#define CON_LOCATION    3
+#define CON_CONTACT     4
+#define CON_OWNER_TYPE  5
+#define CON_OWNER_NAME  6
+#define CON_MEMACE_TYPE 7
+#define CON_MEMACE_NAME 8
+#define CON_MODTIME     9
+#define CON_MODBY       10
+#define CON_MODWITH     11
+#define CON_END         12
 
 /* Directories & files used on the server machine: */
 
This page took 0.046161 seconds and 4 git commands to generate.