Commit 51e21fa0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Removed handling of c_local_text_no_p.

parent d57aa76e
#
# $Id: call-switch.awk,v 0.22 2003/08/16 11:29:03 ceder Exp $
# $Id: call-switch.awk,v 0.23 2003/08/20 17:40:38 ceder Exp $
# Copyright (C) 1991, 1993-1999, 2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please report bugs at http://bugzilla.lysator.liu.se/.
#
# $Id: call-switch.awk,v 0.22 2003/08/16 11:29:03 ceder Exp $
# $Id: call-switch.awk,v 0.23 2003/08/20 17:40:38 ceder Exp $
BEGIN {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n call-switch.awk and fncdef.txt */\n");
......@@ -67,8 +67,6 @@ $1 != "#" && $1 != "" {
printf("client->conf_type");
else if ( $i == "membership_type" )
printf("&client->membership_type");
else if ( $i == "c_local_text_no_p" )
printf("client->c_local_text_no_p");
else if ( $i == "aux_item_list")
printf("&client->aux_item_list");
else if ( $i == "misc_info_list")
......
#
# $Id: prot-a-parse-arg-c.awk,v 0.29 2003/08/16 11:28:58 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.30 2003/08/20 17:40:06 ceder Exp $
# Copyright (C) 1991-1994, 1996-1999, 2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please report bugs at http://bugzilla.lysator.liu.se/.
#
# $Id: prot-a-parse-arg-c.awk,v 0.29 2003/08/16 11:28:58 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.30 2003/08/20 17:40:06 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");
......@@ -87,33 +87,6 @@ $1 != "#" && $1 != "" {
printf("\tprot_a_parse_conf_type(client, &client->conf_type);\n");
else if ( $i == "membership_type" )
printf("\tprot_a_parse_membership_type(client, &client->membership_type);\n");
else if ( $i == "c_local_text_no_p" )
{
printf("\tif ( parse_nonwhite_char(client) != '{' )\n");
printf("\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n");
printf("\tif ( client->num%d > %s )\n",\
num-1, $(++i));
printf("\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n");
printf("\n");
printf("\tclient->c_local_text_no_p = ");
printf("smalloc(client->num%d\n", num-1);
printf("\t\t\t\t\t * sizeof(Local_text_no));\n\n");
printf("\tclient->array_parse_index = 0;\n");
printf("\tclient->fnc_parse_pos = %d;\n", ++pos);
printf(" case %d:\n", pos);
printf("\twhile( client->array_parse_index < ");
printf("client->num%d )\n", num-1);
printf("\t{\n");
printf("\t client->c_local_text_no_p[ client->");
printf("array_parse_index ]\n");
printf("\t\t= prot_a_parse_long(client);\n");
printf("\t ++client->array_parse_index;\n");
printf("\t}\n");
printf("\tclient->fnc_parse_pos = %d;\n", ++pos);
printf(" case %d:\n", pos);
printf("\tif ( parse_nonwhite_char(client) != '}' )\n");
printf("\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n");
}
else if ( $i == "c_misc_info_p" )
{
printf("\tif ( parse_nonwhite_char(client) != '{' )\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