Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

gphoto2-camera.c File Reference


Detailed Description

Return value: a gphoto2 error code

Definition in file gphoto2-camera.c.

#include "config.h"
#include "gphoto2-camera.h"
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "gphoto2-context.h"
#include "gphoto2-result.h"
#include "gphoto2-library.h"
#include "gphoto2-port-log.h"

Go to the source code of this file.

Classes

struct  _CameraPrivateCore

Defines

#define _(String)   (String)
#define bindtextdomain(Domain, Directory)   (Domain)
#define CAMERA_UNUSED(c, ctx)
#define CHECK_CLOSE(c, ctx)
#define CHECK_INIT(c, ctx)
#define CHECK_NULL(r)   {if (!(r)) return (GP_ERROR_BAD_PARAMETERS);}
#define CHECK_OPEN(c, ctx)
#define CHECK_RESULT_OPEN_CLOSE(c, result, ctx)
#define CR(c, result, ctx)
#define CRS(c, res, ctx)
#define CRSL(c, res, ctx, list)
#define dcgettext(Domain, Message, Type)   (Message)
#define dgettext(Domain, Message)   (Message)
#define gettext(String)   (String)
#define N_(String)   (String)
#define textdomain(String)   (String)

Functions

int gp_camera_capture (Camera *camera, CameraCaptureType type, CameraFilePath *path, GPContext *context)
int gp_camera_capture_preview (Camera *camera, CameraFile *file, GPContext *context)
int gp_camera_exit (Camera *camera, GPContext *context)
int gp_camera_file_delete (Camera *camera, const char *folder, const char *file, GPContext *context)
int gp_camera_file_get (Camera *camera, const char *folder, const char *file, CameraFileType type, CameraFile *camera_file, GPContext *context)
int gp_camera_file_get_info (Camera *camera, const char *folder, const char *file, CameraFileInfo *info, GPContext *context)
int gp_camera_file_set_info (Camera *camera, const char *folder, const char *file, CameraFileInfo info, GPContext *context)
int gp_camera_folder_delete_all (Camera *camera, const char *folder, GPContext *context)
int gp_camera_folder_list_files (Camera *camera, const char *folder, CameraList *list, GPContext *context)
int gp_camera_folder_list_folders (Camera *camera, const char *folder, CameraList *list, GPContext *context)
int gp_camera_folder_put_file (Camera *camera, const char *folder, CameraFile *file, GPContext *context)
int gp_camera_free (Camera *camera)
int gp_camera_get_abilities (Camera *camera, CameraAbilities *abilities)
int gp_camera_get_about (Camera *camera, CameraText *about, GPContext *context)
int gp_camera_get_config (Camera *camera, CameraWidget **window, GPContext *context)
int gp_camera_get_manual (Camera *camera, CameraText *manual, GPContext *context)
int gp_camera_get_port_info (Camera *camera, GPPortInfo *info)
int gp_camera_get_port_speed (Camera *camera)
int gp_camera_get_summary (Camera *camera, CameraText *summary, GPContext *context)
int gp_camera_init (Camera *camera, GPContext *context)
int gp_camera_new (Camera **camera)
int gp_camera_ref (Camera *camera)
int gp_camera_set_abilities (Camera *camera, CameraAbilities abilities)
int gp_camera_set_config (Camera *camera, CameraWidget *window, GPContext *context)
int gp_camera_set_port_info (Camera *camera, GPPortInfo info)
int gp_camera_set_port_speed (Camera *camera, int speed)
int gp_camera_unref (Camera *camera)
in given @folder.
Return value: a gphoto2 error code

int gp_camera_folder_make_dir (Camera *camera, const char *folder, const char *name, GPContext *context)
from the given @folder.
Return value: a gphoto2 error code

int gp_camera_folder_remove_dir (Camera *camera, const char *folder, const char *name, GPContext *context)
void gp_camera_set_timeout_funcs (Camera *camera, CameraTimeoutStartFunc start_func, CameraTimeoutStopFunc stop_func, void *data)
int gp_camera_start_timeout (Camera *camera, unsigned int timeout, CameraTimeoutFunc func)
void gp_camera_stop_timeout (Camera *camera, unsigned int id)


Generated by  Doxygen 1.6.0   Back to index