Commit 4a50fba5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_reply): Handle rt_dynamic_session_info_list and rt_static_session_info.

(prot_a_is_legal_fnc): Added user_active, who_is_on_dynamic and
	get_static_session_info.
parent 23a9f9bf
/*
* $Id: prot-a.c,v 0.40 1996/08/01 18:32:26 ceder Exp $
* $Id: prot-a.c,v 0.41 1996/08/02 00:06:38 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -26,7 +26,7 @@
* Protocol A.
*/
static char *rcsid = "$Id: prot-a.c,v 0.40 1996/08/01 18:32:26 ceder Exp $";
static char *rcsid = "$Id: prot-a.c,v 0.41 1996/08/02 00:06:38 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -214,6 +214,18 @@ prot_a_reply(Connection *client,
prot_a_output_num_list(client, &res->num_list);
BUG(("={num_list not listed}\n"));
break;
case rt_dynamic_session_info_list:
prot_a_output_dynamic_session_info_list(
client, &res->dynamic_session_info_list);
BUG(("={dynamic_session_list not listed}\n"));
break;
case rt_static_session_info:
prot_a_output_static_session_info(client,
&res->static_session_info);
BUG(("={static_session_info not listed"));
break;
}
mux_putc('\n', client);
}
......@@ -368,6 +380,9 @@ prot_a_is_legal_fnc(Call_header fnc)
case call_fnc_set_info:
case call_fnc_accept_async:
case call_fnc_query_async:
case call_fnc_user_active:
case call_fnc_who_is_on_dynamic:
case call_fnc_get_static_session_info:
return TRUE;
default:
......
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