source: trunk/minix/commands/autil/object.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.8 KB
Line 
1/* $Id: object.h,v 1.1 2005/06/23 09:50:54 philip 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__ */
Note: See TracBrowser for help on using the repository browser.