diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-04-26 12:07:39 +0200 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-04-26 12:07:39 +0200 |
| commit | 2991c0b3560781344488680625954aa3ef0893c6 (patch) | |
| tree | b5bc2048e83453e8c7b5a2d2677161c4cc4847f2 /src/config.h | |
| parent | d2fb6a8aac6abe5bfe4b4ea7f2528d119afbc8c6 (diff) | |
Create a "utils" module
Also put configuration macros in a dedicated header. In the future the
configuration will be read at execution time.
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..82ffd6a --- /dev/null +++ b/src/config.h @@ -0,0 +1,15 @@ +#ifndef CONFIG_H +#define CONFIG_H + +#ifndef FTAG_REMOTE_HOST +#define FTAG_REMOTE_HOST "localhost" +#endif + +#ifndef FTAG_REMOTE_ROOT +/* HOME on remote host */ +#define FTAG_REMOTE_ROOT "ftag" +#endif + +#define DATABASE_PATH FTAG_CACHE_DIR "/ftag.sqlite3" + +#endif |
