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