File: samples.h

package info (click to toggle)
libgphoto2 2.4.14-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,816 kB
  • sloc: ansic: 106,721; sh: 11,844; xml: 4,811; perl: 975; makefile: 600; yacc: 337; lex: 92; cpp: 22; sed: 16
file content (12 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __SAMPLES_H
#define __SAMPLES_H
#include <gphoto2/gphoto2-camera.h>

extern int sample_autodetect (CameraList *list, GPContext *context);
extern int sample_open_camera (Camera ** camera, const char *model, const char *port);
extern GPContext* sample_create_context(void);

extern int get_config_value_string (Camera *, const char *, char **, GPContext *);
extern int set_config_value_string (Camera *, const char *, const char *, GPContext *);
int canon_enable_capture (Camera *camera, int onoff, GPContext *context);
#endif