* as/asranlib/Makefile.in, as/asranlib/asranlib.dsp,
[fw/sdcc] / as / link / lkrel.h
1 /* lkrel.h - .rel object file handling
2
3    Copyright (C) 1989-1995 Alan R. Baldwin
4    721 Berkeley St., Kent, Ohio 44240
5    Copyright (C) 2008-2009 Borut Razem, borut dot razem at siol dot net
6
7 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any
10 later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21 /*
22  * With contributions for the
23  * object libraries from
24  * Ken Hornstein
25  * kenh@cmf.nrl.navy.mil
26  *
27  */
28
29 /*
30  * Extensions: P. Felber
31  */
32
33 #ifndef __LKREL_H
34 #define __LKREL_H
35
36 #include <stdio.h>
37
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif
42
43   int is_rel (FILE * libfp);
44   int load_rel (FILE * libfp, long size);
45   int enum_symbols (FILE * fp, long size, int (*func) (const char *symvoid, void *param), void *param);
46
47
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif                          /* __LKREL_H */