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
9267866b
Commit
9267866b
authored
Dec 28, 2001
by
Per Cederqvist
Browse files
Use ``enum call_header'' instead of ``Call_header''. (Bug 335).
parent
b4a58479
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
9267866b
2001
-
12
-
28
Per
Cederqvist
<
ceder
@
moria
>
Use
``
enum
call_header
''
instead
of
``
Call_header
''
.
(
Bug
335
).
*
src
/
server
/
connections
.
h
:
Use
``
enum
call_header
''
instead
of
``
Call_header
''
.
*
src
/
server
/
prot
-
a
.
c
:
Ditto
.
*
src
/
server
/
com
-
h
.
awk
:
Don
't create the Call_header typedef.
Use ``enum access'' instead of ``Access''. (Bug 335).
* src/server/manipulate.h: Use ``enum access'' instead of
``Access''.
...
...
src/server/connections.h
View file @
9267866b
/*
* $Id: connections.h,v 0.4
6
200
0/09/06 19:54:30
ceder Exp $
* $Id: connections.h,v 0.4
7
200
1/12/28 20:04:53
ceder Exp $
* Copyright (C) 1991-2000 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.4
6
200
0/09/06 19:54:30
ceder Exp $
* $Id: connections.h,v 0.4
7
200
1/12/28 20:04:53
ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
...
...
@@ -80,7 +80,7 @@ typedef struct connection {
int
array_hunt_depth
;
int
ref_no
;
C
all_header
function
;
/* Function to call. */
enum
c
all_header
function
;
/* Function to call. */
int
function_index
;
/* Index of function in server tables*/
/* Gather data in these variables. */
...
...
@@ -241,8 +241,8 @@ typedef union {
typedef
struct
{
C
all_header
function
;
Res_type
result
;
enum
c
all_header
function
;
Res_type
result
;
/* The function that is used to parse args for this function: */
void
(
*
parser
)(
Connection
*
client
);
}
Fnc_descriptor
;
...
...
src/server/prot-a.c
View file @
9267866b
/*
* $Id: prot-a.c,v 0.6
4
2001/1
1/04
2
1
:0
3:49
ceder Exp $
* $Id: prot-a.c,v 0.6
5
2001/1
2/28
2
0
:0
5:07
ceder Exp $
* Copyright (C) 1991-2000 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -367,7 +367,7 @@ prot_a_destruct(Connection *conn)
* Check if it is a legal function.
*/
static
int
prot_a_is_legal_fnc
(
C
all_header
fnc
)
prot_a_is_legal_fnc
(
enum
c
all_header
fnc
)
{
#include
"prot-a-is-legal-fnc.incl"
}
...
...
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