]> andersk Git - moira.git/blobdiff - dbck/dbck.h
DBMS=ORACLE
[moira.git] / dbck / dbck.h
index 0753c4ef98fe82e14391904d8ff1c2667e68790d..252fbccfc21264f75a2cdeec5d74a800e8f4b488 100644 (file)
@@ -1,13 +1,13 @@
 /* $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
@@ -19,7 +19,7 @@
 
 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
@@ -27,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 {
@@ -62,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.034465 seconds and 4 git commands to generate.