git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3318 67ed7778-7388-44ab-90cf-0a291f65f57c
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/****************************************************************************
|
|
*
|
|
* File: util.h
|
|
*
|
|
* $Id$
|
|
****************************************************************************/
|
|
|
|
#ifndef _CANON_UTIL_H
|
|
#define _CANON_UTIL_H
|
|
|
|
/****************************************************************************
|
|
*
|
|
* prototypes
|
|
*
|
|
****************************************************************************/
|
|
|
|
void dump_hex(Camera *camera,const char *msg, const unsigned char *buf, int len);
|
|
|
|
void intatpos (unsigned char *block, int pos, int integer);
|
|
unsigned int get_int (const unsigned char *p);
|
|
|
|
int is_thumbnail (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 comp_dir (const void *a, const void *b);
|
|
|
|
#endif /* _CANON_UTIL_H */
|
|
|
|
/****************************************************************************
|
|
*
|
|
* End of file: util.h
|
|
*
|
|
****************************************************************************/
|