summaryrefslogtreecommitdiff
path: root/rdoff/rdlib.h
blob: 94592ce21a6178c1a22f2f9b56f18d3458cf456d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* rdlib.h	Functions for manipulating librarys of RDOFF object files */


struct librarynode {
    char	* name;
    FILE	* fp;		/* initialised to NULL - always check*/
    int		referenced;	/* & open if required. Close afterwards */
    struct librarynode * next;  /* if ! referenced. */
};


extern int rdl_error;

int rdl_searchlib (struct librarynode * lib,
		   const char * label, rdffile * f);
void rdl_perror(const char *apname, const char *filename);