mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-25 19:56:30 +00:00
Import J Hoppe's 20090427 release from http://retrocmp.com/tools/macro-11-on-windows
This commit is contained in:
31
mlb.h
31
mlb.h
@@ -40,23 +40,26 @@ DAMAGE.
|
||||
|
||||
/* Routines to open and read entries from a macro library */
|
||||
|
||||
typedef struct mlbent
|
||||
{
|
||||
char *label;
|
||||
unsigned long position;
|
||||
int length;
|
||||
typedef struct mlbent {
|
||||
char *label;
|
||||
unsigned long position;
|
||||
int length;
|
||||
} MLBENT;
|
||||
|
||||
typedef struct mlb
|
||||
{
|
||||
FILE *fp;
|
||||
MLBENT *directory;
|
||||
int nentries;
|
||||
typedef struct mlb {
|
||||
FILE *fp;
|
||||
MLBENT *directory;
|
||||
int nentries;
|
||||
} MLB;
|
||||
|
||||
extern MLB *mlb_open(char *name);
|
||||
extern BUFFER *mlb_entry(MLB *mlb, char *name);
|
||||
extern void mlb_close(MLB *mlb);
|
||||
extern void mlb_extract(MLB *mlb);
|
||||
extern MLB *mlb_open(
|
||||
char *name);
|
||||
extern BUFFER *mlb_entry(
|
||||
MLB *mlb,
|
||||
char *name);
|
||||
extern void mlb_close(
|
||||
MLB *mlb);
|
||||
extern void mlb_extract(
|
||||
MLB *mlb);
|
||||
|
||||
#endif /* MLB_H */
|
||||
|
||||
Reference in New Issue
Block a user