]> andersk Git - moira.git/blobdiff - server/mr_srvdata.c
had to change the get alias validate thing to use the access hook
[moira.git] / server / mr_srvdata.c
index c8e7fef95e93ac242c1aee3d2d3d06ec90a81da7..0118d46a0e41fac2968a6bbeab718ee1340f526c 100644 (file)
@@ -4,36 +4,18 @@
  *     $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.6  1988-06-30 12:38:46  mar
- *     added variables to count queries by version, and  journal file
- *
- * Revision 1.5  87/07/29  16:03:15  wesommer
- * Added "now" variable.
- * ,
- * 
- * Revision 1.4  87/07/14  00:38:14  wesommer
- * Added log_flags global variable.
- * 
- * Revision 1.3  87/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$";
+static char *rcsid_mr_srvdata_c = "$Header$";
 #endif lint
 
-#include "sms_server.h"
+#include <mit-copyright.h>
+#include "mr_server.h"
 
 /*
  * Connections & clients:
@@ -63,7 +45,7 @@ struct sockaddr_in client_addr;
 int client_addrlen;
 /*
  * Additional data sent at connect time by the client
- * (provided by GDB; ignored by SMS)
+ * (provided by GDB; ignored by Moira)
  */
 TUPLE client_tuple;
 
@@ -77,11 +59,14 @@ char *whoami;
 char buf1[BUFSIZ];
 
 /*
- * If non-null, reason for shutdown.  (SMS will be going down shortly
+ * If non-null, reason for shutdown.  (Moira will be going down shortly
  * if this is non-null)
  */
 char *takedown=NULL;
 
+/* States for putting the server to sleep & waking it up again. */
+int dormant = AWAKE;
+
 /*
  * The name of the local Kerberos realm
  */
This page took 0.09011 seconds and 4 git commands to generate.