const char * extension(dt_imageio_module_data_t *data)
gchar * dt_build_filename_from_pattern(const char *const filename, const int index, dt_image_t *img, dt_control_import_t *data)
Build a full path for a given image file, given a pattern.
char * dt_import_sequence_destination(dt_import_sequence_t *sequences, const dt_import_destination_t *request)
Expand and reserve a destination, retrying a sibling collision exactly once.
int dt_import_sequence_assign(dt_import_sequence_t *sequences, const char *filename)
Assign a capture number, retaining it even when subsequent expansion fails.
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
#define dt_free(ptr)
g_free() ptr and set it to NULL, skipping both if it is already NULL.
Borrowed inputs for one destination expansion.
dt_control_import_t * data
Job-local numbering and reservation state; table lifetime belongs to the worker.
const char * dt_util_path_get_extension(const char *path)
Locate a normal filename extension in a path basename.