#include <gphoto2/gphoto2-context.h>
#include <gphoto2/gphoto2-list.h>
#include <gphoto2/gphoto2-port-info-list.h>
#include <gphoto2/gphoto2-port-log.h>
Include dependency graph for gphoto2-abilities-list.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
typedef struct _CameraAbilitiesList CameraAbilitiesList |
List of supported camera models including their abilities.
The internals of this list are hidden - use the access functions.
enum CameraDriverStatus |
Current implementation status of the camera driver.
enum CameraFileOperation |
A bitmask of image related operations of the device.
A bitmask of filesystem related operations of the device.
enum CameraOperation |
A bitmask of remote control related operations of the device. Some drivers might support additional dynamic capabilities (like the PTP driver).
enum GphotoDeviceType |
int gp_abilities_list_append | ( | CameraAbilitiesList * | list, | |
CameraAbilities | abilities | |||
) |
Append the abilities to the list.
list | CameraAbilitiesList | |
abilities | CameraAbilities |
int gp_abilities_list_count | ( | CameraAbilitiesList * | list | ) |
Count the entries in the supplied list.
list | a CameraAbilitiesList |
int gp_abilities_list_detect | ( | CameraAbilitiesList * | list, | |
GPPortInfoList * | info_list, | |||
CameraList * | l, | |||
GPContext * | context | |||
) |
list | a CameraAbilitiesList | |
info_list | the GPPortInfoList of ports to use for detection | |
l | a CameraList that contains the autodetected cameras after the call | |
context | a GPContext |
int gp_abilities_list_free | ( | CameraAbilitiesList * | list | ) |
Free the given CameraAbilitiesList object.
list | a CameraAbilitiesList |
int gp_abilities_list_get_abilities | ( | CameraAbilitiesList * | list, | |
int | index, | |||
CameraAbilities * | abilities | |||
) |
Retrieve the camera abilities of entry with supplied index number.
list | a CameraAbilitiesList | |
index | index | |
abilities | pointer to CameraAbilities for returned data. |
int gp_abilities_list_load | ( | CameraAbilitiesList * | list, | |
GPContext * | context | |||
) |
Scans the system for camera drivers.
list | a CameraAbilitiesList | |
context | a GPContext |
int gp_abilities_list_lookup_model | ( | CameraAbilitiesList * | list, | |
const char * | model | |||
) |
Search the list for an entry of given model name.
list | a CameraAbilitiesList | |
model | a camera model name |
int gp_abilities_list_new | ( | CameraAbilitiesList ** | list | ) |
Allocate the memory for a new abilities list.
Function to allocate the memory for a new abilities list.
list | CameraAbilitiesList object to initialize |
int gp_abilities_list_reset | ( | CameraAbilitiesList * | list | ) |
Reset the list.
list | a CameraAbilitiesList |
const char* gp_message_codeset | ( | const char * | codeset | ) |
Set the current character codeset libgphoto2 is operating in.
Set the codeset for all messages returned by libgphoto2.
codeset | New codeset for the messages. For instance "utf-8". |