27 lines
529 B
C
27 lines
529 B
C
/*
|
|
* various file functions
|
|
*/
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
/* two arbitrary magic number */
|
|
#define SZ_TEXT 20
|
|
#define SZ_PATH 400
|
|
|
|
typedef struct {
|
|
char key;
|
|
int flags;
|
|
char text[SZ_TEXT+1];
|
|
char path[SZ_PATH+1];
|
|
} SampleRef;
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
void dump(unsigned char *ptr);
|
|
|
|
char *rtrim(char *src);
|
|
char *ltrim(char *src);
|
|
|
|
/* --------------------------------------------------------------------- */
|