summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h
index c39f721..8d6183b 100644
--- a/include/tpax/tpax.h
+++ b/include/tpax/tpax.h
@@ -66,6 +66,8 @@ enum tpax_custom_error {
TPAX_ERR_NULL_CONTEXT,
TPAX_ERR_BAD_DATA,
TPAX_ERR_FORBIDDEN_PATH,
+ TPAX_ERR_FILE_CHANGED,
+ TPAX_ERR_REGION_SIZE,
TPAX_ERR_CAP,
};
@@ -161,6 +163,9 @@ tpax_api int tpax_output_error_vector (const struct tpax_driver_ctx *);
tpax_api int tpax_init_ustar_header (const struct tpax_driver_ctx *, const char *, const struct stat *,
const char *, struct tpax_ustar_header *);
+tpax_api int tpax_file_create_memory_snapshot (const struct tpax_driver_ctx *, const char *,
+ const struct stat *, void *);
+
/* package info */
tpax_api const struct tpax_source_version * tpax_source_version(void);