summaryrefslogtreecommitdiff
path: root/src/aplwc.h
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-08-08 15:38:35 +0000
committerpeter <peter@pmikkelsen.com>2026-08-08 15:38:35 +0000
commitb1d9069f57439bed333d83c7041871c54f0b8d97 (patch)
tree10048b0fc474a6e9ff91affc44455191a651cd5e /src/aplwc.h
parent059ecb51f46d5c86f8d9abbe3914d0a028725957 (diff)
Initial import of code
FossilOrigin-Name: 1bd90d4b94de6d63bd8639b8eae399c3dabf321e704ff08c03e99bbe6dfb7764
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 */