]> andersk Git - moira.git/blob - server/mr_srvdata.c
Added three error codes.
[moira.git] / server / mr_srvdata.c
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$
11  *      Revision 1.2  1987-06-21 16:42:16  wesommer
12  *      Performance work, rearrangement of include files.
13  *
14  * Revision 1.1  87/06/02  20:07:25  wesommer
15  * Initial revision
16  * 
17  */
18
19 #ifndef lint
20 static char *rcsid_sms_srvdata_c = "$Header$";
21 #endif lint
22
23 #include "sms_server.h"
24
25 /*
26  * Connections & clients:
27  *
28  * The template and most recently connected connection:
29  */
30 CONNECTION listencon, newconn;
31 /*
32  * The template listen operation.
33  */
34 OPERATION listenop;
35 /*
36  * The list of operations corresponding to the I/O being done by the
37  * currently connected clients.
38  */
39 LIST_OF_OPERATIONS op_list;
40 /*
41  * The current number of connected clients, an array of them, and the
42  * "current" client, if any.
43  */
44 int nclients=0;
45 client **clients, *cur_client;
46 /*
47  * Socket address of the most recently connected client.
48  */
49 struct sockaddr_in client_addr;
50 int client_addrlen;
51 /*
52  * Additional data sent at connect time by the client
53  * (provided by GDB; ignored by SMS)
54  */
55 TUPLE client_tuple;
56
57 /*
58  * Name server was invoked as.
59  */
60 char *whoami;
61 /*
62  * Buffer for use in error messages.
63  */
64 char buf1[BUFSIZ];
65
66 /*
67  * If non-null, reason for shutdown.  (SMS will be going down shortly
68  * if this is non-null)
69  */
70 char *takedown=NULL;
This page took 0.041074 seconds and 5 git commands to generate.