6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
8 * Global variables inside the SMS server.
11 * Revision 1.5 1987-07-29 16:03:15 wesommer
12 * Added "now" variable.
15 * Revision 1.4 87/07/14 00:38:14 wesommer
16 * Added log_flags global variable.
18 * Revision 1.3 87/06/30 20:03:15 wesommer
19 * Added local realm global variable.
21 * Revision 1.2 87/06/21 16:42:16 wesommer
22 * Performance work, rearrangement of include files.
24 * Revision 1.1 87/06/02 20:07:25 wesommer
30 static char *rcsid_sms_srvdata_c = "$Header$";
33 #include "sms_server.h"
36 * Connections & clients:
38 * The template and most recently connected connection:
40 CONNECTION listencon, newconn;
42 * The template listen operation.
46 * The list of operations corresponding to the I/O being done by the
47 * currently connected clients.
49 LIST_OF_OPERATIONS op_list;
51 * The current number of connected clients, an array of them, and the
52 * "current" client, if any.
55 client **clients, *cur_client;
57 * Socket address of the most recently connected client.
59 struct sockaddr_in client_addr;
62 * Additional data sent at connect time by the client
63 * (provided by GDB; ignored by SMS)
68 * Name server was invoked as.
72 * Buffer for use in error messages.
77 * If non-null, reason for shutdown. (SMS will be going down shortly
78 * if this is non-null)
83 * The name of the local Kerberos realm
86 char *krb_realm = NULL;
91 int log_flags = LOG_CONNECT|LOG_REQUESTS|LOG_ARGS|LOG_RES;
94 * Time of last time through main loop.