]> andersk Git - moira.git/commitdiff
dcm.h is no longer used
authordanw <danw>
Fri, 5 Sep 1997 20:15:23 +0000 (20:15 +0000)
committerdanw <danw>
Fri, 5 Sep 1997 20:15:23 +0000 (20:15 +0000)
include/Imakefile
include/dcm.h [deleted file]

index 7f24b6db439d464c1e0c6586e3a1f75bf102a5fa..ec41c78956509608e9c8d60d5b470029df79801a 100644 (file)
@@ -8,7 +8,7 @@
 # Imakefile for include.
 #
 
-CODE=Imakefile dcm.h gdb.h mit-copyright.h \
+CODE=Imakefile gdb.h mit-copyright.h \
        moira.h moira_site.h mr_proto.h update.h ureg_proto.h
 SRCDIR=$(SRCTOP)/include
 
diff --git a/include/dcm.h b/include/dcm.h
deleted file mode 100644 (file)
index 6bce2a3..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- *     $Source$
- *     $Header$
- */
-
-#define UPCALL_CONT    0
-#define UPCALL_STOP    1
-
-#define HARD_FAIL(x)   (((x) != 0 ) && ((x) != MR_NO_CHANGE))
-#define SOFT_FAIL(x)   (((x) == MR_NO_MEM) || ((x) == MR_CANT_CONNECT) || ((x) == MR_CCONFIG) || ((x) == MR_DEADLOCK) || ((x) == MR_BUSY))
-
-
-#define DEADLOCK_WAIT  (3 * 60)        /* number of seconds to wait after
-                                          a deadlock before trying again. */
-#define DEADLOCK_TRIES 40              /* how many times to try (2 hours) */
-
-#define UMASK          0007
-
-extern char *whoami;
-
-#define DBG_PLAIN      01
-#define DBG_VERBOSE    02
-#define DBG_TRACE      04
-
-#define     strrel(s,op,t)      (strcmp((s), (t)) op 0)
-#define     strnrel(s,op,t,n)     (strncmp((s), (t), (n)) op 0)
-
-#define streq(a,b) (strcmp(a,b) == 0)
-       
-#ifndef BUFSIZ
-#define BUFSIZ 1024
-#endif
-#ifndef NULL
-#define NULL (char *) 0
-#endif
-
-/* globals */
-extern int dbg;                        /* utils.c: set by main() */
-
-#define CHECK_UPCALL_ARGS(num, upcall_name)\
-  if (argc != num) {\
-      fprintf(stderr, "%s upcall with %d arguments instead of %d\n",\
-             upcall_name, argc, num);\
-      return UPCALL_STOP;\
-  }
-
-
-struct service {
-    char *service;
-    int interval;
-    char *target;
-    char *script;
-    int dfgen;
-    int dfcheck;
-    char *type;
-    int enable;
-    int inprogress;
-    int harderror;
-    char *errmsg;
-};
-
-struct svrhost {
-    char *service;
-    char *machine;
-    int enable;
-    int override;
-    int success;
-    int inprogress;
-    int hosterror;
-    char *errmsg;
-    int lasttry;
-    int lastsuccess;
-    int value1;
-    int value2;
-    char *value3;
-};
-
-
-/*--> utils.c <--*/
-extern void init_mr();
-extern void dcm_com_err_hook();
-extern void leave();
-extern void scream();
-extern char *strsave();
-extern long file_last_mod_time();
-extern long current_time();
-extern char *itoa();
-#define file_exists(file) (access((file), F_OK) == 0)
-
-/*--> update.c <--*/
-extern void perform_update();
-extern int maybe_lock_update();
-extern void unlock();
This page took 0.039917 seconds and 5 git commands to generate.