|
@@ -48,6 +48,12 @@ struct dpkg_version {
|
|
|
const char *revision;
|
|
const char *revision;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+/**
|
|
|
|
|
+ * Compound literal for a dpkg_version.
|
|
|
|
|
+ */
|
|
|
|
|
+#define DPKG_VERSION_OBJECT(e, v, r) \
|
|
|
|
|
+ (struct dpkg_version){ .epoch = (e), .version = (v), .revision = (r) }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Enum constants for the supported relation operations that can be done
|
|
* Enum constants for the supported relation operations that can be done
|
|
|
* on Debian versions.
|
|
* on Debian versions.
|