Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -85,10 +85,6 @@ typedef struct connection { ...@@ -85,10 +85,6 @@ typedef struct connection {
*/ */
extern struct isc_mcb *kom_server_mcb; 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 * 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 * call. This is set by connectins.c whenever a complete message is parsed
...@@ -101,31 +97,31 @@ Connection * active_connection; ...@@ -101,31 +97,31 @@ Connection * active_connection;
* This enum describes the result of a function in services.c. * This enum describes the result of a function in services.c.
*/ */
typedef enum { 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 This is somewhat special in that the
function indicates an error by returning function indicates an error by returning
0 and not FAILURE. */ 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 /* Functions of the following types returns a Success _and_ data
of the indicated type. The corresponding types are found in of the indicated type. The corresponding types are found in
kom-types.h */ kom-types.h */
person, rt_person,
membership, rt_membership,
conf_list, rt_conf_list,
conf_no_list, rt_conf_no_list,
conference, rt_conference,
string, rt_string,
mark_list, rt_mark_list,
text_stat, rt_text_stat,
text_list, rt_text_list,
who_info_list, rt_who_info_list,
who_info_list_old, rt_who_info_list_old,
info, rt_info,
membership_list, rt_membership_list,
member_list, rt_member_list,
time_date, rt_time_date,
session_info, rt_session_info,
session_no rt_session_no
} Res_type; } Res_type;
/* /*
...@@ -177,3 +173,6 @@ toploop(void); ...@@ -177,3 +173,6 @@ toploop(void);
extern void extern void
dump_statistics(void); dump_statistics(void);
extern void
logout_all_clients(void);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment