Fix "make doc"
[nasm/avx512.git] / rdoff / rdlib.h
blob28c6ee73fd6c8045ca9485269c82fe4f690c31b7
1 /* rdlib.h Functions for manipulating librarys of RDOFF object files */
4 struct librarynode {
5 char * name;
6 FILE * fp; /* initialised to NULL - always check*/
7 int referenced; /* & open if required. Close afterwards */
8 struct librarynode * next; /* if ! referenced. */
9 };
12 extern int rdl_error;
14 #define RDL_EOPEN 1
15 #define RDL_EINVALID 2
16 #define RDL_EVERSION 3
17 #define RDL_ENOTFOUND 4
19 int rdl_verify (const char * filename);
20 int rdl_open (struct librarynode * lib, const char * filename);
21 int rdl_searchlib (struct librarynode * lib,
22 const char * label, rdffile * f);
23 int rdl_openmodule (struct librarynode * lib, int module, rdffile * f);
25 void rdl_perror(const char *apname, const char *filename);