Crate libgphoto2_sys

Source
Expand description

Bindings for libgphoto2 generated by rust-bindgen

Re-exports§

pub use self::_GPPortSerialParity as GPPortSerialParity;
pub use self::_GPPin as GPPin;
pub use self::_GPLevel as GPLevel;
pub use self::_GPContextFeedback as GPContextFeedback;

Structs§

CameraAbilities
CameraFileInfoFields
CameraFileOperation
CameraFilePath
CameraFilePermissions
CameraFileStatus
CameraFolderOperation
CameraOperation
CameraStorageInfoFields
CameraText
_Camera
_CameraAbilitiesList
_CameraFile
_CameraFileHandler
_CameraFileInfo
_CameraFileInfoAudio
_CameraFileInfoFile
_CameraFileInfoPreview
_CameraFilesystem
_CameraFilesystemFuncs
_CameraFunctions
_CameraList
_CameraPrivateCore
_CameraPrivateLibrary
_CameraStorageInformation
_CameraWidget
_GPContext
_GPPort
_GPPortInfo
_GPPortInfoList
_GPPortPrivateCore
_GPPortPrivateLibrary
_GPPortSettingsSerial
_GPPortSettingsUSB
_GPPortSettingsUsbDiskDirect
_GPPortSettingsUsbScsi
__fsid_t
__locale_data
__locale_struct
__va_list_tag
itimerspec
sigevent
timespec
tm

Enums§

CameraCaptureType
CameraDriverStatus
CameraEventType
CameraFileAccessType
CameraFileType
CameraStorageAccessType
CameraStorageFilesystemType
CameraStorageType
CameraWidgetType
GPLogLevel
GPPortType
GPVersionVerbosity
GphotoDeviceType
_GPContextFeedback
_GPLevel
_GPPin
_GPPortSerialParity
_bindgen_ty_1

Constants§

CLOCK_BOOTTIME
CLOCK_BOOTTIME_ALARM
CLOCK_MONOTONIC
CLOCK_MONOTONIC_COARSE
CLOCK_MONOTONIC_RAW
CLOCK_PROCESS_CPUTIME_ID
CLOCK_REALTIME
CLOCK_REALTIME_ALARM
CLOCK_REALTIME_COARSE
CLOCK_TAI
CLOCK_THREAD_CPUTIME_ID
GP_ERROR
GP_ERROR_BAD_PARAMETERS
GP_ERROR_CAMERA_BUSY
GP_ERROR_CAMERA_ERROR
GP_ERROR_CANCEL
GP_ERROR_CORRUPTED_DATA
GP_ERROR_DIRECTORY_EXISTS
GP_ERROR_DIRECTORY_NOT_FOUND
GP_ERROR_FILE_EXISTS
GP_ERROR_FILE_NOT_FOUND
GP_ERROR_FIXED_LIMIT_EXCEEDED
GP_ERROR_HAL
GP_ERROR_IO
GP_ERROR_IO_INIT
GP_ERROR_IO_LOCK
GP_ERROR_IO_READ
GP_ERROR_IO_SERIAL_SPEED
GP_ERROR_IO_SUPPORTED_SERIAL
GP_ERROR_IO_SUPPORTED_USB
GP_ERROR_IO_UPDATE
GP_ERROR_IO_USB_CLAIM
GP_ERROR_IO_USB_CLEAR_HALT
GP_ERROR_IO_USB_FIND
GP_ERROR_IO_WRITE
GP_ERROR_LIBRARY
GP_ERROR_MODEL_NOT_FOUND
GP_ERROR_NOT_SUPPORTED
GP_ERROR_NO_MEMORY
GP_ERROR_NO_SPACE
GP_ERROR_OS_FAILURE
GP_ERROR_PATH_NOT_ABSOLUTE
GP_ERROR_TIMEOUT
GP_ERROR_UNKNOWN_PORT
GP_MIME_ARW
GP_MIME_ASF
GP_MIME_AVCHD
GP_MIME_AVI
GP_MIME_BMP
GP_MIME_CR2
GP_MIME_CR3
GP_MIME_CRW
GP_MIME_EXIF
GP_MIME_JPEG
GP_MIME_MP3
GP_MIME_MPEG
GP_MIME_NEF
GP_MIME_OGG
GP_MIME_PGM
GP_MIME_PNG
GP_MIME_PNM
GP_MIME_PPM
GP_MIME_QUICKTIME
GP_MIME_RAW
GP_MIME_RW2
GP_MIME_TIFF
GP_MIME_TXT
GP_MIME_UNKNOWN
GP_MIME_WAV
GP_MIME_WMA
GP_OK
GP_PORT_MAX_BUF_LEN
GP_PORT_USB_ENDPOINT_IN
GP_PORT_USB_ENDPOINT_INT
GP_PORT_USB_ENDPOINT_OUT
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
PTRDIFF_MAX
PTRDIFF_MIN
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TIMER_ABSTIME
TIME_UTC
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
_ATFILE_SOURCE
_BITS_ENDIANNESS_H
_BITS_ENDIAN_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TIME_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_TYPES_LOCALE_T_H
_BITS_TYPES___LOCALE_T_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STRUCT_TIMESPEC
_SYS_CDEFS_H
_TIME_H
__BIG_ENDIAN
__BYTE_ORDER
__FD_SETSIZE
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__clock_t_defined
__clockid_t_defined
__glibc_c99_flexarr_available
__itimerspec_defined
__struct_tm_defined
__time_t_defined
__timer_t_defined

