]> andersk Git - moira.git/blobdiff - server/mr_srvdata.c
added passwd.sh
[moira.git] / server / mr_srvdata.c
index e6e5c5f08be41fae268c3c4e444acd9e1f74c13d..12e97b729fb3d55ef2404413e1cb1149d44dc86b 100644 (file)
@@ -4,25 +4,17 @@
  *     $Header$
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
+ *     For copying and distribution information, please see the file
+ *     <mit-copyright.h>.
  *
  *     Global variables inside the SMS server.
- * 
- *     $Log$
- *     Revision 1.3  1987-06-30 20:03:15  wesommer
- *     Added local realm global variable.
- *
- * Revision 1.2  87/06/21  16:42:16  wesommer
- * Performance work, rearrangement of include files.
- * 
- * Revision 1.1  87/06/02  20:07:25  wesommer
- * Initial revision
- * 
  */
 
 #ifndef lint
 static char *rcsid_sms_srvdata_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include "sms_server.h"
 
 /*
@@ -72,8 +64,34 @@ char buf1[BUFSIZ];
  */
 char *takedown=NULL;
 
+/* States for putting the server to sleep & waking it up again. */
+int dormant = AWAKE;
+
 /*
  * The name of the local Kerberos realm
  */
 
 char *krb_realm = NULL;
+/*
+ * Logging levels.
+ */
+
+int log_flags = LOG_CONNECT|LOG_REQUESTS|LOG_ARGS|LOG_RES;
+
+/*
+ * Time of last time through main loop.
+ */
+time_t now;
+
+
+/*
+ * Statistics on number of queries of each version that have been attempted
+ */
+
+int newqueries = 0;
+int oldqueries = 0;
+
+
+/* Journalling file */
+FILE *journal = NULL;
+
This page took 0.245221 seconds and 4 git commands to generate.