]> git.draconx.ca Git - liblbx.git/blob - src/lbx.h
Implement stub list operation.
[liblbx.git] / src / lbx.h
1 #ifndef LBX_H_
2 #define LBX_H_
3
4 #include <stddef.h>
5
6 /* Errors */
7 enum {
8         LBX_ESUCCESS,
9         LBX_EMAGIC,
10         LBX_EEOF,
11 };
12 extern int lbx_errno;
13
14 /* Opaque */
15 typedef struct lbx_state LBX;
16
17 /* File operations */
18 LBX   *lbx_fopen(FILE *);
19 LBX   *lbx_open(const char *);
20 void   lbx_close(LBX *);
21 size_t lbx_numfiles(LBX *);
22
23 /* Misc operations */
24 const char *lbx_strerror(void);
25
26 #endif