diff --git a/src/include/ChangeLog b/src/include/ChangeLog index c95aeb71c41704c7e9d5fc0aaff8ba3198419f00..81af12e14bff7a10e858855342ee2df8358f4a89 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/src/include/services.h b/src/include/services.h index d4fcf1496ec40192158a9ca090186733d1e6a1ac..900c39e84a036b2156c14d706129342e232d3768 100644 --- a/src/include/services.h +++ b/src/include/services.h @@ -1,5 +1,5 @@ /* - * $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 diff --git a/src/server/fncdef.txt b/src/server/fncdef.txt index d4daa0332a04d7d2a35943807ad9ebbb35bec78d..c1116858d81b000cbc58ef9fea45eed1568f8fdc 100644 --- a/src/server/fncdef.txt +++ b/src/server/fncdef.txt @@ -1,5 +1,5 @@ # -# $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