diff options
Diffstat (limited to 'rdoff/v1/symtab.h')
-rw-r--r-- | rdoff/v1/symtab.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rdoff/v1/symtab.h b/rdoff/v1/symtab.h new file mode 100644 index 00000000..5780d447 --- /dev/null +++ b/rdoff/v1/symtab.h @@ -0,0 +1,22 @@ +/* symtab.h Header file for symbol table manipulation routines + * + * The Netwide Assembler is copyright (C) 1996 Simon Tatham and + * Julian Hall. All rights reserved. The software is + * redistributable under the licence given in the file "Licence" + * distributed in the NASM archive. + */ + +typedef struct { + char *name; + long segment; + long offset; + long flags; +} symtabEnt; + +void *symtabNew(void); +void symtabDone(void *symtab); +void symtabInsert(void *symtab,symtabEnt *ent); +symtabEnt *symtabFind(void *symtab,char *name); +void symtabDump(void *symtab,FILE *of); + + |