services.h 14.4 KB
Newer Older
Linus Tolke's avatar
Linus Tolke committed
1
/*
2
 * $Id: services.h,v 0.54 2002/11/13 00:41:30 ceder Exp $
Per Cederqvist's avatar
Per Cederqvist committed
3
 * Copyright (C) 1991-1999, 2001  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
 *
 * 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. 
 */
Per Cederqvist's avatar
.  
Per Cederqvist committed
25
26
27
28
/*
 *  services.h  --  All the services the LysKOM server makes available
 *		    for clients.
 *
29
30
 *  These functions match the requests defined in doc/Protocol-A.texi.
 *  See the descriptions in that file for documentation.
Per Cederqvist's avatar
.  
Per Cederqvist committed
31
32
33
34
35
 *
 *  Created by ceder 1990-03-23
 */


36
37
#ifndef  SERVICES_H_ALREADY_INCLUDED
#define  SERVICES_H_ALREADY_INCLUDED
Per Cederqvist's avatar
.  
Per Cederqvist committed
38
39
40
41
42
43
44



/*
 * Session control
 */

45
extern  Success
46
47
login_old (Pers_no	person,
	   const String	passwd);
48

Per Cederqvist's avatar
.  
Per Cederqvist committed
49
extern  Success
50
51
52
login (Pers_no		person,
       const String	passwd,
       Bool		invisible);
Per Cederqvist's avatar
.  
Per Cederqvist committed
53
54

extern  Success
55
logout (void);	/* can never fail */
Per Cederqvist's avatar
.  
Per Cederqvist committed
56
57
58

/* Change Conference */
extern  Success
59
change_conference (Conf_no conference);
Per Cederqvist's avatar
.  
Per Cederqvist committed
60
61
62
63


/* Change name of a person or conference. */
extern  Success
64
65
change_name (Conf_no	  conf_no,
	     const String new_name);
Per Cederqvist's avatar
.  
Per Cederqvist committed
66
67

extern  Success
68
change_what_i_am_doing (String  what_am_i_doing);
Per Cederqvist's avatar
.  
Per Cederqvist committed
69

70
71
/* Client version: one call to set, two to retrieve. */
extern  Success
72
73
set_client_version (const String client_name,
		    const String client_version);
74
75

extern  Success
76
77
get_client_name (Session_no session_no,
		 String *result);
78
79

