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
c3ea8ac5
Commit
c3ea8ac5
authored
Nov 15, 2002
by
Per Cederqvist
Browse files
Handle read_range_list.
parent
ad920cf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/server/call-switch.awk
View file @
c3ea8ac5
#
#
# $Id: call-switch.awk,v 0.
19 1999/05/24 09:34:20
ceder Exp $
# $Id: call-switch.awk,v 0.
20 2002/11/15 17:15:37
ceder Exp $
# Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
# Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
#
#
# This file is part of the LysKOM server.
# This file is part of the LysKOM server.
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
#
# $Id: call-switch.awk,v 0.
19 1999/05/24 09:34:20
ceder Exp $
# $Id: call-switch.awk,v 0.
20 2002/11/15 17:15:37
ceder Exp $
BEGIN
{
BEGIN
{
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
" from\n call-switch.awk and fncdef.txt */\n"
);
printf
(
" from\n call-switch.awk and fncdef.txt */\n"
);
...
@@ -81,6 +81,8 @@ $1 != "#" && $1 != "" {
...
@@ -81,6 +81,8 @@ $1 != "#" && $1 != "" {
printf
(
"&client->num_list"
);
printf
(
"&client->num_list"
);
else
if
(
$i
==
"pers_flags"
)
else
if
(
$i
==
"pers_flags"
)
printf
(
"client->pers_flags"
);
printf
(
"client->pers_flags"
);
else
if
(
$i
==
"read_range_list"
)
printf
(
"&client->read_range_list"
);
else
else
printf
(
"\n#error in file server/fncdef.txt\n"
);
printf
(
"\n#error in file server/fncdef.txt\n"
);
}
}
...
...
src/server/prot-a-parse-arg-c.awk
View file @
c3ea8ac5
#
#
# $Id: prot-a-parse-arg-c.awk,v 0.2
4 1999/05/24 09:34:32
ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.2
5 2002/11/15 17:15:00
ceder Exp $
# Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
# Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
#
#
# This file is part of the LysKOM server.
# This file is part of the LysKOM server.
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
#
# $Id: prot-a-parse-arg-c.awk,v 0.2
4 1999/05/24 09:34:32
ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.2
5 2002/11/15 17:15:00
ceder Exp $
BEGIN
{
BEGIN
{
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n"
);
printf
(
" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n"
);
...
@@ -153,6 +153,9 @@ $1 != "#" && $1 != "" {
...
@@ -153,6 +153,9 @@ $1 != "#" && $1 != "" {
$
(
++
i
));
$
(
++
i
));
else
if
(
$i
==
"pers_flags"
)
else
if
(
$i
==
"pers_flags"
)
printf
(
"\tprot_a_parse_pers_flags(client, &client->pers_flags);\n"
);
printf
(
"\tprot_a_parse_pers_flags(client, &client->pers_flags);\n"
);
else
if
(
$i
==
"read_range_list"
)
printf
(
"\tprot_a_parse_read_range_list(client, "
\
"&client->read_range_list, %s);\n"
,
$
(
++
i
));
else
else
printf
(
"#error in prot-a-parse-arg-c.awk: not ready yet.\n"
);
printf
(
"#error in prot-a-parse-arg-c.awk: not ready yet.\n"
);
...
...
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