forked from KolibriOS/kolibrios
ea1a60faa3
git-svn-id: svn://kolibrios.org@9837 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
420 B
C
20 lines
420 B
C
/* Header file for decode functions */
|
|
#ifndef __GENIE_DECODE_H__
|
|
#define __GENIE_DECODE_H__
|
|
|
|
struct patch { unsigned int addr, data; };
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void genie_decode(const char *code, struct patch *result);
|
|
void hex_decode(const char *code, struct patch *result);
|
|
void decode(const char *code, struct patch *result);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // __GENIE_DECODE_H__
|