summaryrefslogtreecommitdiff
path: root/rpml.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-01 13:04:04 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-11-01 13:04:04 -0700
commit9e0ff569ee66e4031b697bbfab669412cf90cb8a (patch)
tree63423730ef69bdd076ad9a131199c57e8b01f32c /rpml.h
downloaddeltarpm-9e0ff569ee66e4031b697bbfab669412cf90cb8a.tar.gz
deltarpm-9e0ff569ee66e4031b697bbfab669412cf90cb8a.tar.bz2
deltarpm-9e0ff569ee66e4031b697bbfab669412cf90cb8a.zip
Imported Upstream version 3.5.gitupstream/3.5.gitupstream
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);
+