extern  Success
80
81
get_client_version (Session_no session_no,
		    String *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
82
83
84
85

/* Get info about a session */

extern  Success
86
87
get_session_info  (Session_no session_no,
		   Session_info *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
88

89
extern  Success
90
91
get_session_info_ident  (Session_no session_no,
			 Session_info_ident *result);
92

Per Cederqvist's avatar
Per Cederqvist committed
93
extern  Success
94
95
get_static_session_info (Session_no session_no,
			 Static_session_info *result);
Per Cederqvist's avatar
Per Cederqvist committed
96

Per Cederqvist's avatar
.  
Per Cederqvist committed
97
98
99
100
101
102
/*
 * Disconnect a session. You can disconnect your own session (even if
 * you are not logged in) and any session where you are supervisor of
 * the user that is logged in on that session.
 */
extern  Success
103
disconnect (Session_no session_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
104
105
106
107
108

/*
 * Returns your session number
 */
extern  Success
109
who_am_i (Session_no *session_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
110

Per Cederqvist's avatar
Per Cederqvist committed
111
112
113
114
115
/*
 * Set state in the session
 */

extern  Success
116
user_active (void);
Per Cederqvist's avatar
.  
Per Cederqvist committed
117
118
119
120
121
122
123
124
125

/******************************
*     Person-related calls    *
******************************/

/*
 *  Create a new person.  Returns 0 if any error occured.
 */
extern  Pers_no
126
127
create_person_old (const String  name,
		   const String  passwd);
128
129

extern Pers_no
130
131
132
133
create_person (const String name,
	       const String passwd,
	       Personal_flags flags,
	       Aux_item_list *conf_aux);
Per Cederqvist's avatar
.  
Per Cederqvist committed
134
135


David Byers's avatar
David Byers committed
136
137
138
139
extern Success
set_pers_flags(Pers_no pers_no,
               Personal_flags flags);

Per Cederqvist's avatar
.  
Per Cederqvist committed
140
141
/* Obsolete call; use get_person_stat instead. */
extern  Success
142
143
144
get_person_stat_old (Pers_no		  person,
		     int		  mask,
		     Person		* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
145
146

extern  Success
147
148
get_person_stat (Pers_no	  person,
		 Person		* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
149
150

extern  Success
151
152
153
154
get_created_texts (Pers_no		  person,
		   Local_text_no	  first,
		   unsigned long	  no_of_texts,
		   L2g_iterator 	 *created_texts);
Per Cederqvist's avatar
.  
Per Cederqvist committed
155

156
extern  Success
157
158
159
160
map_created_texts (Pers_no	  person,
		   Local_text_no  first,
		   unsigned long  no_of_texts,
		   Text_mapping  *created_texts);
161

162
extern  Success
163
164
165
166
167
get_membership_old (Pers_no		  person,
		    unsigned short	  first,
		    unsigned short	  no_of_confs,
		    Bool		  want_read_texts,
		    Membership_list	* memberships);
168

Per Cederqvist's avatar
.  
Per Cederqvist committed
169
extern  Success
Per Cederqvist's avatar
Per Cederqvist committed
170
171
172
173
174
get_membership_10(Pers_no           person,
		  unsigned short    first,
		  unsigned short    no_of_confs,
		  Bool		    want_read_texts,
		  Membership_list * memberships);
Per Cederqvist's avatar
.  
Per Cederqvist committed
175

176
177
178
179
180
181
182
183
extern  Success
get_membership(Pers_no           person,
	       unsigned short    first,
	       unsigned short    no_of_confs,
	       Bool              want_read_ranges,
	       unsigned long     max_ranges,
	       Membership_list * memberships);

Per Cederqvist's avatar
.  
Per Cederqvist committed
184
extern  Success
185
186
set_priv_bits (Pers_no	 person,
	       Priv_bits privileges);
Per Cederqvist's avatar
.  
Per Cederqvist committed
187
188
189
190
191
192


/*  Set the password of PERSON to NEW_PWD.  OLD_PWD is the password
 *  of the person who does the set.  This is not necessarily the
 *  same as the one who gets it set.	*/
extern  Success
193
194
195
set_passwd (Pers_no	   person,
	    const String   old_pwd,
	    const String   new_pwd);
Per Cederqvist's avatar
.  
Per Cederqvist committed
196
197
198


/* You can query for unread texts without logging in. */
199
extern  Success
200
201
202
query_read_texts_old (Pers_no	     pers_no,
		      Conf_no	     conf_no,
		      Membership   * result  );
203

Per Cederqvist's avatar
.  
Per Cederqvist committed
204
extern  Success
Per Cederqvist's avatar
Per Cederqvist committed
205
206
207
query_read_texts_10(Pers_no      pers_no,
		    Conf_no      conf_no,
		    Membership * result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
208

209
210
211
212
213
214
215
216
extern  Success
query_read_texts(Pers_no        pers_no,
		 Conf_no        conf_no,
		 Bool           want_read_ranges,
		 unsigned long  max_ranges,
		 Membership    *result);


Per Cederqvist's avatar
.  
Per Cederqvist committed
217
218

extern Success
219
220
get_unread_confs(Pers_no       pers_no,
		 Conf_no_list *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
221
222

extern Success
223
224
set_user_area(Pers_no	pers_no,
	      Text_no	user_area);
Per Cederqvist's avatar
.  
Per Cederqvist committed
225
226
227
228
229
230
231
232


/****************************************
*	Conference-related calls	*
****************************************/


extern  Conf_no
233
234
create_conf_old (const String	  name,
		 Conf_type	  type);
235
236

extern Conf_no
237
238
239
create_conf (const String name,
	     Conf_type type,
	     Aux_item_list *aux);
240
241

extern Success
242
243
244
modify_conf_info (Conf_no conf_no,
		  Number_list *items_to_delete,
		  Aux_item_list *items_to_add);
Per Cederqvist's avatar
.  
Per Cederqvist committed
245
246
247
248


/*  Delete a conference.  Also used to delete persons.  */
extern  Success
249
delete_conf (Conf_no	conf);
Per Cederqvist's avatar
.  
Per Cederqvist committed
250
251
252
253
254


/*
 *  Map conference name to number.  Returns a list of the conferences
 *  that match the name NAME. Can be done without logging in.
255
 * This should be phased out.
Per Cederqvist's avatar
.  
Per Cederqvist committed
256
257
 */
extern  Success
258
259
lookup_name (const String   name,
	     Conf_list_old *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
260

261
extern Success
262
263
264
265
lookup_z_name (const String name,
	       int want_persons,
	       int want_confs,
	       Conf_z_info_list *result);
266

267
268
/* Use these two lookup-calls instead of lookup_name */
extern  Success
269
270
lookup_person (const String  pattern,
	       Conf_no_list  *result);
271
272

extern  Success
273
274
lookup_conf (const String  pattern,
	     Conf_no_list  *result);
275

276
277
/* Two functions for matching regexps. */
extern  Success
278
279
re_lookup_person (const String  regexp,
		  Conf_no_list  *result);
280
281

extern  Success
282
283
re_lookup_conf (const String  regexp,
		Conf_no_list  *result);
284

285
extern  Success
286
287
288
289
re_z_lookup (const String      regexp,
	     int               want_persons,
	     int	       want_confs,
	     Conf_z_info_list *result);
290

291
extern Success
292
get_collate_table (String * result);
293
294

extern  Success
295
296
297
get_conf_stat_older (Conf_no	 conf_no,
		     int	 mask,
		     Conference *result);
298

Per Cederqvist's avatar
.  
Per Cederqvist committed
299
extern  Success
300
301
get_conf_stat_old (Conf_no		  conf_no,
		   Conference		* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
302
303

extern  Success
304
305
get_conf_stat (Conf_no		  conf_no,
	       Conference	* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
306

307
extern Success
308
309
get_uconf_stat (Conf_no		  conf_no,
		Small_conf	* result);
310

Per Cederqvist's avatar
.  
Per Cederqvist committed
311
extern  Success
312
313
314
315
get_members (Conf_no	      conf,
	     unsigned short   first,
	     unsigned short   no_of_members,
	     Member_list    * members);
316
317

extern  Success
318
319
320
321
get_members_old (Conf_no	  conf,
		 unsigned short   first,
		 unsigned short   no_of_members,
		 Member_list	* members	);
Per Cederqvist's avatar
.  
Per Cederqvist committed
322
323
324
325
326



/* add_member is also used to change the priority of a conference */
extern  Success
327
328
329
330
331
add_member (Conf_no		conf_no,
	    Pers_no		pers_no,
	    unsigned char	priority,
	    unsigned short	where, /* Range of where is [0..] */
	    Membership_type   * type);
332
333

extern  Success
334
335
336
337
add_member_old (Conf_no		conf_no,
		Pers_no		pers_no,
		unsigned char	priority,
		unsigned short	where	); /* Range of where is [0..] */
338
339

extern Success
340
341
342
set_membership_type (Pers_no          pers_no,
		     Conf_no          conf_no,
		     Membership_type *type   );
Per Cederqvist's avatar
.  
Per Cederqvist committed
343
344
345


extern  Success
346
347
sub_member (Conf_no	conf_no,
	    Pers_no	pers_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
348
349
350
351
352


/*
 * Tell the server that I want to mark/unmark texts as read so that I
 * get no_of_unread unread texts in conf_no.
Kent Engström's avatar
Kent Engström committed
353
354
355
 *
 * The new alternative function marks last_read as the last read local
 * text. Use this one to avoid race conditions.
Per Cederqvist's avatar
.  
Per Cederqvist committed
356
 */
Kent Engström's avatar
Kent Engström committed
357

Per Cederqvist's avatar
.  
Per Cederqvist committed
358
extern  Success
359
360
set_unread (Conf_no   conf_no,
	    Text_no   no_of_unread);
Per Cederqvist's avatar
.  
Per Cederqvist committed
361

Kent Engström's avatar
Kent Engström committed
362
extern  Success
363
364
set_last_read (Conf_no       conf_no,
	       Local_text_no last_read);
Kent Engström's avatar
Kent Engström committed
365
366


Per Cederqvist's avatar
.  
Per Cederqvist committed
367
368
369
370
371
372
/*
 * set_presentation and set_etc_motd also does some magic with the
 * no_of_marks field in the Text_stat structure of the old and new text.
 */ 

extern  Success
373
374
set_presentation (Conf_no   conf_no,
		  Text_no   text_no); /* 0 to delete pres. */
Per Cederqvist's avatar
.  
Per Cederqvist committed
375
376

extern  Success
377
378
set_etc_motd (Conf_no	  conf_no,
	      Text_no	  text_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
379
380
381


extern  Success
382
383
set_supervisor (Conf_no	  conf_no,
		Conf_no	  admin	);
Per Cederqvist's avatar
.  
Per Cederqvist committed
384
385

extern  Success
386
387
set_permitted_submitters (Conf_no	  conf_no,
			  Conf_no	  perm_sub);
Per Cederqvist's avatar
.  
Per Cederqvist committed
388
389

extern  Success
390
391
set_super_conf (Conf_no	  conf_no,
		Conf_no	  super_conf);
Per Cederqvist's avatar
.  
Per Cederqvist committed
392
393

extern  Success
394
395
set_conf_type (Conf_no	  conf_no,
	       Conf_type  type	);
Per Cederqvist's avatar
.  
Per Cederqvist committed
396
extern  Success
397
398
set_garb_nice (Conf_no	  conf_no,
	       Garb_nice  days); /* number of days */
Per Cederqvist's avatar
.  
Per Cederqvist committed
399

400
extern  Success
401
402
set_expire (Conf_no	  conf_no,
	    Garb_nice	  expire); /* number of days */
403

Per Cederqvist's avatar
.  
Per Cederqvist committed
404

405
extern Success
406
407
set_keep_commented(Conf_no	conf_no,
                   Garb_nice	keep_commented);	/* number of days */
408
409


Per Cederqvist's avatar
.  
Per Cederqvist committed
410
411
412
413
414
415
416

/********************************
*     Calls to handle marks     *
********************************/


extern  Success
417
get_marks (Mark_list *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
418
419
420
421
422
423



/*
 *  Will fail if the user is not allowed to read the text.
 */
424
425
/* This function uses mark_type==0 to delete the mark. */
extern  Success
426
427
mark_text_old (Text_no	  	  text,
	       unsigned char	  mark_type);
428

429
430

/* Using this function, you can set mark_type==0. */
Per Cederqvist's avatar
.  
Per Cederqvist committed
431
extern  Success
432
433
mark_text (Text_no	  text,
	   unsigned char  mark_type);
434

Per Cederqvist's avatar
.  
Per Cederqvist committed
435

436
437
/* Remove a mark, reporting an error if you had not marked the text. */
extern  Success
438
unmark_text (Text_no	  text);
439

Per Cederqvist's avatar
.  
Per Cederqvist committed
440
441
442
443
444
445
446
447
448



/*******************************
*     Calls to handle texts    *
*******************************/


extern  Success
449
450
451
452
get_text (Text_no	  text,
	  String_size	  start_char,
	  String_size	  end_char,
	  String	* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
453
454
455


extern  Success
456
457
get_text_stat (Text_no    text,
	       Text_stat *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
458

459
extern  Success
460
461
get_text_stat_old (Text_no    text,
		   Text_stat *result);
462

Per Cederqvist's avatar
.  
Per Cederqvist committed
463
extern  Success
464
465
466
mark_as_read (Conf_no		    conference,
	      int		    no_of_texts,
	      const Local_text_no * text_arr  );
Per Cederqvist's avatar
.  
Per Cederqvist committed
467
468
469
470


/* Returns 0 on error */
extern  Text_no
471
472
473
create_text (const String     message,
	     Misc_info_list * misc,
	     Aux_item_list  * aux);
474
475

extern Text_no
476
477
create_text_old (const String     message,
		 Misc_info_list	* misc	    );
Per Cederqvist's avatar
.  
Per Cederqvist committed
478

479
/* Returns 0 on error.  */
480
extern  Text_no
481
482
483
create_anonymous_text (const String      message,
		       Misc_info_list  * misc,
		       Aux_item_list    *aux);
484
485

extern  Text_no
486
487
create_anonymous_text_old (const String      message,
			   Misc_info_list  * misc);
488

Per Cederqvist's avatar
.  
Per Cederqvist committed
489
extern Success
490
delete_text( Text_no text_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
491

492
extern Success
493
494
495
modify_text_info(Text_no        text,
		 Number_list   *items_to_delete, 
		 Aux_item_list *aux);
Per Cederqvist's avatar
.  
Per Cederqvist committed
496
497
498


extern  Success
499
500
501
add_recipient (Text_no	      text_no,
	       Conf_no	      conf_no,
	       enum info_type type);
Per Cederqvist's avatar
.  
Per Cederqvist committed
502
503

extern  Success
504
505
sub_recipient (Text_no	  text_no,
	       Conf_no	  conf_no);
Per Cederqvist's avatar
.  
Per Cederqvist committed
506
507
508


extern  Success
509
510
add_comment (Text_no	  comment,
	     Text_no 	  comment_to);
Per Cederqvist's avatar
.  
Per Cederqvist committed
511
512
513
514
515
516


/*
 *  Make the text COMMENT to not be a comment to text COMMENT_TO
 */
extern  Success
517
518
sub_comment (Text_no	  comment,
	     Text_no	  comment_to);
Per Cederqvist's avatar
.  
Per Cederqvist committed
519
520

extern Success
521
522
add_footnote (Text_no	footnote,
	      Text_no 	footnote_to);
Per Cederqvist's avatar
.  
Per Cederqvist committed
523
524

extern Success
525
526
sub_footnote (Text_no	footnote,
	      Text_no	parent);
Per Cederqvist's avatar
.  
Per Cederqvist committed
527
528

extern  Success
529
530
531
532
get_map (Conf_no	  conf_no,
	 Local_text_no	  first_local_no,
	 unsigned long	  no_of_texts,
	 L2g_iterator    *result);
533
534

extern Success
535
536
537
538
local_to_global (Conf_no       conf_No,
		 Local_text_no first_local_no,
		 unsigned long no_of_texts,
		 Text_mapping *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
539
540
541
542
543
544
545


/*
 *  Ask what the server thinks the time is. This
 *  might differ if on two different machines.
 */
extern  Success
546
get_time (time_t *t);
Per Cederqvist's avatar
.  
Per Cederqvist committed
547
548


Linus Tolke's avatar
Linus Tolke committed
549
550
551
/*
 *  Gets the last text before a given time.
 */
552

553
extern  Success
554
get_last_text (struct tm *clk, Text_no *result);
Linus Tolke's avatar
Linus Tolke committed
555

556
557
558
559
560
/*
 * Return next/previous existing text-no.
 */

extern  Success
561
find_next_text_no (Text_no start, Text_no *result);
562
563

extern  Success
564
find_previous_text_no (Text_no start, Text_no *result);
565
566


Per Cederqvist's avatar
.  
Per Cederqvist committed
567
568
569
570
/*
 * Who is logged on now?
 */
extern  Success
571
who_is_on_old (Who_info_list_old	* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
572
573

extern  Success
574
who_is_on (Who_info_list	* result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
575

576
extern  Success
577
who_is_on_ident (Who_info_ident_list *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
578

Per Cederqvist's avatar
Per Cederqvist committed
579
extern  Success
580
581
582
583
who_is_on_dynamic (int want_visible,
		   int want_invisible,
		   long active_last,
		   Dynamic_session_info_list *result);
Per Cederqvist's avatar
Per Cederqvist committed
584

Per Cederqvist's avatar
.  
Per Cederqvist committed
585
586
587
/*
 *  Return various information about the server
 */
588
extern  Success
589
get_info_old (Info *result);
590

Per Cederqvist's avatar
.  
Per Cederqvist committed
591
extern  Success
592
get_info (Info *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
593

594
extern  Success
595
get_version_info (Version_info *result);
596

Per Cederqvist's avatar
.  
Per Cederqvist committed
597
598
599
600
601

/*
 * Privileged calls.
 */

David Byers's avatar
David Byers committed
602
extern Success
603
set_info(Info *info);
David Byers's avatar
David Byers committed
604

605
extern Success
606
modify_system_info(Number_list      *items_to_delete,
607
		   Aux_item_list    *items_to_add);
608

Per Cederqvist's avatar
.  
Per Cederqvist committed
609
extern Success
610
set_motd_of_lyskom (Text_no motd);
Per Cederqvist's avatar
.  
Per Cederqvist committed
611
612
613
614
615

/*
 * Set ena_level. 0 means don't use any privileges.
 */
extern Success
616
enable (unsigned char ena_level);
Per Cederqvist's avatar
.  
Per Cederqvist committed
617
618
619
620
621

/*
 * Make LysKOM sync its files.
 */
extern Success
622
sync_kom (void);
Per Cederqvist's avatar
.  
Per Cederqvist committed
623
624
625
626
627

/*
 * Close LysKOM.
 */
extern Success
628
shutdown_kom (int exit_val);
Per Cederqvist's avatar
.  
Per Cederqvist committed
629
630

/*
631
632
 * Send a message to all clients. This is obsoleted by send_message(),
 * but will remain for compatibility reasons.
Per Cederqvist's avatar
.  
Per Cederqvist committed
633
634
 */
extern Success
635
broadcast (const String message);
Per Cederqvist's avatar
.  
Per Cederqvist committed
636
637
638
639
640
641

/*
 * Send a message to a person, or all persons. If recipient == 0 all
 * connections will receive the message.
 */
extern Success
642
643
send_message (Conf_no recipient,
	      const String message);
Per Cederqvist's avatar
.  
Per Cederqvist committed
644

645
646
647
648
649
/*
 * Selection of asynchronous messages
 */

extern Success
650
accept_async(Number_list *accept_list);
651
652

extern Success
653
query_async(Number_list *result);
Per Cederqvist's avatar
.  
Per Cederqvist committed
654

655
656
657
658
659
/*
 * Aux-items
 */

extern Success
660
query_predefined_aux_items(Number_list *result);
661
662


663
664
#ifdef DEBUG_CALLS
extern Success
665
get_memory_info(Memory_info *result);
666
667

extern Success
668
set_marks(Text_no text_no, unsigned long no_of_marks);
669
670

extern Success
671
672
backdate_text(Text_no text_no,
	      unsigned long seconds);
673

Per Cederqvist's avatar
Per Cederqvist committed
674
675
676
extern Success
start_garb(void);

677
#endif
Per Cederqvist's avatar
.  
Per Cederqvist committed
678
679
    
#endif	/*  _SERVICES_H_ALREADY_INCLUDED__  */