summaryrefslogtreecommitdiff
path: root/src/aplwc.h
blob: 603e4f3e16b5c67784372b5cb23c5847bb881153 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef APLWC_H
#define APLWC_H

#include <stdint.h>
#include <stddef.h>

enum aplwc_rc {
	APLWC_OK,
	APLWC_NOT_IMPLEMENTED,
	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(struct aplwc *);

#define APLWC_MIN_MEM (128)

#endif /* APLWC_H */