Commit a6b286b1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(re_z_lookup, get_version_info): New functions.

(send_message): The recipient is now a Conf_no, not necessarily a Pers_no.
parent fa55ac9f
/*
* $Id: services.h,v 0.18 1994/04/05 07:53:22 ceder Exp $
* $Id: services.h,v 0.19 1994/12/31 11:44:00 ceder Exp $
* Copyright (C) 1991, 1992, 1993 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -247,6 +247,12 @@ extern Success
KOM_( re_lookup_conf (const String regexp,
Conf_no_list *result));
extern Success
KOM_( re_z_lookup (const String regexp,
int want_persons,
int want_confs,
Conf_z_info_list *result));
extern Success
KOM_( get_conf_stat_old (Conf_no conf_no,
int mask,
......@@ -477,6 +483,9 @@ KOM_( who_is_on_ident (Who_info_ident_list *result));
extern Success
KOM_( get_info (Info *result ));
extern Success
KOM_( get_version_info (Version_info *result ));
/*
* Wait for asynchronous message from client, or input on any of
* the file-descriptors in opt_set. Returns FAILURE if nothing
......@@ -540,8 +549,8 @@ extern Success
KOM_( shutdown_kom (int exit_val) );
/*
* Send a message to all clients. This is obsoleted by send_message()
* and will soon go away.
* Send a message to all clients. This is obsoleted by send_message(),
* but will remain for compatibility reasons.
*/
extern Success
KOM_( broadcast (const String message) );
......@@ -551,7 +560,7 @@ KOM_( broadcast (const String message) );
* connections will receive the message.
*/
extern Success
KOM_( send_message (Pers_no recipient,
KOM_( send_message (Conf_no recipient,
const String message) );
......
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