]> andersk Git - moira.git/blobdiff - dbck/dbck.h
Implement support for sanity checking container information.
[moira.git] / dbck / dbck.h
index 51eb68aced4e0d4807cc2023ede2680b0d43fa4a..a7ac2e01cd5415a53108b8047db713403b69146e 100644 (file)
@@ -19,6 +19,7 @@
 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 MIN_ID_VALUE 100
@@ -112,6 +113,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.030163 seconds and 4 git commands to generate.