return NULL;
}
-struct lbx_state *lbx_open(const char *path)
-{
- struct lbx_state *new = NULL;
- FILE *f;
-
- if ((f = fopen(path, "rb"))) {
- const char *name = strrchr(path, '/');
- new = lbx_fopen(f, name ? name+1 : path);
- } else {
- lbx_errno = -errno;
- }
-
- return new;
-}
-
size_t lbx_numfiles(struct lbx_state *lbx)
{
return lbx->nfiles;