nasm/rdoff/symtab.h

23 lines
577 B
C
Raw Normal View History

2002-05-01 04:51:32 +08:00
/* 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;
2002-05-01 04:58:18 +08:00
int segment;
2002-05-01 04:51:32 +08:00
long offset;
long flags;
} symtabEnt;
void *symtabNew(void);
void symtabDone(void *symtab);
void symtabInsert(void *symtab,symtabEnt *ent);
2002-05-01 04:58:18 +08:00
symtabEnt *symtabFind(void *symtab,const char *name);
2002-05-01 04:51:32 +08:00
void symtabDump(void *symtab,FILE *of);