aboutsummaryrefslogtreecommitdiffstats
path: root/pack.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2020-09-12 00:53:08 +0100
committerTomasz Kramkowski <tk@the-tk.com>2020-09-12 00:53:08 +0100
commit62963a856d3e712b2e583feef8866844ec321cf2 (patch)
tree38af3c4715712aa8d4454b8da86c56ff92c6da79 /pack.h
parent23f2ddf2695fe4180538c940ccc6d368fc5ed1f6 (diff)
downloadpack-62963a856d3e712b2e583feef8866844ec321cf2.tar.gz
pack-62963a856d3e712b2e583feef8866844ec321cf2.tar.xz
pack-62963a856d3e712b2e583feef8866844ec321cf2.zip
Implement a basic pack function
Diffstat (limited to 'pack.h')
-rw-r--r--pack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pack.h b/pack.h
index c68b861..b8139d5 100644
--- a/pack.h
+++ b/pack.h
@@ -20,6 +20,7 @@ extern enum pack_trace {
PACK_TRACE_ALL,
} pack_trace;
+enum pack_status pack(void *dest, size_t size, const char *fmt, ...);
enum pack_status unpack(const void *buf, size_t size, const char *fmt, ...);
const char *pack_strerror(enum pack_status status);