mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-26 04:01:44 +00:00
Add RT11 macro libraries.
Hopefully they won't open as RSX ones, because then they still won't work. Can't test this now.
This commit is contained in:
14
mlb.h
14
mlb.h
@@ -46,13 +46,24 @@ typedef struct mlbent {
|
||||
int length;
|
||||
} MLBENT;
|
||||
|
||||
struct mlb_vtbl;
|
||||
|
||||
typedef struct mlb {
|
||||
struct mlb_vtbl *vtbl;
|
||||
char *name;
|
||||
FILE *fp;
|
||||
MLBENT *directory;
|
||||
int nentries;
|
||||
int is_objlib; /* is really an object library */
|
||||
} MLB;
|
||||
|
||||
typedef struct mlb_vtbl {
|
||||
MLB *(*mlb_open)(char *name, int allow_object_library);
|
||||
BUFFER *(*mlb_entry)(MLB *mlb, char *name);
|
||||
void (*mlb_extract)(MLB *mlb);
|
||||
void (*mlb_close)(MLB *mlb);
|
||||
} MLB_VTBL;
|
||||
|
||||
extern MLB *mlb_open(
|
||||
char *name,
|
||||
int allow_object_library);
|
||||
@@ -64,4 +75,7 @@ extern void mlb_close(
|
||||
extern void mlb_extract(
|
||||
MLB *mlb);
|
||||
|
||||
extern struct mlb_vtbl mlb_rsx_vtbl;
|
||||
extern struct mlb_vtbl mlb_rt11_vtbl;
|
||||
|
||||
#endif /* MLB_H */
|
||||
|
||||
Reference in New Issue
Block a user