6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 * For copying and distribution information, please see the file
10 * Global variables inside the SMS server.
14 static char *rcsid_mr_srvdata_c = "$Header$";
17 #include <mit-copyright.h>
18 #include "mr_server.h"
21 * Connections & clients:
23 * The template and most recently connected connection:
25 CONNECTION listencon, newconn;
27 * The template listen operation.
31 * The list of operations corresponding to the I/O being done by the
32 * currently connected clients.
34 LIST_OF_OPERATIONS op_list;
36 * The current number of connected clients, an array of them, and the
37 * "current" client, if any.
40 client **clients, *cur_client;
42 * Socket address of the most recently connected client.
44 struct sockaddr_in client_addr;
47 * Additional data sent at connect time by the client
48 * (provided by GDB; ignored by Moira)
53 * Name server was invoked as.
57 * Buffer for use in error messages.
62 * If non-null, reason for shutdown. (Moira will be going down shortly
63 * if this is non-null)
67 /* States for putting the server to sleep & waking it up again. */
71 * The name of the local Kerberos realm
74 char *krb_realm = NULL;
79 int log_flags = LOG_CONNECT|LOG_REQUESTS|LOG_ARGS|LOG_RES;
82 * Time of last time through main loop.
88 * Statistics on number of queries of each version that have been attempted
95 /* Journalling file */