Skip to content
GitLab
Menu
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
9ca25697
Commit
9ca25697
authored
Aug 11, 2003
by
Per Cederqvist
Browse files
(enum res_type): Added rt_static_server_info.
(union result_holder): Added static_server_info.
parent
bd8bbd16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/connections.h
View file @
9ca25697
/*
* $Id: connections.h,v 0.6
6
2003/08/
05 09:51:33
ceder Exp $
* $Id: connections.h,v 0.6
7
2003/08/
11 22:17:27
ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: connections.h,v 0.6
6
2003/08/
05 09:51:33
ceder Exp $
* $Id: connections.h,v 0.6
7
2003/08/
11 22:17:27
ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
...
...
@@ -203,7 +203,8 @@ extern Connection * active_connection;
/*
* This enum describes the result of a function in services.c.
*/
enum
res_type
{
enum
res_type
{
rt_number
,
/* E.g. Pers_no, Conf_no, Text_no.
This is somewhat special in that the
function indicates an error by returning
...
...
@@ -249,6 +250,7 @@ enum res_type {
rt_text_mapping
,
rt_stats_description
,
rt_stats_list
,
rt_static_server_info
,
#ifdef DEBUG_CALLS
rt_memory_info
,
#endif
...
...
@@ -263,7 +265,8 @@ enum res_type {
* allocated via tmp_alloc()) it should be free()d in prot_a_reply() in
* prot-a.c.
*/
union
result_holder
{
union
result_holder
{
unsigned
long
number
;
Person
person
;
Membership
membership
;
...
...
@@ -302,6 +305,7 @@ union result_holder {
Text_mapping
text_mapping
;
Stats_description
stats_description
;
Stats_list
stats_list
;
Static_server_info
static_server_info
;
#ifdef DEBUG_CALLS
Memory_info
memory_info
;
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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