diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-12 23:43:35 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-12 23:43:35 -0500 |
commit | e92c218adfbcaa35591a0dd7bdc634a3187967f0 (patch) | |
tree | fc65bce72cbd1d709066c96587ec7f754962c43d /include/utils.h | |
parent | 3b9e0be6169b790b90ced5f03e2a4ddbf9be2a46 (diff) | |
download | stasis-e92c218adfbcaa35591a0dd7bdc634a3187967f0.tar.gz |
Add path_store function
Diffstat (limited to 'include/utils.h')
-rw-r--r-- | include/utils.h | 1 |
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 |