diff options
author | midipix <writeonce@midipix.org> | 2020-04-30 01:26:47 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:02 +0000 |
commit | e0fd2a143d1ff76373786ced79c2af7cbcb28025 (patch) | |
tree | a1c2c238cf1d5af386cbb568ea61a54bd3183b91 /include | |
parent | 845037353c2db876f004f024b5b50cc18cb70a7a (diff) | |
download | tpax-e0fd2a143d1ff76373786ced79c2af7cbcb28025.tar.bz2 tpax-e0fd2a143d1ff76373786ced79c2af7cbcb28025.tar.xz |
library api: tpax_file_create_memory_snapshot(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/tpax/tpax.h | 5 |
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); |