4 * (C) Copyright 1989-1995
11 * With contributions for the
12 * object libraries from
14 * kenh@cmf.nrl.navy.mil
19 * Extensions: P. Felber
27 typedef struct slibrarysymbol mlibrarysymbol;
28 typedef struct slibrarysymbol *pmlibrarysymbol;
32 char *name; /*Warning: allocate memory before using */
36 typedef struct slibraryfile mlibraryfile;
37 typedef struct slibraryfile *pmlibraryfile;
43 char *relfil; /* Warning: allocate memory before using */
44 char *filename; /* Warning: allocate memory before using */
45 long offset; /* The embedded file offset in the library file libspc */
47 pmlibrarysymbol symbols;
51 extern pmlibraryfile libr;
54 pmlibrarysymbol add_rel_index (FILE * fp, long size, pmlibraryfile This);
56 int add_rel_file (const char *name, struct lbname *lbnh, const char *relfil,
57 const char *filspc, int offset, FILE * fp, long size, int type);
62 int (*is_lib) (FILE * libfp);
64 pmlibraryfile (*buildlibraryindex) (struct lbname * lbnh, FILE * libfp, pmlibraryfile This, int type);
66 int (*fndsym) (const char *name, struct lbname * lbnh, FILE * libfp, int type);
68 void (*loadfile) (struct lbfile * lbfh);
71 extern struct aslib_target aslib_target_sdcclib;
72 extern struct aslib_target aslib_target_lib;
74 #endif /* __LKLIBR_H */