]> andersk Git - moira.git/blame - server/mr_srvdata.c
Added local realm global variable.
[moira.git] / server / mr_srvdata.c
CommitLineData
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
23static 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 */
33CONNECTION listencon, newconn;
34/*
35 * The template listen operation.
36 */
37OPERATION listenop;
38/*
39 * The list of operations corresponding to the I/O being done by the
40 * currently connected clients.
41 */
42LIST_OF_OPERATIONS op_list;
43/*
44 * The current number of connected clients, an array of them, and the
45 * "current" client, if any.
46 */
47int nclients=0;
48client **clients, *cur_client;
49/*
50 * Socket address of the most recently connected client.
51 */
52struct sockaddr_in client_addr;
53int client_addrlen;
54/*
55 * Additional data sent at connect time by the client
56 * (provided by GDB; ignored by SMS)
57 */
58TUPLE client_tuple;
59
60/*
61 * Name server was invoked as.
62 */
63char *whoami;
64/*
65 * Buffer for use in error messages.
66 */
67char buf1[BUFSIZ];
68
69/*
70 * If non-null, reason for shutdown. (SMS will be going down shortly
71 * if this is non-null)
72 */
73char *takedown=NULL;
a7aaa15b 74
75/*
76 * The name of the local Kerberos realm
77 */
78
79char *krb_realm = NULL;
This page took 0.151729 seconds and 5 git commands to generate.