Add info struct for stable
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 11 Apr 2010 21:56:02 +0300
changeset 16 42179abafd69
parent 15 522a4193ef2f
child 17 2d32adb7d44d
Add info struct for stable
marking.c
--- a/marking.c	Wed Apr 07 21:45:15 2010 +0300
+++ b/marking.c	Sun Apr 11 21:56:02 2010 +0300
@@ -40,11 +40,7 @@
 
 static module_info_t info_marking_experimental = {
 	.branch      = "experimental",
-#ifndef HAVE_CMD_ID
-	.api         = 20,
-#else
-	.api         = 23,
-#endif
+	.api         = 27,
 	.version     = PROJECT_VERSION,
 	.description = DESCRIPTION,
 	.requires    = NULL,
@@ -53,7 +49,7 @@
 	.next        = NULL,
 };
 
-module_info_t info_marking = {
+static module_info_t info_marking_dev = {
 	.branch      = "dev",
 	.api         = 13,
 	.version     = PROJECT_VERSION,
@@ -64,6 +60,17 @@
 	.next        = &info_marking_experimental,
 };
 
+module_info_t info_marking = {
+	.branch      = "0.10.0",
+	.api         = 1,
+	.version     = PROJECT_VERSION,
+	.description = DESCRIPTION,
+	.requires    = NULL,
+	.init        = marking_init,
+	.uninit      = marking_uninit,
+	.next        = &info_marking_dev,
+};
+
 #ifdef HAVE_CMD_ID
 static gpointer mark_cmid   = NULL;
 static gpointer marked_cmid = NULL;