Classes | Macros | Typedefs | Functions
photo.h File Reference
#include <gphoto2/gphoto2-camera.h>
#include <gphoto2/gphoto2-port-log.h>
#include <gphoto2/gphoto2-setting.h>
#include <gphoto2/gphoto2-filesys.h>
#include <photo/photo_image.h>
Include dependency graph for photo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  photo_t
 

Macros

#define PHOTO_MODE_DIRECT   0
 
#define PHOTO_MODE_TO_FILE   1
 

Typedefs

typedef struct photo_tphoto_p
 

Functions

int photo_autodetect (photo_p photo)
 
int photo_capture (photo_p photo, photo_image_p image)
 
int photo_capture_to_file (photo_p photo, const char *filename)
 
int photo_close (photo_p photo)
 
void photo_free (photo_p photo)
 
int photo_get_config (photo_p photo, const char *param, char **value)
 
photo_p photo_initialize (void)
 
int photo_open (photo_p photo, const char *model, const char *port)
 
int photo_set_config (photo_p photo, const char *param, const char *value)
 

Macro Definition Documentation

◆ PHOTO_MODE_DIRECT

#define PHOTO_MODE_DIRECT   0

Definition at line 49 of file photo.h.

◆ PHOTO_MODE_TO_FILE

#define PHOTO_MODE_TO_FILE   1

Definition at line 50 of file photo.h.

Typedef Documentation

◆ photo_p

typedef struct photo_t * photo_p

Function Documentation

◆ photo_autodetect()

int photo_autodetect ( photo_p  photo)

◆ photo_capture()

int photo_capture ( photo_p  photo,
photo_image_p  image 
)

◆ photo_capture_to_file()

int photo_capture_to_file ( photo_p  photo,
const char *  filename 
)

◆ photo_close()

int photo_close ( photo_p  photo)

◆ photo_free()

void photo_free ( photo_p  photo)

◆ photo_get_config()

int photo_get_config ( photo_p  photo,
const char *  param,
char **  value 
)

◆ photo_initialize()

photo_p photo_initialize ( void  )

◆ photo_open()

int photo_open ( photo_p  photo,
const char *  model,
const char *  port 
)

◆ photo_set_config()

int photo_set_config ( photo_p  photo,
const char *  param,
const char *  value 
)


photo
Author(s): Benjamin Pitzer
autogenerated on Mon Feb 28 2022 23:12:30