GNUnet 0.22.2
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 82 of file disk.c.

Field Documentation

◆ total

uint64_t GetFileSizeData::total

Set to the total file size.

Definition at line 87 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 92 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 97 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: