diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-15 13:37:29 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-16 06:46:44 +0200 |
commit | f147b5439347e14bb8affc08ec9adbc3d25998fb (patch) | |
tree | 63c767c33eb2d95b15985eac81bd454bbac633c0 /src/utils.h | |
parent | 10c05a2422ac889b042482a8d0350d692d24c5bb (diff) | |
download | tdv-f147b5439347e14bb8affc08ec9adbc3d25998fb.tar.gz tdv-f147b5439347e14bb8affc08ec9adbc3d25998fb.tar.xz tdv-f147b5439347e14bb8affc08ec9adbc3d25998fb.zip |
sdgui: load dictionaries from sdtui configuration
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index b47daa9..1394f08 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,7 +1,7 @@ /* * utils.h: miscellaneous utilities * - * Copyright (c) 2013 - 2020, Přemysl Eric Janouch <p@janouch.name> + * Copyright (c) 2013 - 2021, Přemysl Eric Janouch <p@janouch.name> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. @@ -43,4 +43,11 @@ gchar *stream_read_string (GDataInputStream *dis, GError **error); gboolean xstrtoul (unsigned long *out, const char *s, int base); void fatal (const gchar *format, ...) G_GNUC_PRINTF (1, 2) G_GNUC_NORETURN; +gchar *resolve_relative_filename_generic + (gchar **paths, const gchar *tail, const gchar *filename); +gchar *resolve_relative_config_filename (const gchar *filename); +gchar *resolve_filename + (const gchar *filename, gchar *(*relative_cb) (const char *)); +GKeyFile *load_project_config_file (GError **error); + #endif // ! UTILS_H |