]>
Commit | Line | Data |
---|---|---|
a3cf6921 | 1 | /* |
2 | * $Source$ | |
3 | * $Author$ | |
4 | * $Header$ | |
5 | * | |
6 | * Copyright (C) 1987 by the Massachusetts Institute of Technology | |
7 | * | |
8 | * Global variables inside the SMS server. | |
9 | * | |
10 | * $Log$ | |
a7aaa15b | 11 | * Revision 1.3 1987-06-30 20:03:15 wesommer |
12 | * Added local realm global variable. | |
a3cf6921 | 13 | * |
a7aaa15b | 14 | * Revision 1.2 87/06/21 16:42:16 wesommer |
15 | * Performance work, rearrangement of include files. | |
16 | * | |
c27b3454 | 17 | * Revision 1.1 87/06/02 20:07:25 wesommer |
18 | * Initial revision | |
19 | * | |
a3cf6921 | 20 | */ |
21 | ||
22 | #ifndef lint | |
23 | static char *rcsid_sms_srvdata_c = "$Header$"; | |
24 | #endif lint | |
25 | ||
a3cf6921 | 26 | #include "sms_server.h" |
27 | ||
28 | /* | |
29 | * Connections & clients: | |
30 | * | |
31 | * The template and most recently connected connection: | |
32 | */ | |
33 | CONNECTION listencon, newconn; | |
34 | /* | |
35 | * The template listen operation. | |
36 | */ | |
37 | OPERATION listenop; | |
38 | /* | |
39 | * The list of operations corresponding to the I/O being done by the | |
40 | * currently connected clients. | |
41 | */ | |
42 | LIST_OF_OPERATIONS op_list; | |
43 | /* | |
44 | * The current number of connected clients, an array of them, and the | |
45 | * "current" client, if any. | |
46 | */ | |
47 | int nclients=0; | |
48 | client **clients, *cur_client; | |
49 | /* | |
50 | * Socket address of the most recently connected client. | |
51 | */ | |
52 | struct sockaddr_in client_addr; | |
53 | int client_addrlen; | |
54 | /* | |
55 | * Additional data sent at connect time by the client | |
56 | * (provided by GDB; ignored by SMS) | |
57 | */ | |
58 | TUPLE client_tuple; | |
59 | ||
60 | /* | |
61 | * Name server was invoked as. | |
62 | */ | |
63 | char *whoami; | |
64 | /* | |
65 | * Buffer for use in error messages. | |
66 | */ | |
67 | char buf1[BUFSIZ]; | |
68 | ||
69 | /* | |
70 | * If non-null, reason for shutdown. (SMS will be going down shortly | |
71 | * if this is non-null) | |
72 | */ | |
73 | char *takedown=NULL; | |
a7aaa15b | 74 | |
75 | /* | |
76 | * The name of the local Kerberos realm | |
77 | */ | |
78 | ||
79 | char *krb_realm = NULL; |