GEL  0.99
types.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_TYPES_H_
22 #define GEL_TYPES_H_
23 
24 #include <gel/common.h>
25 #include <inttypes.h>
26 
28 
29 /* base types */
30 typedef uint16_t u16_t;
31 typedef int16_t s16_t;
32 typedef uint32_t u32_t;
33 typedef int32_t s32_t;
34 typedef uint8_t u8_t;
35 typedef int8_t s8_t;
36 typedef uint32_t vaddr_t;
37 typedef void* raddr_t;
40 /* opaque types */
41 typedef struct gel_block_s gel_block_t;
42 typedef struct gel_enum_s gel_enum_t;
43 typedef struct gel_file_info_t gel_file_t;
44 typedef struct gel_platform_s gel_platform_t;
45 typedef struct gel_sym_s gel_sym_t;
46 typedef struct gel_sect_s gel_sect_t;
47 
49 
50 #endif /* GEL_TYPES_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
Definition: gel_types_plugin.h:74
Definition: file.h:31
Definition: gel_types_plugin.h:58
int32_t s32_t
Definition: types.h:33
__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
struct gel_enum_s gel_enum_t
Definition: types.h:42
uint32_t vaddr_t
Definition: types.h:36
void * raddr_t
Definition: types.h:37
int8_t s8_t
Definition: types.h:35
int16_t s16_t
Definition: types.h:31
struct gel_sym_s gel_sym_t
Definition: types.h:45