Commit c3ea8ac5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Handle read_range_list.

parent ad920cf3
#
# $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.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# 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 {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n call-switch.awk and fncdef.txt */\n");
......@@ -81,6 +81,8 @@ $1 != "#" && $1 != "" {
printf("&client->num_list" );
else if ( $i == "pers_flags" )
printf("client->pers_flags");
else if ( $i == "read_range_list" )
printf("&client->read_range_list");
else
printf("\n#error in file server/fncdef.txt\n");
}
......
#
# $Id: prot-a-parse-arg-c.awk,v 0.24 1999/05/24 09:34:32 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.25 2002/11/15 17:15:00 ceder Exp $
# Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: prot-a-parse-arg-c.awk,v 0.24 1999/05/24 09:34:32 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.25 2002/11/15 17:15:00 ceder Exp $
BEGIN {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n");
......@@ -153,6 +153,9 @@ $1 != "#" && $1 != "" {
$(++i));
else if ( $i == "pers_flags" )
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
printf("#error in prot-a-parse-arg-c.awk: not ready yet.\n");
......
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