summaryrefslogtreecommitdiff
path: root/src/aplwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aplwc.h')
-rw-r--r--src/aplwc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/aplwc.h b/src/aplwc.h
new file mode 100644
index 0000000..7a90147
--- /dev/null
+++ b/src/aplwc.h
@@ -0,0 +1,16 @@
+#ifndef APLWC_H
+#define APLWC_H
+
+typedef enum {
+ APLWC_OK,
+ APLWC_NOT_IMPLEMENTED,
+ APLWC_MALLOC_FAILED,
+} AplwcRc;
+
+typedef struct Aplwc Aplwc;
+
+AplwcRc aplwc_new(Aplwc **);
+AplwcRc aplwc_destroy(Aplwc *);
+const char *aplwc_errstr(Aplwc *);
+
+#endif /* APLWC_H */