summaryrefslogtreecommitdiff
path: root/src/aplwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aplwc.h')
-rw-r--r--src/aplwc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/aplwc.h b/src/aplwc.h
index 603e4f3..9905411 100644
--- a/src/aplwc.h
+++ b/src/aplwc.h
@@ -6,14 +6,16 @@
enum aplwc_rc {
APLWC_OK,
- APLWC_NOT_IMPLEMENTED,
- APLWC_OUT_OF_MEMORY
+ APLWC_OUT_OF_MEMORY,
+
+ APLWC_RC_LAST = APLWC_OUT_OF_MEMORY
};
struct aplwc;
enum aplwc_rc aplwc_new(struct aplwc **, uint8_t *, size_t);
enum aplwc_rc aplwc_destroy(struct aplwc *);
+const char *aplwc_errstr_rc(enum aplwc_rc);
const char *aplwc_errstr(struct aplwc *);
#define APLWC_MIN_MEM (128)