1
0
Fork 0
forked from len0rd/rockbox

Factor out scramble / mkboot functions to allow easier reuse (for rbutil).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17732 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-06-18 22:30:59 +00:00
parent efbd2b8d7a
commit c47988034f
6 changed files with 116 additions and 34 deletions

View file

@ -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