#ifndef APLWC_H #define APLWC_H #include #include enum aplwc_rc { APLWC_OK, 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) #endif /* APLWC_H */