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

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

typedef enum {
	APLWC_OK,
	APLWC_NOT_IMPLEMENTED,
	APLWC_OUT_OF_MEMORY,
} AplwcRc;

typedef struct Aplwc Aplwc;

AplwcRc aplwc_new(Aplwc **, uint8_t *, size_t);
AplwcRc aplwc_destroy(Aplwc *);
const char *aplwc_errstr(Aplwc *);

#endif /* APLWC_H */