X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/4d64e1de055fae1f6ed731f4a4b6c43e6a6dfe13..8eeef30a4d024f9868cfb06df71db9ccc58bad95:/server/mr_srvdata.c diff --git a/server/mr_srvdata.c b/server/mr_srvdata.c index 0d9f1e9a..0a0ffa21 100644 --- a/server/mr_srvdata.c +++ b/server/mr_srvdata.c @@ -4,28 +4,17 @@ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology + * For copying and distribution information, please see the file + * . * * Global variables inside the SMS server. - * - * $Log$ - * Revision 1.4 1987-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$"; #endif lint +#include #include "sms_server.h" /* @@ -85,3 +74,21 @@ char *krb_realm = NULL; */ 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; +