Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
96cd55c1
Commit
96cd55c1
authored
Jun 14, 1996
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/connections.h
View file @
96cd55c1
/*
* $Id: connections.h,v 0.2
0
1996/06/
09 13:54:1
7 byers Exp $
* $Id: connections.h,v 0.2
1
1996/06/
14 15:48:2
7 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.2
0
1996/06/
09 13:54:1
7 byers Exp $
* $Id: connections.h,v 0.2
1
1996/06/
14 15:48:2
7 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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment