Commit b85cf259 authored by Per Cederqvist's avatar Per Cederqvist

Renamed login() to login_old().

Added login(), get_session_info_ident() and who_is_on_ident().
parent 0e00229c
Wed Apr 1 22:01:25 1992 Per Cederqvist (ceder@lysator)
* services.h (login, get_session_info_ident, who_is_on_ident): New
functions.
* services.h (login_old): New name for login().
Tue Oct 29 06:11:40 1991 Per Cederqvist (ceder at lysator)
* config.h (PROTECTED_FDS): 8 was not enough. Use 12.
......
/*
* $Id: services.h,v 0.7 1991/12/17 23:07:32 ceder Exp $
* $Id: services.h,v 0.8 1992/04/01 20:46:05 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -67,9 +67,14 @@ KOM_( set_storage_management (malloc_function new_malloc,
#endif
extern Success
KOM_( login_old (Pers_no person,
const String passwd ));
extern Success
KOM_( login (Pers_no person,
const String passwd ));
const String passwd,
Bool invisible));
extern Success
KOM_( logout (void)); /* can never fail */
......@@ -94,6 +99,10 @@ extern Success
KOM_( get_session_info (Session_no session_no,
Session_info *result) );
extern Success
KOM_( get_session_info_ident (Session_no session_no,
Session_info_ident *result) );
/*
* Disconnect a session. You can disconnect your own session (even if
* you are not logged in) and any session where you are supervisor of
......@@ -421,6 +430,8 @@ KOM_( who_is_on_old (Who_info_list_old * result ));
extern Success
KOM_( who_is_on (Who_info_list * result ));
extern Success
KOM_( who_is_on_ident (Who_info_ident_list *result));
/*
* Return various information about the server
......
#
# $Id: fncdef.txt,v 0.8 1991/12/17 23:07:42 ceder Exp $
# $Id: fncdef.txt,v 0.9 1992/04/01 20:46:37 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: fncdef.txt,v 0.8 1991/12/17 23:07:42 ceder Exp $
# $Id: fncdef.txt,v 0.9 1992/04/01 20:46:37 ceder Exp $
#
# This file is used to describe the functions in services.c. All
# functions that are reachable from the clients are listed here, together
......@@ -35,7 +35,7 @@
#
# (Functions whose name end in _old are obsolete and should not be used.)
#
success login num c_string (PWD_LEN)
success login_old num c_string (PWD_LEN)
success logout
success pepsi num
success change_name num c_string (CONF_NAME_LEN)
......@@ -97,3 +97,6 @@ success get_last_text time_date : text_no
number create_anonymous_text c_string (TEXT_LEN) num c_misc_info_p
success find_next_text_no num : text_no
success find_previous_text_no num : text_no
success login num c_string (PWD_LEN) num
success who_is_on_ident : who_info_ident_list
success get_session_info_ident num : session_info_ident
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