view include/TaskManager/SymTable.h @ 14:41ccd4b38184

*** empty log message ***
author gongo
date Fri, 08 Feb 2008 18:00:21 +0900
parents
children 31a7ff27ee20
line wrap: on
line source

#ifndef INCLUDED_SYMTABLE
#define INCLUDED_SYMTABLE

#define SYM_MAX_SIZE 64

typedef struct sym_table {
    char *sym;
    void *address;
} SymTb, *SymTbPtr;

class SymTable {
public:
    SymTbPtr symtb;
    int symtb_index;

    void init(void);
    void set_symbol(const char *sym, void *addr);
    int get_fd(const char *sym);
    void* get_address(int fd);
};

#endif