Commit 29a2ff94 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Connection): Removed field last_request. Added field active_time.

(Res_type): New values: rt_dynamic_session_info_list,
	rt_static_session_info.
(Result_holder): New fields: dynamic_session_info_list, static_session_info.
parent cd0779a8
/*
* $Id: connections.h,v 0.25 1996/07/28 15:17:36 ceder Exp $
* $Id: connections.h,v 0.26 1996/08/01 23:59:24 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 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.25 1996/07/28 15:17:36 ceder Exp $
* $Id: connections.h,v 0.26 1996/08/01 23:59:24 ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
......@@ -108,8 +108,8 @@ typedef struct connection {
String_size first_to_parse; /* Index into unparsed. */
Bool more_to_parse; /* Any chance that there is anything
left in unparsed? */
time_t last_request; /* Set every time a packet is
received from the client. */
time_t active_time; /* Set every time the client sends
user_active. */
Session_no session_no; /* A unique number. */
} Connection;
......@@ -167,7 +167,9 @@ typedef enum {
rt_conf_z_info_list,
rt_version_info,
rt_uconference,
rt_num_list
rt_num_list,
rt_dynamic_session_info_list,
rt_static_session_info
} Res_type;
/*
......@@ -205,6 +207,8 @@ typedef union {
Version_info version_info;
Small_conf uconference;
Number_list num_list;
Dynamic_session_info_list dynamic_session_info_list;
Static_session_info static_session_info;
} Result_holder;
......
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