summaryrefslogtreecommitdiff
path: root/rpml.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpml.h')
-rw-r--r--rpml.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/rpml.h b/rpml.h
new file mode 100644
index 0000000..9adf915
--- /dev/null
+++ b/rpml.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2004 Michael Schroeder (mls@suse.de)
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+#include <stdio.h>
+
+struct rpmlfile {
+ char *name;
+ unsigned int mode;
+ unsigned int fflags;
+ unsigned char md5[16];
+};
+
+extern char *rpmlread(FILE *fp, char *fn, int nomagic, struct rpmlfile **filesp, int *nfilesp);
+