GNUnet 0.21.1
GetFileSizeData Struct Reference

Closure for the recursion to determine the file size of a directory. More...

Data Fields

uint64_t total
 Set to the total file size. More...
 
int include_sym_links
 GNUNET_YES if symbolic links should be included. More...
 
int single_file_mode
 GNUNET_YES if mode is file-only (return total == -1 for directories). More...
 

Detailed Description

Closure for the recursion to determine the file size of a directory.

Definition at line 81 of file disk.c.

Field Documentation

◆ total

uint64_t GetFileSizeData::total

Set to the total file size.

Definition at line 86 of file disk.c.

Referenced by get_size_rec(), and GNUNET_DISK_file_size().

◆ include_sym_links

int GetFileSizeData::include_sym_links

GNUNET_YES if symbolic links should be included.

Definition at line 91 of file disk.c.

Referenced by get_size_rec(), and GNUNET_DISK_file_size().

◆ single_file_mode

int GetFileSizeData::single_file_mode

GNUNET_YES if mode is file-only (return total == -1 for directories).

Definition at line 96 of file disk.c.

Referenced by get_size_rec(), and GNUNET_DISK_file_size().


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