1 /* Header file for decode functions */
2 #ifndef __GENIE_DECODE_H__
3 #define __GENIE_DECODE_H__
4 
5 struct patch { unsigned int addr, data; };
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 void genie_decode(const char *code, struct patch *result);
12 void hex_decode(const char *code, struct patch *result);
13 void decode(const char *code, struct patch *result);
14 
15 #ifdef __cplusplus
16 } // extern "C"
17 #endif
18 
19 #endif // __GENIE_DECODE_H__
20