Statics§

__daylight
__timezone
__tzname
daylight
timezone
tzname

Functions§

asctime
asctime_r
camera_abilities
camera_id
camera_init
clock
clock_getcpuclockid
clock_getres
clock_gettime
clock_nanosleep
clock_settime
ctime
ctime_r
difftime
dysize
gmtime
gmtime_r
gp_abilities_list_append
gp_abilities_list_count
gp_abilities_list_detect
gp_abilities_list_free
gp_abilities_list_get_abilities
gp_abilities_list_load
gp_abilities_list_load_dir
gp_abilities_list_lookup_model
gp_abilities_list_new
gp_abilities_list_reset
gp_camera_autodetect
gp_camera_capture
gp_camera_capture_preview
gp_camera_exit
gp_camera_file_delete
gp_camera_file_get
gp_camera_file_get_info
gp_camera_file_read
gp_camera_file_set_info
gp_camera_folder_delete_all
gp_camera_folder_list_files
gp_camera_folder_list_folders
gp_camera_folder_make_dir
gp_camera_folder_put_file
gp_camera_folder_remove_dir
gp_camera_free
gp_camera_get_abilities
gp_camera_get_about
gp_camera_get_config
gp_camera_get_manual
gp_camera_get_port_info
gp_camera_get_port_speed
gp_camera_get_single_config
gp_camera_get_storageinfo
gp_camera_get_summary
gp_camera_init
gp_camera_list_config
gp_camera_new
gp_camera_ref
gp_camera_set_abilities
gp_camera_set_config
gp_camera_set_port_info
gp_camera_set_port_speed
gp_camera_set_single_config
gp_camera_set_timeout_funcs
gp_camera_start_timeout
gp_camera_stop_timeout
gp_camera_trigger_capture
gp_camera_unref
gp_camera_wait_for_event
gp_context_cancel
gp_context_error
gp_context_idle
gp_context_message
gp_context_new
gp_context_progress_start
gp_context_progress_stop
gp_context_progress_update
gp_context_question
gp_context_ref
gp_context_set_cancel_func
gp_context_set_error_func
gp_context_set_idle_func
gp_context_set_message_func
gp_context_set_progress_funcs
gp_context_set_question_func
gp_context_set_status_func
gp_context_status
gp_context_unref
gp_file_adjust_name_for_mime_type
gp_file_append
gp_file_clean
gp_file_copy
gp_file_detect_mime_type
gp_file_free
gp_file_get_data_and_size
gp_file_get_mime_type
gp_file_get_mtime
gp_file_get_name
gp_file_get_name_by_type
gp_file_new
gp_file_new_from_fd
gp_file_new_from_handler
gp_file_open
gp_file_ref
gp_file_save
gp_file_set_data_and_size
gp_file_set_mime_type
gp_file_set_mtime
gp_file_set_name
gp_file_slurp
gp_file_unref
gp_filesystem_append
gp_filesystem_count
gp_filesystem_delete_all
gp_filesystem_delete_file
gp_filesystem_delete_file_noop
gp_filesystem_dump
gp_filesystem_free
gp_filesystem_get_file
gp_filesystem_get_folder
gp_filesystem_get_info
gp_filesystem_get_storageinfo
gp_filesystem_list_files
gp_filesystem_list_folders
gp_filesystem_make_dir
gp_filesystem_name
gp_filesystem_new
gp_filesystem_number
gp_filesystem_put_file
gp_filesystem_read_file
gp_filesystem_remove_dir
gp_filesystem_reset
gp_filesystem_set_file_noop
gp_filesystem_set_funcs
gp_filesystem_set_info
gp_filesystem_set_info_dirty
gp_filesystem_set_info_noop
gp_init_localedir
gp_library_version
gp_list_append
gp_list_count
gp_list_find_by_name
gp_list_free
gp_list_get_name
gp_list_get_value
gp_list_new
gp_list_populate
gp_list_ref
gp_list_reset
gp_list_set_name
gp_list_set_value
gp_list_sort
gp_list_unref
gp_log
gp_log_add_func
gp_log_data
gp_log_remove_func
gp_log_with_source_location
gp_logv
gp_message_codeset
gp_port_check_int
gp_port_check_int_fast
gp_port_close
gp_port_flush
gp_port_free
gp_port_get_error
gp_port_get_info
gp_port_get_pin
gp_port_get_settings
gp_port_get_timeout
gp_port_info_get_library_filename
gp_port_info_get_name
gp_port_info_get_path
gp_port_info_get_type
gp_port_info_list_append
gp_port_info_list_count
gp_port_info_list_free
gp_port_info_list_get_info
gp_port_info_list_load
gp_port_info_list_lookup_name
gp_port_info_list_lookup_path
gp_port_info_list_new
gp_port_info_new
gp_port_info_set_library_filename
gp_port_info_set_name
gp_port_info_set_path
gp_port_info_set_type
gp_port_init_localedir
gp_port_library_version
gp_port_message_codeset
gp_port_new
gp_port_open
gp_port_read
gp_port_reset
gp_port_result_as_string
gp_port_seek
gp_port_send_break
gp_port_send_scsi_cmd
gp_port_set_error
gp_port_set_info
gp_port_set_pin
gp_port_set_settings
gp_port_set_timeout
gp_port_usb_clear_halt
gp_port_usb_find_device
gp_port_usb_find_device_by_class
gp_port_usb_msg_class_read
gp_port_usb_msg_class_write
gp_port_usb_msg_interface_read
gp_port_usb_msg_interface_write
gp_port_usb_msg_read
gp_port_usb_msg_write
gp_port_write
gp_result_as_string
gp_setting_get
gp_setting_set
gp_widget_add_choice
gp_widget_append
gp_widget_changed
gp_widget_count_children
gp_widget_count_choices
gp_widget_free
gp_widget_get_child
gp_widget_get_child_by_id
gp_widget_get_child_by_label
gp_widget_get_child_by_name
gp_widget_get_choice
gp_widget_get_id
gp_widget_get_info
gp_widget_get_label
gp_widget_get_name
gp_widget_get_parent
gp_widget_get_range
gp_widget_get_readonly
gp_widget_get_root
gp_widget_get_type
gp_widget_get_value
gp_widget_new
gp_widget_prepend
gp_widget_ref
gp_widget_set_changed
gp_widget_set_info
gp_widget_set_name
gp_widget_set_range
gp_widget_set_readonly
gp_widget_set_value
gp_widget_unref
localtime
localtime_r
mktime
nanosleep
strftime
strftime_l
time
timegm
timelocal
timer_create
timer_delete
timer_getoverrun
timer_gettime
timer_settime
timespec_get
tzset

Type Aliases§

Camera
CameraAbilitiesList
CameraAboutFunc
CameraCaptureFunc
CameraCapturePreviewFunc
CameraExitFunc
CameraFile
CameraFileHandler
CameraFileInfo
CameraFileInfoAudio
CameraFileInfoFile
CameraFileInfoPreview
CameraFilesystem
CameraFilesystemDeleteAllFunc
CameraFilesystemDeleteFileFunc
CameraFilesystemDirFunc
CameraFilesystemFuncs
CameraFilesystemGetFileFunc
CameraFilesystemGetInfoFunc
CameraFilesystemListFunc
CameraFilesystemPutFileFunc
CameraFilesystemReadFileFunc
CameraFilesystemSetInfoFunc
CameraFilesystemStorageInfoFunc
CameraFunctions
CameraGetConfigFunc
CameraGetSingleConfigFunc
CameraLibraryAbilitiesFunc
CameraLibraryIdFunc
CameraLibraryInitFunc
CameraList
CameraListConfigFunc
CameraManualFunc
CameraPrePostFunc
CameraPrivateCore
CameraPrivateLibrary
CameraSetConfigFunc
CameraSetSingleConfigFunc
CameraStorageInformation
CameraSummaryFunc
CameraTimeoutFunc
CameraTimeoutStartFunc
CameraTimeoutStopFunc
CameraTriggerCaptureFunc
CameraWaitForEvent
CameraWidget
CameraWidgetCallback
GPContext
GPContextCancelFunc
GPContextErrorFunc
GPContextIdleFunc
GPContextMessageFunc
GPContextProgressStartFunc
GPContextProgressStopFunc
GPContextProgressUpdateFunc
GPContextQuestionFunc
GPContextStatusFunc
GPLogFunc
GPPort
GPPortInfo
GPPortInfoList
GPPortPrivateCore
GPPortPrivateLibrary
GPPortSettings
GPPortSettingsSerial
GPPortSettingsUSB
GPPortSettingsUsbDiskDirect
GPPortSettingsUsbScsi
GPVersionFunc
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__locale_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
clock_t
clockid_t
gp_port
gp_port_settings
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
locale_t
pid_t
time_t
timer_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
va_list

Unions§

_GPPortSettings