summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h
index 00271cb..fa685c3 100644
--- a/include/tpax/tpax.h
+++ b/include/tpax/tpax.h
@@ -1,6 +1,7 @@
#ifndef TPAX_H
#define TPAX_H
+#include <regex.h>
#include <stdint.h>
#include <stddef.h>
#include <sys/stat.h>
@@ -172,6 +173,9 @@ tpax_api int tpax_archive_seal (const struct tpax_driver_ctx *);
tpax_api int tpax_util_path_copy (char *, const char *, size_t, uint32_t, size_t *);
tpax_api int tpax_util_stat_compare (const struct stat *, const struct stat *);
+tpax_api int tpax_util_path_replstr (char * dstpath, const char * srcpath, const char * replstr,
+ const regex_t * regex, size_t buflen, int flags);
+
/* utility api */
tpax_api int tpax_main (char **, char **,
const struct tpax_fd_ctx *);