summaryrefslogtreecommitdiff
path: root/src/aplwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aplwc.h')
-rw-r--r--src/aplwc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/aplwc.h b/src/aplwc.h
index 7a90147..e01e38c 100644
--- a/src/aplwc.h
+++ b/src/aplwc.h
@@ -1,15 +1,18 @@
#ifndef APLWC_H
#define APLWC_H
+#include <stdint.h>
+#include <stddef.h>
+
typedef enum {
APLWC_OK,
APLWC_NOT_IMPLEMENTED,
- APLWC_MALLOC_FAILED,
+ APLWC_OUT_OF_MEMORY,
} AplwcRc;
typedef struct Aplwc Aplwc;
-AplwcRc aplwc_new(Aplwc **);
+AplwcRc aplwc_new(Aplwc **, uint8_t *, size_t);
AplwcRc aplwc_destroy(Aplwc *);
const char *aplwc_errstr(Aplwc *);