libgphoto2 photo camera library (libgphoto2) Internals  2.5.23
_CameraFileInfoFile Struct Reference

File information of a regular file. More...

#include <gphoto2-filesys.h>

Data Fields

CameraFileInfoFields fields
 Bitmask containing the set members. More...
 
CameraFileStatus status
 Status of the file. More...
 
uint64_t size
 Size of the file. More...
 
char type [64]
 MIME type of the file. More...
 
uint32_t width
 Height of the file. More...
 
uint32_t height
 Width of the file. More...
 
CameraFilePermissions permissions
 Permissions of the file. More...
 
time_t mtime
 Modification time of the file. More...
 

Detailed Description

File information of a regular file.

Contains information a regular file with fields being set depending on the bitmask in the fields member.

Definition at line 95 of file gphoto2-filesys.h.

Field Documentation

◆ fields

CameraFileInfoFields _CameraFileInfoFile::fields

Bitmask containing the set members.

Definition at line 96 of file gphoto2-filesys.h.

Referenced by gp_camera_file_get_info(), gp_filesystem_get_info(), gp_filesystem_set_file_noop(), and gp_filesystem_set_info().

◆ height

uint32_t _CameraFileInfoFile::height

Width of the file.

Definition at line 101 of file gphoto2-filesys.h.

◆ mtime

time_t _CameraFileInfoFile::mtime

Modification time of the file.

Definition at line 103 of file gphoto2-filesys.h.

Referenced by gp_filesystem_get_info(), and gp_filesystem_set_file_noop().

◆ permissions

CameraFilePermissions _CameraFileInfoFile::permissions

Permissions of the file.

Definition at line 102 of file gphoto2-filesys.h.

Referenced by gp_filesystem_set_info().

◆ size

uint64_t _CameraFileInfoFile::size

Size of the file.

Definition at line 98 of file gphoto2-filesys.h.

◆ status

CameraFileStatus _CameraFileInfoFile::status

Status of the file.

Definition at line 97 of file gphoto2-filesys.h.

◆ type

char _CameraFileInfoFile::type[64]

MIME type of the file.

Definition at line 99 of file gphoto2-filesys.h.

◆ width

uint32_t _CameraFileInfoFile::width

Height of the file.

Definition at line 100 of file gphoto2-filesys.h.


The documentation for this struct was generated from the following file: