]> andersk Git - moira.git/blobdiff - dbck/dbck.h
Command line printer manipulation client, and build goo.
[moira.git] / dbck / dbck.h
index 51eb68aced4e0d4807cc2023ede2680b0d43fa4a..fdb7c75a285c8154be7a83beb288e859fc8b277c 100644 (file)
@@ -19,8 +19,9 @@
 extern int debug, mode, fast, dcmenable, warn;
 extern struct hash *users, *machines, *clusters, *lists, *printservers;
 extern struct hash *filesys, *nfsphys, *strings, *subnets, *string_dups;
+extern struct hash *containers;
 
-#define MAX_ID_VALUE 32765
+#define MAX_ID_VALUE 131072
 #define MIN_ID_VALUE 100
 
 #define dprintf if (debug) printf
@@ -37,6 +38,8 @@ struct user {
   int fmodby;
   int pmodby;
   int sigwho;
+  char sponsor_type;
+  int sponsor_id;
 };
 
 struct machine {
@@ -98,9 +101,9 @@ struct nfsphys {
   char dir[NFSPHYS_DIR_SIZE];
   int mach_id;
   int nfsphys_id;
-  int allocated;
+  unsigned long long allocated;
   int modby;
-  int count;
+  unsigned long long count;
 };
 
 struct printserver {
@@ -112,6 +115,17 @@ struct printserver {
   int modby;
 };
 
+struct container {
+  char name[CONTAINERS_NAME_SIZE];
+  int cnt_id;
+  int list_id;
+  char acl_type;
+  int acl_id;
+  char memacl_type;
+  int memacl_id;
+  int modby;
+};
+
 void dbmserr(void);
 void out_of_mem(char *msg);
 void cleanup(void);
This page took 0.06219 seconds and 4 git commands to generate.