Commit 96cd55c1 authored by David Byers's avatar David Byers
Browse files

(Connection): Added fields want_async and num_list.

(Res_type): Added rt_num_list.
(Result_holder): Added num_list.
parent 938727d4
/*
* $Id: connections.h,v 0.20 1996/06/09 13:54:17 byers Exp $
* $Id: connections.h,v 0.21 1996/06/14 15:48:27 byers Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,14 +23,16 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: connections.h,v 0.20 1996/06/09 13:54:17 byers Exp $
* $Id: connections.h,v 0.21 1996/06/14 15:48:27 byers Exp $
*
* connections.h -- The top level of the communication packet.
*
* Requires kom-types.h, com.h
* Requires kom-types.h, com.h, async.h
*/
#include "async.h"
extern volatile Bool go_and_die; /* Set this to TRUE to kill the server. */
extern volatile Bool do_sync_db; /* Set this to TRUE to force a sync via
signal. */
......@@ -61,7 +63,8 @@ typedef struct connection {
String client_version;
Bool invisible; /* Is this session invisible? */
Bool username_valid; /* Set once username is set. */
int want_async[ay_dummy_last]; /* Async messages to get */
/* The following are used by server/connections.c */
struct mux *mux;
......@@ -78,7 +81,8 @@ typedef struct connection {
Call_header function; /* Function to call. */
/* Gather data in these variables. */
Number_list num_list;
long num0;
long num1;
long num2;
......@@ -162,6 +166,7 @@ typedef enum {
rt_conf_z_info_list,
rt_version_info,
rt_uconference,
rt_num_list
} Res_type;
/*
......@@ -198,6 +203,7 @@ typedef union {
Conf_z_info_list conf_z_info_list;
Version_info version_info;
Small_conf uconference;
Number_list num_list;
} Result_holder;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment