Apply Nindent to all .c and .h files
[nasm/avx512.git] / rdoff / rdfload.h
blob34446b6fd10a3fc0641832212e63ab9bc5b4e31c
1 /* rdfload.h RDOFF Object File loader library header file
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
5 * redistributable under the licence given in the file "Licence"
6 * distributed in the NASM archive.
8 * See the file 'rdfload.c' for special license information for this
9 * file.
12 #ifndef _RDFLOAD_H
13 #define _RDFLOAD_H
15 #define RDOFF_UTILS
17 #include "rdoff.h"
19 typedef struct RDFModuleStruct {
20 rdffile f; /* file structure */
21 unsigned char *t, *d, *b; /* text, data, and bss segments */
22 long textrel;
23 long datarel;
24 long bssrel;
25 void *symtab;
26 } rdfmodule;
28 rdfmodule *rdfload(const char *filename);
29 int rdf_relocate(rdfmodule * m);
31 #endif