prot-a-output.h 5.58 KB
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
/*
2
 * $Id: prot-a-output.h,v 0.31 2003/07/24 22:04:58 ceder Exp $
3
 * Copyright (C) 1991-1992, 1994-1999, 2002  Lysator Academic Computer Association.
Linus Tolke's avatar
Linus Tolke committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 *
 * 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. 
 */
/*
26
 * $Id: prot-a-output.h,v 0.31 2003/07/24 22:04:58 ceder Exp $
Per Cederqvist's avatar
Per Cederqvist committed
27
28
 *
 */
Per Cederqvist's avatar
Per Cederqvist committed
29
extern void
30
31
32
33
prot_a_output_ul(Connection *fp,
		 unsigned long ul);

extern void
Per Cederqvist's avatar
Per Cederqvist committed
34
35
36
prot_a_output_person(Connection *fp,
		     Person *person);

37
38
39
40
extern void
prot_a_output_person_old(Connection *fp,
                         Person *person);

Per Cederqvist's avatar
Per Cederqvist committed
41

42
43
44
45
extern void
prot_a_output_membership(Connection *fp,
			 const Membership *mship);

Per Cederqvist's avatar
Per Cederqvist committed
46
extern void
47
48
prot_a_output_membership_10(Connection *fp,
			    const Membership *mship);
Per Cederqvist's avatar
Per Cederqvist committed
49

50
51
52
53
extern void
prot_a_output_membership_old(Connection *fp,
                             const Membership *mship);

54
55
56
57
extern void
prot_a_output_membership_list(Connection *fp,
			      Membership_list mlist);

Per Cederqvist's avatar
Per Cederqvist committed
58
extern void
59
60
prot_a_output_membership_list_10(Connection *fp,
				 Membership_list mlist);
Per Cederqvist's avatar
Per Cederqvist committed
61

62
63
64
65
66
67
68
69
extern void
prot_a_output_membership_list_old(Connection *fp,
                                  Membership_list mlist);

extern void
prot_a_output_membership_type(Connection *fp,
                              const Membership_type type);

Per Cederqvist's avatar
Per Cederqvist committed
70
71
72
73
74
75
76
77
78
79
80
81
extern void
prot_a_output_conf_list(Connection *fp,
			Conf_list_old conf_list);

extern void
prot_a_output_conf_no_list(Connection *fp,
			   Conf_no_list conf_no_list);

extern void
prot_a_output_conference(Connection *fp,
			 Conference *conf_c);

82
83
84
85
extern void
prot_a_output_conference_old(Connection *fp,
                             Conference *conf_c);

86
87
88
89
extern void
prot_a_output_uconference(Connection *fp,
			  Small_conf *conf_c);

Per Cederqvist's avatar
Per Cederqvist committed
90
91
92
93
extern void
prot_a_output_mark_list(Connection *fp,
			Mark_list mark_list);

94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
extern void
prot_a_output_aux_item_flags(Connection *fp,
                             Aux_item_flags flags);

extern void
prot_a_output_aux_item(Connection *fp,
                       Aux_item *item);

extern void
prot_a_output_aux_item_list(Connection *fp,
                            Aux_item_list *aux);

extern void
prot_a_output_text_stat_old(Connection *fp,
                            Text_stat *t_stat);

Per Cederqvist's avatar
Per Cederqvist committed
110
111
112
113
114
115
116
117
extern void
prot_a_output_text_stat(Connection *fp,
			Text_stat *t_stat);

extern void
prot_a_output_info(Connection *fp,
		   Info *info);

118
119
120
121
extern void
prot_a_output_info_old(Connection *fp,
                       Info *info);

Per Cederqvist's avatar
Per Cederqvist committed
122
void
Per Cederqvist's avatar
Per Cederqvist committed
123
124
125
126
127
128
129
130
prot_a_output_who_info(Connection *fp,
		       Who_info *info);

extern void
prot_a_output_who_info_list(Connection *fp,
			    Who_info_list info);

extern void
131
prot_a_output_who_info_ident_list(Connection *fp,
Per Cederqvist's avatar
Per Cederqvist committed
132
133
				  Who_info_ident_list info);

134
extern void
Per Cederqvist's avatar
Per Cederqvist committed
135
136
137
138
139
140
141
prot_a_output_who_info_list_old(Connection *fp,
				Who_info_list_old info);

void
prot_a_output_session_info(Connection *fp,
			   Session_info *info);

142
143
void
prot_a_output_session_info_ident(Connection *fp,
Per Cederqvist's avatar
Per Cederqvist committed
144
				 Session_info_ident *info);
145

Per Cederqvist's avatar
Per Cederqvist committed
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
extern void
prot_a_output_string(Connection *fp,
		     String str);

extern void
prot_a_output_priv_bits(Connection *fp,
			Priv_bits bits);

extern void
prot_a_output_personal_flags(Connection *fp,
			     Personal_flags flags);


extern void
prot_a_output_conf_type(Connection *fp,
			Conf_type type);

163
164
165
166
extern void
prot_a_output_extended_conf_type(Connection *fp,
				 Conf_type type);

Per Cederqvist's avatar
Per Cederqvist committed
167
168
169
170
extern void
prot_a_output_member_list(Connection *fp,
			  Member_list m_list);

171
172
173
174
extern void
prot_a_output_member_list_old(Connection *fp,
                              Member_list m_list);

Per Cederqvist's avatar
Per Cederqvist committed
175
176
177
178
179
180
181
182
183
184
185
186
extern void
prot_a_output_mark(Connection *fp,
		   Mark mark);

extern void
prot_a_output_misc_info(Connection *fp, 
			Misc_info misc);

extern void
prot_a_output_member(Connection *fp,
		     Member member);

187
188
189
190
extern void
prot_a_output_member_old(Connection *fp,
                         Member member);

Per Cederqvist's avatar
Per Cederqvist committed
191
192
void
prot_a_output_time(Connection *fp,
193
		   time_t clk);
Per Cederqvist's avatar
Per Cederqvist committed
194
195
196
197
198

void
prot_a_output_session_no(Connection *fp,
			 Session_no session_no);

199
200
201
void
prot_a_output_text_no(Connection *fp,
		      Text_no text);
202
203
204
205
206
207
208
209

void
prot_a_output_conf_z_info_list(Connection *fp,
			       Conf_z_info_list c_list);

void
prot_a_output_version_info (Connection  *fp,
			    Version_info *v_info);
210
211
212
213

void
prot_a_output_num_list (Connection *fp,
                        Number_list *num_list);
214
215
216
217
218
219
220
221

void
prot_a_output_static_session_info (Connection *fp,
				   Static_session_info *info);

void
prot_a_output_dynamic_session_info_list (Connection *fp,
					 Dynamic_session_info_list *list);
222
223
void
prot_a_output_l2g_iterator_as_text_list(Connection *fp,
224
					L2g_iterator *list);
225
226
227
228

void
prot_a_output_text_mapping(Connection *fp,
			   Text_mapping *result);
229

230
231
232
233
void
prot_a_output_stats_description(Connection *fp,
				Stats_description *result);

234
235
236
void
prot_a_output_stats_list(Connection *fp,
			 const Stats_list *result);
237
238
239
240
241
242

#ifdef DEBUG_CALLS
void
prot_a_output_memory_info(Connection *fp,
                          Memory_info *result);
#endif