2 * rdlib.h Functions for manipulating libraries of RDOFF object files.
6 #define RDOFF_RDLIB_H 1
10 FILE *fp
; /* initialised to NULL - always check */
11 int referenced
; /* & open if required. Close afterwards */
12 struct librarynode
*next
; /* if ! referenced. */
18 #define RDL_EINVALID 2
19 #define RDL_EVERSION 3
20 #define RDL_ENOTFOUND 4
22 int rdl_verify(const char *filename
);
23 int rdl_open(struct librarynode
*lib
, const char *filename
);
24 int rdl_searchlib(struct librarynode
*lib
, const char *label
, rdffile
* f
);
25 int rdl_openmodule(struct librarynode
*lib
, int module
, rdffile
* f
);
27 void rdl_perror(const char *apname
, const char *filename
);