Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
paths.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define O_BINARY   0
 
#define DT_MAX_FILENAME_LEN   256
 
#define PATH_MAX   4096
 
#define DT_MAX_PATH_FOR_PARAMS   4096
 

Functions

void dt_concat_path_file (char destination[4096], const char path[4096], const char *const file)
 Append a constant filename to a variable, stack-based, fixed-sized, directory, and add a / in-between.
 

Macro Definition Documentation

◆ DT_MAX_FILENAME_LEN

#define DT_MAX_FILENAME_LEN   256

define for max path/filename length

Definition at line 35 of file paths.h.

◆ DT_MAX_PATH_FOR_PARAMS

#define DT_MAX_PATH_FOR_PARAMS   4096

Definition at line 54 of file paths.h.

◆ O_BINARY

#define O_BINARY   0

Definition at line 24 of file paths.h.

◆ PATH_MAX

#define PATH_MAX   4096

Definition at line 45 of file paths.h.

Function Documentation

◆ dt_concat_path_file()

void dt_concat_path_file ( char  destination[4096],
const char  path[4096],
const char *const  file 
)

Append a constant filename to a variable, stack-based, fixed-sized, directory, and add a / in-between.

Parameters
destination
variable
string

Referenced by _database_delete_mipmaps_files(), _database_init(), _database_migrate_to_xdg_structure(), dt_gui_gtk_init(), dt_mipmap_get_cache_filename(), dt_noiseprofile_init(), dt_opencl_device_init(), dt_opencl_load_program(), dt_opencl_md5sum(), dt_rawspeed_load_meta(), and dt_styles_save_to_file().