Add VCS links
[debian-dgen.git] / decode.h
blob4a90eacea0c3200be6265c547bf6093e60513628
1 /* Header file for decode functions */
2 #ifndef __GENIE_DECODE_H__
3 #define __GENIE_DECODE_H__
5 struct patch { unsigned int addr, data; };
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
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);
15 #ifdef __cplusplus
16 } // extern "C"
17 #endif
19 #endif // __GENIE_DECODE_H__