]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbx.h
liblbx: Implement improved error reporting mechanism.
[liblbx.git] / src / lbx.h
index 3570803e4958c18284c45e8dd2bfc84d53a18430..6b7ca02ba4a609f41a732819d1e9cb36fa3e2669 100644 (file)
--- a/src/lbx.h
+++ b/src/lbx.h
@@ -3,16 +3,6 @@
 
 #include <stdio.h>
 
-/* Errors */
-enum {
-       LBX_ESUCCESS,
-       LBX_EMAGIC,
-       LBX_EEOF,
-       LBX_ERANGE,
-       LBX_EFORMAT,
-};
-extern int lbx_errno;
-
 struct lbx_file_ops {
        size_t (*read)(void *buf, size_t size, void *handle);
        int    (*seek)(void *handle, long offset, int whence);
@@ -60,7 +50,4 @@ long     lbx_file_tell(LBXfile *f);
 int      lbx_file_eof(LBXfile *f);
 void     lbx_file_close(LBXfile *f);
 
-/* Misc operations */
-const char *lbx_strerror(void);
-
 #endif