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