diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
commit | ea6e34db64c7da7cb885197316c6b5e7d048bdb9 (patch) | |
tree | 78e728348f8fe09e394a51c3617e6261de0f4001 /rdoff/symtab.h | |
download | nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.gz |
NASM 0.91nasm-0.91
Diffstat (limited to 'rdoff/symtab.h')
-rw-r--r-- | rdoff/symtab.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rdoff/symtab.h b/rdoff/symtab.h new file mode 100644 index 00000000..5780d447 --- /dev/null +++ b/rdoff/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); + + |