Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_database_params_t Struct Reference

#include <database.h>

+ Collaboration diagram for dt_database_params_t:

Data Fields

const char * alternative
 
const char * library
 
gboolean load_data
 
gboolean has_gui
 
gboolean verbose
 

Detailed Description

What identifies a connection. Fixed for as long as one is open; a different workspace means closing and opening again with a different set.

Definition at line 57 of file database.h.

Field Documentation

◆ alternative

const char* dt_database_params_t::alternative

Library file from the command line (--library), or NULL to use library.

Definition at line 60 of file database.h.

Referenced by dt_init().

◆ has_gui

gboolean dt_database_params_t::has_gui

There is a user to put a prompt to. Without it every prompt answers CLOSE.

Definition at line 67 of file database.h.

◆ library

const char* dt_database_params_t::library

Library file name as configured, e.g. "library.db". Relative names resolve against the user config directory; ":memory:" opens a throwaway in-memory database.

Definition at line 63 of file database.h.

◆ load_data

gboolean dt_database_params_t::load_data

Load the shipped presets and styles into data.db when creating it.

Definition at line 65 of file database.h.

◆ verbose

gboolean dt_database_params_t::verbose

Trace every statement and every maintenance decision (-d sql). Read once, here: the module does not consult the debug flags at runtime.

Definition at line 70 of file database.h.


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