FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVIODirEntry Struct Reference

Describes single entry of the directory. More...

#include <avio.h>

Data Fields

char * name
 Filename. More...
 
int type
 Type of the entry. More...
 
int utf8
 Set to 1 when name is encoded with UTF-8, 0 otherwise. More...
 
int64_t size
 File size in bytes, -1 if unknown. More...
 
int64_t modification_timestamp
 Time of last modification in microseconds since unix epoch, -1 if unknown. More...
 
int64_t access_timestamp
 Time of last access in microseconds since unix epoch, -1 if unknown. More...
 
int64_t status_change_timestamp
 Time of last status change in microseconds since unix epoch, -1 if unknown. More...
 
int64_t user_id
 User ID of owner, -1 if unknown. More...
 
int64_t group_id
 Group ID of owner, -1 if unknown. More...
 
int64_t filemode
 Unix file mode, -1 if unknown. More...
 

Detailed Description

Describes single entry of the directory.

Only name and type fields are guaranteed be set. Rest of fields are protocol or/and platform dependent and might be unknown.

Definition at line 78 of file avio.h.

Field Documentation

char* AVIODirEntry::name

Filename.

Definition at line 79 of file avio.h.

Referenced by libsmbc_read_dir(), and main().

int AVIODirEntry::type

Type of the entry.

Definition at line 80 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int AVIODirEntry::utf8

Set to 1 when name is encoded with UTF-8, 0 otherwise.

Name can be encoded with UTF-8 eventhough 0 is set.

Definition at line 81 of file avio.h.

int64_t AVIODirEntry::size

File size in bytes, -1 if unknown.

Definition at line 83 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::modification_timestamp

Time of last modification in microseconds since unix epoch, -1 if unknown.

Definition at line 84 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::access_timestamp

Time of last access in microseconds since unix epoch, -1 if unknown.

Definition at line 86 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::status_change_timestamp

Time of last status change in microseconds since unix epoch, -1 if unknown.

Definition at line 88 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::user_id

User ID of owner, -1 if unknown.

Definition at line 90 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::group_id

Group ID of owner, -1 if unknown.

Definition at line 91 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().

int64_t AVIODirEntry::filemode

Unix file mode, -1 if unknown.

Definition at line 92 of file avio.h.

Referenced by ff_alloc_dir_entry(), libsmbc_read_dir(), and main().


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