/* $Header$
*
- * SMS database consistency checker
+ * Moira database consistency checker
*
* (c) Copyright 1988 by the Massachusetts Institute of Technology.
* For copying and distribution information, please see the file
int fast = 0;
int warn = 1;
int abort = 0;
-struct hash *users, *machines, *clusters, *lists, *filesys, *nfsphys, *strings;
+struct hash *users, *machines, *clusters, *lists, *filesys, *nfsphys;
+struct hash *strings, *members;
##int dcmenable;
-struct save_queue *modtables;
+struct save_queue *modtables, *sq_create();
int interrupt();
if (debug)
printf("Debug level is %d\n", debug);
+ setlinebuf(stdout);
+
signal(SIGHUP, interrupt);
signal(SIGQUIT, interrupt);
signal(SIGINT, interrupt);
## replace values (value = dcmenable) where values.name = "dcm_enable"
## exit
##}
+
+
+out_of_mem(msg)
+char *msg;
+{
+ fprintf(stderr, "Out of memory while %s\n", msg);
+## end transaction
+ cleanup();
+ exit(1);
+}