20 #include <cdio/bytesex.h> 31 char *hack=(
char *)(&test);
36 extern char *
catstring(
char *buff,
const char *s);
38 extern int gettime(
struct timespec *);
42 #ifndef WORDS_BIGENDIAN 44 static inline int16_t be16_to_cpu(int16_t x){
45 return(UINT16_SWAP_LE_BE_C(x));
48 static inline int16_t le16_to_cpu(int16_t x){
54 static inline int16_t be16_to_cpu(int16_t x){
58 static inline int16_t le16_to_cpu(int16_t x){
59 return(UINT16_SWAP_LE_BE_C(x));
65 static inline int16_t cpu_to_be16(int16_t x){
66 return(be16_to_cpu(x));
69 static inline int16_t cpu_to_le16(int16_t x){
70 return(le16_to_cpu(x));
77 void idperror(
int messagedest,
char **messages,
const char *f,
const char *s);
79 void idmessage(
int messagedest,
char **messages,
const char *f,
const char *s);
void cderror(cdrom_drive_t *d, const char *s)
Definition: utils.c:32
void idperror(int messagedest, char **messages, const char *f, const char *s)
Definition: utils.c:72
Structure for cdparanoia's CD-ROM access.
Definition: cdda.h:80
char * catstring(char *buff, const char *s)
Definition: utils.c:160
void cdmessage(cdrom_drive_t *d, const char *s)
Definition: utils.c:53
void idmessage(int messagedest, char **messages, const char *f, const char *s)
Definition: utils.c:119
int gettime(struct timespec *)
Definition: utils.c:174