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
int fmodby;
int pmodby;
int sigwho;
+ char sponsor_type;
+ int sponsor_id;
};
struct machine {
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 {
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);