Mercurial > hg > Members > kono > Cerium
annotate include/TaskManager/SymTable.h @ 89:a309cf4eafc5
*** empty log message ***
author | gongo |
---|---|
date | Wed, 27 Feb 2008 17:26:40 +0900 |
parents | 31a7ff27ee20 |
children | 3e331f7576a1 |
rev | line source |
---|---|
14 | 1 #ifndef INCLUDED_SYMTABLE |
2 #define INCLUDED_SYMTABLE | |
3 | |
4 #define SYM_MAX_SIZE 64 | |
5 | |
6 typedef struct sym_table { | |
7 char *sym; | |
8 void *address; | |
9 } SymTb, *SymTbPtr; | |
10 | |
11 class SymTable { | |
12 public: | |
20 | 13 ~SymTable(void); |
14 | |
14 | 15 SymTbPtr symtb; |
16 int symtb_index; | |
17 | |
18 void init(void); | |
19 void set_symbol(const char *sym, void *addr); | |
20 int get_fd(const char *sym); | |
21 void* get_address(int fd); | |
22 }; | |
23 | |
24 #endif |