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 96326c4e48..e9df809a12 100644 --- a/tools/iriver.h +++ b/tools/iriver.h | |||
@@ -16,14 +16,21 @@ | |||
16 | * KIND, either express or implied. | 16 | * KIND, either express or implied. |
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | #ifndef TRUE | |
20 | #define TRUE 1 | 20 | #define TRUE 1 |
21 | #endif | ||
22 | #ifndef FALSE | ||
21 | #define FALSE 0 | 23 | #define FALSE 0 |
24 | #endif | ||
22 | 25 | ||
23 | #define BOOL unsigned int | 26 | #define BOOL unsigned int |
24 | 27 | ||
25 | #define ESTF_SIZE 32 | 28 | #define ESTF_SIZE 32 |
26 | 29 | ||
30 | #ifdef __cplusplus | ||
31 | extern "C" { | ||
32 | #endif | ||
33 | |||
27 | enum striptype | 34 | enum striptype |
28 | { | 35 | { |
29 | STRIP_NONE, | 36 | STRIP_NONE, |
@@ -32,6 +39,11 @@ enum striptype | |||
32 | }; | 39 | }; |
33 | 40 | ||
34 | /* protos for iriver.c */ | 41 | /* protos for iriver.c */ |
35 | int iriver_decode(char *infile, char *outfile, BOOL modify, | 42 | int iriver_decode(const char *infile, const char *outfile, BOOL modify, |
36 | enum striptype stripmode ); | 43 | enum striptype stripmode ); |
37 | int iriver_encode(char *infile_name, char *outfile_name, BOOL modify ); | 44 | int iriver_encode(const char *infile_name, const char *outfile_name, BOOL modify); |
45 | |||
46 | #ifdef __cplusplus | ||
47 | } | ||
48 | #endif | ||
49 | |||