photo.cpp File Reference
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <photo/photo.h>
Go to the source code of this file.
Functions |
int | camera_autodetect (CameraList *list, GPContext *context) |
static int | camera_open (Camera **photo, const char *model, const char *port) |
static void | ctx_error_func (GPContext *context, const char *format, va_list args, void *data) |
static void | ctx_status_func (GPContext *context, const char *format, va_list args, void *data) |
int | photo_autodetect (photo_p photo) |
int | photo_close (photo_p photo) |
GPContext * | photo_create_context () |
void | photo_free (photo_p photo) |
photo_p | photo_initialize (void) |
int | photo_open (photo_p photo, const char *model, const char *port) |
Variables |
static CameraAbilitiesList * | abilities = NULL |
static GPPortInfoList * | portinfolist = NULL |
Function Documentation
int camera_autodetect |
( |
CameraList * |
list, |
|
|
GPContext * |
context | |
|
) |
| | |
static int camera_open |
( |
Camera ** |
photo, |
|
|
const char * |
model, |
|
|
const char * |
port | |
|
) |
| | [static] |
static void ctx_error_func |
( |
GPContext * |
context, |
|
|
const char * |
format, |
|
|
va_list |
args, |
|
|
void * |
data | |
|
) |
| | [static] |
static void ctx_status_func |
( |
GPContext * |
context, |
|
|
const char * |
format, |
|
|
va_list |
args, |
|
|
void * |
data | |
|
) |
| | [static] |
int photo_autodetect |
( |
photo_p |
photo |
) |
|
GPContext* photo_create_context |
( |
|
) |
|
int photo_open |
( |
photo_p |
photo, |
|
|
const char * |
model, |
|
|
const char * |
port | |
|
) |
| | |
Variable Documentation
CameraAbilitiesList* abilities = NULL [static] |