diff options
Diffstat (limited to 'tools/iriver.h')
| -rw-r--r-- | tools/iriver.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tools/iriver.h b/tools/iriver.h index 96326c4..e9df809 100644 --- a/tools/iriver.h +++ b/tools/iriver.h @@ -16,14 +16,21 @@ * KIND, either express or implied. * ****************************************************************************/ - +#ifndef TRUE #define TRUE 1 +#endif +#ifndef FALSE #define FALSE 0 +#endif #define BOOL unsigned int #define ESTF_SIZE 32 +#ifdef __cplusplus +extern "C" { +#endif + enum striptype { STRIP_NONE, @@ -32,6 +39,11 @@ enum striptype }; /* protos for iriver.c */ -int iriver_decode(char *infile, char *outfile, BOOL modify, +int iriver_decode(const char *infile, const char *outfile, BOOL modify, enum striptype stripmode ); -int iriver_encode(char *infile_name, char *outfile_name, BOOL modify ); +int iriver_encode(const char *infile_name, const char *outfile_name, BOOL modify); + +#ifdef __cplusplus +} +#endif + |