ram-output.h 2.73 KB
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
/*
2
 * $Id: ram-output.h,v 0.13 1998/07/26 16:41:15 ceder Exp $
Per Cederqvist's avatar
Per Cederqvist committed
3
 * Copyright (C) 1991, 1993, 1994, 1995, 1996  Lysator Academic Computer Association.
Linus Tolke Y's avatar
Linus Tolke Y 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: ram-output.h,v 0.13 1998/07/26 16:41:15 ceder Exp $
Per Cederqvist's avatar
Per Cederqvist committed
27
 *
Per Cederqvist's avatar
Per Cederqvist committed
28 29 30 31 32 33 34 35
 * ram-output.c  -  write objects to disk.
 *
 * This is a hack. It shouldn't be used except for debugging and as a
 * temporary substitute for what Willf|r is (or should:-) be doing.
 *
 * Written by ceder 1990-07-13. Rewritten 1990-08-31.
 */

36 37 38 39
void
foutput_info(FILE *fp,
             Info *info);

Per Cederqvist's avatar
Per Cederqvist committed
40 41 42 43 44 45 46 47 48
void
foutput_person (FILE *fp,
		Person *person);


void
foutput_conference (FILE *fp,
		    Conference *conf_c);

49 50 51 52 53 54 55 56 57 58 59 60
void
foutput_aux_item_list(FILE *fp,
		      Aux_item_list *list);

void
foutput_aux_item(FILE *fp,
                 Aux_item *a_item);

void
foutput_aux_flags(FILE *fp,
                  Aux_item_flags f);

Per Cederqvist's avatar
Per Cederqvist committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
void
foutput_text_stat(FILE *fp,
		  Text_stat *t_stat);

extern void
foutput_string(FILE *fp,
		     String str);
extern void
foutput_priv_bits(FILE *fp,
		  Priv_bits bits);
extern void
foutput_personal_flags(FILE *fp,
		       Personal_flags flags);

void
foutput_text_list(FILE *fp,
77
		  const Local_to_global *text_list);
Per Cederqvist's avatar
Per Cederqvist committed
78 79 80 81 82 83 84 85 86 87 88 89

void
foutput_mark_list(FILE *fp,
		  Mark_list mark_list);

extern void
foutput_mark(FILE *fp,
	     Mark mark);
void
foutput_membership_list (FILE		* fp,
			 Membership_list  mlist);

90 91 92 93
void
foutput_membership_type (FILE           * fp,
                         Membership_type type);

Per Cederqvist's avatar
Per Cederqvist committed
94 95 96 97 98
void
foutput_membership(FILE *fp,
		   Membership *mship);
void
foutput_time(FILE *fp,
99
	     time_t clk);
Per Cederqvist's avatar
Per Cederqvist committed
100 101 102 103 104 105 106

extern void
foutput_member_list(FILE *fp,
		    Member_list m_list);

void
foutput_member(FILE *fp,
107
	       Member mbr);
Per Cederqvist's avatar
Per Cederqvist committed
108 109 110 111 112 113 114 115 116
extern void
foutput_conf_type(FILE *fp,
		  Conf_type type);

extern void
foutput_misc_info(FILE *fp, 
		  Misc_info misc);

extern void
Per Cederqvist's avatar
Per Cederqvist committed
117
foutput_ulong (unsigned long l,
Per Cederqvist's avatar
Per Cederqvist committed
118
	       FILE *fp);
119 120 121

extern void
set_output_format(int fmt);