From 2991c0b3560781344488680625954aa3ef0893c6 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 26 Apr 2026 12:07:39 +0200 Subject: Create a "utils" module Also put configuration macros in a dedicated header. In the future the configuration will be read at execution time. --- src/config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/config.h (limited to 'src/config.h') 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 -- cgit v1.2.3