aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-12 23:43:35 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-12 23:43:35 -0500
commite92c218adfbcaa35591a0dd7bdc634a3187967f0 (patch)
treefc65bce72cbd1d709066c96587ec7f754962c43d /include/utils.h
parent3b9e0be6169b790b90ced5f03e2a4ddbf9be2a46 (diff)
downloadstasis-e92c218adfbcaa35591a0dd7bdc634a3187967f0.tar.gz
Add path_store function
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index 4816a31..f0400fb 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -33,6 +33,7 @@ char *find_program(const char *name);
int touch(const char *filename);
int git_clone(struct Process *proc, char *url, char *destdir, char *gitref);
char *git_describe(const char *path);
+int path_store(char **destptr, size_t maxlen, const char *base, const char *path);
#define OMC_MSG_SUCCESS 0
#define OMC_MSG_NOP 1 << 0