3 #include <gphoto2/gphoto2-camera.h>
5 extern int sample_autodetect (CameraList *list, GPContext *context);
6 extern int sample_open_camera (Camera ** camera, const char *model, const char *port);
7 extern GPContext* sample_create_context(void);
9 extern int get_config_value_string (Camera *, const char *, char **, GPContext *);
10 extern int set_config_value_string (Camera *, const char *, const char *, GPContext *);
11 int canon_enable_capture (Camera *camera, int onoff, GPContext *context);