X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/97ae1755d995159117c16a9410f696b936d3d4f0..cc58652bf808568b935ca755d4360aa0f1aedfed:/src/lbx.h diff --git a/src/lbx.h b/src/lbx.h index 19848d2..89d4bb4 100644 --- a/src/lbx.h +++ b/src/lbx.h @@ -1,7 +1,7 @@ #ifndef LBX_H_ #define LBX_H_ -#include +#include /* Errors */ enum { @@ -9,6 +9,7 @@ enum { LBX_EMAGIC, LBX_EEOF, LBX_ERANGE, + LBX_EFORMAT, }; extern int lbx_errno; @@ -22,8 +23,8 @@ struct lbx_statbuf { /* Archive operations */ LBX *lbx_fopen(FILE *, const char *); -LBX *lbx_open(const char *); -void lbx_close(LBX *); +LBX *lbx_mopen(void *, size_t, const char *); +int lbx_close(LBX *); size_t lbx_numfiles(LBX *); /* File operations */