summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-04-30 01:26:47 -0400
committermidipix <writeonce@midipix.org>2020-05-23 05:59:02 +0000
commite0fd2a143d1ff76373786ced79c2af7cbcb28025 (patch)
treea1c2c238cf1d5af386cbb568ea61a54bd3183b91 /src/output
parent845037353c2db876f004f024b5b50cc18cb70a7a (diff)
downloadtpax-e0fd2a143d1ff76373786ced79c2af7cbcb28025.tar.bz2
tpax-e0fd2a143d1ff76373786ced79c2af7cbcb28025.tar.xz
library api: tpax_file_create_memory_snapshot(): initial implementation.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/tpax_output_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/tpax_output_error.c b/src/output/tpax_output_error.c
index 69c4938..de09f21 100644
--- a/src/output/tpax_output_error.c
+++ b/src/output/tpax_output_error.c
@@ -26,6 +26,8 @@ static const char * const tpax_error_strings[TPAX_ERR_CAP] = {
[TPAX_ERR_FLEE_ERROR] = "flees and bugs and cats and mice",
[TPAX_ERR_NULL_CONTEXT] = "null driver or unit context",
[TPAX_ERR_BAD_DATA] = "corrupt or wrong daata",
+ [TPAX_ERR_FILE_CHANGED] = "file has changed",
+ [TPAX_ERR_REGION_SIZE] = "file too large for a memory snapshot",
};
static const char * tpax_output_error_header(const struct tpax_error_info * erri)