blob: d4d101cad73fd852c4efc631ac38b66687275260 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef APLWC_H
#define APLWC_H
#include <stdint.h>
#include <stddef.h>
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);
void 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 */
|