fncdef.txt 4.04 KB
Newer Older
Linus Tolke's avatar
Linus Tolke committed
1
#
2
# $Id: fncdef.txt,v 0.10 1992/12/19 00:25:35 ceder Exp $
Linus Tolke's avatar
Linus Tolke committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (C) 1991  Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
# 
# LysKOM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by 
# the Free Software Foundation; either version 1, or (at your option) 
# any later version.
# 
# LysKOM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
# 
# You should have received a copy of the GNU General Public License
# along with LysKOM; see the file COPYING.  If not, write to
# Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
# or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, 
# MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se. 
#
25
# $Id: fncdef.txt,v 0.10 1992/12/19 00:25:35 ceder Exp $
Per Cederqvist's avatar
Per Cederqvist committed
26
# 
Per Cederqvist's avatar
Per Cederqvist committed
27
28
29
30
31
32
33
34
35
36
37
# This file is used to describe the functions in services.c. All
# functions that are reachable from the clients are listed here, together
# with their argument and return types.
#
# NEVER alter any functions that have been in use for a while! Add 
# new/modified functions last on this list!
#
# Functions that are reachable when using protocal A:
#
# (Functions whose name end in _old are obsolete and should not be used.)
#
38
success login_old 	 num c_string (PWD_LEN)
Per Cederqvist's avatar
Per Cederqvist committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
success logout	    
success pepsi	 	 num
success change_name 	 num c_string (CONF_NAME_LEN)
success change_what_i_am_doing string (WHAT_DO_LEN)
number create_person 	 c_string (CONF_NAME_LEN) c_string (PWD_LEN)
success get_person_stat_old num num : person
success set_priv_bits 	 num priv_bits
success set_passwd 	 num c_string (PWD_LEN) c_string (PWD_LEN)
success query_read_texts num num : membership
number create_conf 	 c_string (CONF_NAME_LEN) conf_type
success delete_conf 	 num
success lookup_name 	 c_string (CONF_NAME_LEN) : conf_list
success get_conf_stat_old num num : conference
success add_member 	 num num num num
success sub_member 	 num num
success set_presentation num num
success set_etc_motd 	 num num
success set_supervisor 	 num num
success set_permitted_submitters num num
success set_super_conf 	 num num
success set_conf_type 	 num conf_type
success set_garb_nice 	 num num
success get_marks 	 : mark_list
success mark_text 	 num num
success get_text 	 num num num : string
success get_text_stat 	 num : text_stat
success mark_as_read 	 num num c_local_text_no_p
Per Cederqvist's avatar
Per Cederqvist committed
66
number create_text 	 c_string (TEXT_LEN) num c_misc_info_p
Per Cederqvist's avatar
Per Cederqvist committed
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
success delete_text 	 num
success add_recipient 	 num num num
success sub_recipient 	 num num
success add_comment 	 num num
success sub_comment 	 num num
success get_map 	 num num num : text_list
success get_time	 : time_date
success get_info 	 : info
success add_footnote	 num num
success sub_footnote	 num num
success who_is_on_old	 : who_info_list_old
success set_unread	 num num
success set_motd_of_lyskom num
success enable		 num
success sync 
success shutdown	 num
success broadcast	 c_string (BROADCAST_LEN)
success get_membership	 num num num num : membership_list
success get_created_texts num num num : text_list
success get_members	 num num num : member_list
success get_person_stat  num : person
success get_conf_stat	 num : conference
success who_is_on	 : who_info_list
success get_unread_confs num : conf_no_list
success send_message	 num c_string (BROADCAST_LEN)
success get_session_info num : session_info
success disconnect	 num
success who_am_i	 : session_no
Per Cederqvist's avatar
Per Cederqvist committed
95
success set_user_area	 num num
Linus Tolke's avatar
Linus Tolke committed
96
success get_last_text	 time_date : text_no
Per Cederqvist's avatar
Per Cederqvist committed
97
number create_anonymous_text  c_string (TEXT_LEN) num c_misc_info_p
98
99
success find_next_text_no num : text_no
success find_previous_text_no num : text_no
100
101
102
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
103
104
success re_lookup_person c_string (REGEXP_LEN) : conf_no_list
success re_lookup_conf   c_string (REGEXP_LEN) : conf_no_list