/**************************************************************************** * * File: util.h * ****************************************************************************/ #ifndef CAMLIBS_CANON_UTIL_H #define CAMLIBS_CANON_UTIL_H #include "libgphoto2/gphoto2-endian.h" #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif /**************************************************************************** * * prototypes * ****************************************************************************/ void dump_hex ( FILE *fp, void *buffer, int length ); int is_thumbnail (const char *name); int is_audio (const char *name); int is_image (const char *name); int is_movie (const char *name); int is_jpeg (const char *name); int is_crw (const char *name); int is_cr2 (const char *name); const char *filename2mimetype(const char *filename); #endif /* !defined(CAMLIBS_CANON_UTIL_H) */ /**************************************************************************** * * End of file: util.h * ****************************************************************************/ /* * Local Variables: * c-file-style:"linux" * indent-tabs-mode:t * End: */