Source code upload
[framework/connectivity/libgphoto2.git] / examples / samples.h
1 #ifndef __SAMPLES_H
2 #define __SAMPLES_H
3 #include <gphoto2/gphoto2-camera.h>
4
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);
8
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);
12 #endif