Pristine Ack-5.5
[Ack-5.5.git] / modules / src / object / object.h
1 /* $Id: object.h,v 1.10 1994/06/24 11:18:50 ceriel Exp $ */
2 /*
3  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4  * See the copyright notice in the ACK home directory, in the file "Copyright".
5  */
6
7 #include <ansi.h>
8
9 #ifndef __OBJECT_INCLUDED__
10 #define __OBJECT_INCLUDED__
11
12 _PROTOTYPE(int wr_open, (char *f));
13 _PROTOTYPE(void wr_close, (void));
14 _PROTOTYPE(void wr_ohead, (struct outhead *h));
15 _PROTOTYPE(void wr_sect, (struct outsect *s, unsigned int c));
16 _PROTOTYPE(void wr_outsect, (int sectno));
17 _PROTOTYPE(void wr_emit, (char *b, long c));
18 _PROTOTYPE(void wr_putc, (int c));
19 _PROTOTYPE(void wr_relo, (struct outrelo *r, unsigned int c));
20 _PROTOTYPE(void wr_name, (struct outname *n, unsigned int c));
21 _PROTOTYPE(void wr_string, (char *s, long c));
22 _PROTOTYPE(void wr_arhdr, (int fd, struct ar_hdr *a));
23 _PROTOTYPE(void wr_ranlib, (int fd, struct ranlib *r, long cnt));
24 _PROTOTYPE(void wr_int2, (int fd, int i));
25 _PROTOTYPE(void wr_long, (int fd, long l));
26 _PROTOTYPE(void wr_bytes, (int fd, char *buf, long l));
27 _PROTOTYPE(int rd_open, (char *f));
28 _PROTOTYPE(int rd_fdopen, (int f));
29 _PROTOTYPE(void rd_close, (void));
30 _PROTOTYPE(void rd_ohead, (struct outhead *h));
31 _PROTOTYPE(void rd_sect, (struct outsect *s, unsigned int c));
32 _PROTOTYPE(void rd_outsect, (int sectno));
33 _PROTOTYPE(void rd_emit, (char *b, long c));
34 _PROTOTYPE(void rd_relo, (struct outrelo *r, unsigned int c));
35 _PROTOTYPE(void rd_rew_relo, (struct outhead *head));
36 _PROTOTYPE(void rd_name, (struct outname *n, unsigned int c));
37 _PROTOTYPE(void rd_string, (char *s, long c));
38 _PROTOTYPE(int rd_arhdr, (int fd, struct ar_hdr *a));
39 _PROTOTYPE(void rd_ranlib, (int fd, struct ranlib *r, long cnt));
40 _PROTOTYPE(int rd_int2, (int fd));
41 _PROTOTYPE(long rd_long, (int fd));
42 _PROTOTYPE(void rd_bytes, (int fd, char *buf, long l));
43 _PROTOTYPE(int rd_fd, (void));
44
45 #endif /* __OBJECT_INCLUDED__ */