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