]> andersk Git - moira.git/blobdiff - dbck/dbck.h
DBMS=ORACLE
[moira.git] / dbck / dbck.h
index 7192d0a3821f599f5891492e0ff150384e13ffa6..252fbccfc21264f75a2cdeec5d74a800e8f4b488 100644 (file)
@@ -1,23 +1,25 @@
 /* $Header$
  *
- * Declarations for SMS database consistancy checker
+ * Declarations for Moira database consistancy checker
  *
  *  (c) Copyright 1988 by the Massachusetts Institute of Technology.
  *  For copying and distribution information, please see the file
  *  <mit-copyright.h>.
  */
 
-#include <sms_app.h>
+#include <moira_site.h>
 #include <mit-copyright.h>
 
+#define NULL 0
+
 #define MODE_ASK 1
 #define MODE_NO 2
 #define MODE_PREEN 3
 #define MODE_YES 4
 
-extern int debug, mode, fast, dcmenable;
+extern int debug, mode, fast, dcmenable, warn;
 extern struct hash *users, *machines, *clusters, *lists;
-extern struct hash *filesys, *nfsphys, *strings;
+extern struct hash *filesys, *nfsphys, *strings, *subnets, *string_dups;
 
 #define MAX_ID_VALUE 32765
 #define MIN_ID_VALUE 100
@@ -25,23 +27,44 @@ extern struct hash *filesys, *nfsphys, *strings;
 #define dprintf                if (debug) printf
 
 struct user {
-    char login[9];
-    char potype;
-    char *fullname;
-    int status;
-    int users_id;
-    int pobox_id;
+  char login[9];
+  char potype;
+  char *fullname;
+  int status;
+  int users_id;
+  int pobox_id;
+  int comment;
+  int modby;
+  int fmodby;
+  int pmodby;
+  int sigwho;
 };
 
 struct machine {
-    char name[33];
-    int mach_id;
-    int clucount;
+  char name[33];
+  char owner_type;
+  int owner_id;
+  int snet_id;
+  int mach_id;
+  int clucount;
+  int acomment;
+  int ocomment;
+  int creator;
+  int modby;
+};
+
+struct subnet {
+  char name[33];
+  char owner_type;
+  int owner_id;
+  int snet_id;
+  int modby;
 };
 
 struct cluster {
     char name[33];
     int clu_id;
+    int modby;
 };
 
 struct list {
@@ -60,7 +83,7 @@ struct string {
 
 struct filesys {
     char name[33];
-    char dir[33];
+    char dir[81];
     char type;
     int filsys_id;
     int mach_id;
This page took 0.264337 seconds and 4 git commands to generate.