summaryrefslogtreecommitdiff
path: root/rdoff/rdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'rdoff/rdlib.h')
-rw-r--r--rdoff/rdlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rdoff/rdlib.h b/rdoff/rdlib.h
index 94592ce2..28c6ee73 100644
--- a/rdoff/rdlib.h
+++ b/rdoff/rdlib.h
@@ -11,8 +11,17 @@ struct librarynode {
extern int rdl_error;
+#define RDL_EOPEN 1
+#define RDL_EINVALID 2
+#define RDL_EVERSION 3
+#define RDL_ENOTFOUND 4
+
+int rdl_verify (const char * filename);
+int rdl_open (struct librarynode * lib, const char * filename);
int rdl_searchlib (struct librarynode * lib,
const char * label, rdffile * f);
+int rdl_openmodule (struct librarynode * lib, int module, rdffile * f);
+
void rdl_perror(const char *apname, const char *filename);