GEL  0.99
sym.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * This file is part of the GEL library.
5  * Copyright (c) 2005-09, IRIT- UPS
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef GEL_SYM_H_
22 #define GEL_SYM_H_
23 
24 #include <gel/common.h>
25 #include <gel/types.h>
26 
28 
29 typedef struct gel_sym_info_t {
36  char *name;
40 
41 
42 // functions
44 gel_sym_t *gel_symbyidx(gel_sect_t *symtab, u32_t idx);
45 
47 
48 #endif /* GEL_SYM_H_ */
#define __END_DECLS
Definition: common.h:29
#define __BEGIN_DECLS
Definition: common.h:28
typedef__BEGIN_DECLS struct gel_sect_s gel_sect_t
Definition: sect.h:31
int gel_sym_infos(gel_sym_t *s, gel_sym_info_t *smi)
Definition: sym.c:56
__BEGIN_DECLS struct gel_sym_info_t gel_sym_info_t
Definition: gel_types_plugin.h:74
Definition: file.h:31
Definition: sym.h:29
u8_t info
Definition: sym.h:37
u16_t sect
Definition: sym.h:35
gel_file_t * container
Definition: sym.h:30
raddr_t raddr
Definition: sym.h:34
u32_t type
Definition: sym.h:32
char * name
Definition: sym.h:36
gel_block_t * blockcont
Definition: sym.h:31
u32_t size
Definition: sym.h:38
vaddr_t vaddr
Definition: sym.h:33
gel_sym_t * gel_symbyidx(gel_sect_t *symtab, u32_t idx)
Definition: gel_base.c:102
__BEGIN_DECLS typedef uint16_t u16_t
Definition: types.h:30
uint32_t u32_t
Definition: types.h:32
uint8_t u8_t
Definition: types.h:34
uint32_t vaddr_t
Definition: types.h:36
void * raddr_t
Definition: types.h:37
struct gel_sym_s gel_sym_t
Definition: types.h:45