summaryrefslogtreecommitdiffstats
path: root/dpkgversions.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dpkgversions.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dpkgversions.h b/dpkgversions.h
new file mode 100644
index 0000000..b7e04bc
--- /dev/null
+++ b/dpkgversions.h
@@ -0,0 +1,13 @@
+#ifndef REPREPRO_DPKGVERSIONS_H
+#define REPREPRO_DPKGVERSIONS_H
+
+#ifndef REPREPRO_ERROR_H
+#include "error.h"
+#warning wth?
+#endif
+
+/* return error if those are not proper versions,
+ * otherwise RET_OK and result is <0, ==0 or >0, if first is smaller, equal or larger */
+retvalue dpkgversions_cmp(const char *, const char *, /*@out@*/int *);
+
+#endif