diff options
author | João Valverde <j@v6e.pt> | 2023-01-20 10:14:38 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-01-20 10:16:20 +0000 |
commit | 597bcca9ee7c4e00da52bc3363b97381c9a516fc (patch) | |
tree | 1dd6db9c352ccfd032214a2c34ac3b34c8e0a846 /wsutil/filesystem.h | |
parent | d45a733258dea5297c59fce63f09a48aeb480bdf (diff) |
wsutil: Add get_docfile_path()
Diffstat (limited to 'wsutil/filesystem.h')
-rw-r--r-- | wsutil/filesystem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h index 627b7f55bb..19c9db81f7 100644 --- a/wsutil/filesystem.h +++ b/wsutil/filesystem.h @@ -136,6 +136,15 @@ WS_DLL_PUBLIC const char *get_doc_dir(void); * The returned file name was g_malloc()'d so it must be g_free()d when the * caller is done with it. */ +WS_DLL_PUBLIC char *get_docfile_path(const char *filename); + +/* + * Construct the path URL of a global documentation file, given the + * file name. + * + * The returned file name was g_malloc()'d so it must be g_free()d when the + * caller is done with it. + */ WS_DLL_PUBLIC char *doc_file_url(const char *filename); /* |