Commit 6f43fef3 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Changed the tags in Res_type by appending the prefix rt_.

Added logout_all_clients().
parent 7ad30691
......@@ -85,10 +85,6 @@ typedef struct connection {
*/
extern struct isc_mcb *kom_server_mcb;
#if 0
extern Connection *all_connections;
#endif
/*
* active_connection points to the info about the client who initiated this
* call. This is set by connectins.c whenever a complete message is parsed
......@@ -101,31 +97,31 @@ Connection * active_connection;
* This enum describes the result of a function in services.c.
*/
typedef enum {
number, /* E.g. Pers_no, Conf_no, Text_no, time_t.
rt_number, /* E.g. Pers_no, Conf_no, Text_no, time_t.
This is somewhat special in that the
function indicates an error by returning
0 and not FAILURE. */
success, /* Only return a Success. */
rt_success, /* Only return a Success. */
/* Functions of the following types returns a Success _and_ data
of the indicated type. The corresponding types are found in
kom-types.h */
person,
membership,
conf_list,
conf_no_list,
conference,
string,
mark_list,
text_stat,
text_list,
who_info_list,
who_info_list_old,
info,
membership_list,
member_list,
time_date,
session_info,
session_no
rt_person,
rt_membership,
rt_conf_list,
rt_conf_no_list,
rt_conference,
rt_string,
rt_mark_list,
rt_text_stat,
rt_text_list,
rt_who_info_list,
rt_who_info_list_old,
rt_info,
rt_membership_list,
rt_member_list,
rt_time_date,
rt_session_info,
rt_session_no
} Res_type;
/*
......@@ -177,3 +173,6 @@ toploop(void);
extern void
dump_statistics(void);
extern void
logout_all_clients(void);
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