aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-11-18 09:27:35 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-11-18 09:27:35 -0500
commita9d975389aaf5d79d738517b98161e375e757cba (patch)
tree634a4c1a4ddc9fe6b1a7748c980cbc48f58d624a /include/utils.h
parentf2cc2cee71c6d2fb0cdd5b7736e86efa4f999c0a (diff)
downloadstasis-a9d975389aaf5d79d738517b98161e375e757cba.tar.gz
Break down indexer into independent source files
* Generate test result output * Add helper function to manage changing file extensions
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index e26b3c5..87f28cc 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -408,4 +408,9 @@ char *find_version_spec(char *package_name);
*/
int env_manipulate_pathstr(const char *key, char *path, int mode);
+/**
+* Append or replace a file extension
+*/
+int gen_file_extension_str(char *filename, const char *extension);
+
#endif //STASIS_UTILS_H