X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/d670c462599c52c9ce94fd2738f032bce7ee8115..b84f8b917c2fef20418db29e0c915b0355a7faad:/src/lbx.h diff --git a/src/lbx.h b/src/lbx.h index 78e4502..b2a90ef 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; @@ -23,8 +24,7 @@ struct lbx_statbuf { /* Archive operations */ LBX *lbx_fopen(FILE *, const char *); LBX *lbx_mopen(void *, size_t, const char *); -LBX *lbx_open(const char *); -void lbx_close(LBX *); +int lbx_close(LBX *); size_t lbx_numfiles(LBX *); /* File operations */