Imported Upstream version 2.9.0
[debian/cc1111] / 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 3, 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, see <http://www.gnu.org/licenses/>. */
19
20 /*
21  * With contributions for the
22  * object libraries from
23  * Ken Hornstein
24  * kenh@cmf.nrl.navy.mil
25  *
26  */
27
28 /*
29  * Extensions: P. Felber
30  */
31
32 #ifndef __LKREL_H
33 #define __LKREL_H
34
35 #include <stdio.h>
36
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif
41
42   int is_rel (FILE * libfp);
43   int load_rel (FILE * libfp, long size);
44   int enum_symbols (FILE * fp, long size, int (*func) (const char *symvoid, void *param), void *param);
45
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif                          /* __LKREL_H */