Add info struct for stable
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 11 Apr 2010 22:25:24 +0300
changeset 14 026c65e3e7d8
parent 13 f4c15ad3cf93
child 15 383703f7af34
Add info struct for stable
yaubil.c
--- a/yaubil.c	Wed Apr 07 22:27:43 2010 +0300
+++ b/yaubil.c	Sun Apr 11 22:25:24 2010 +0300
@@ -38,13 +38,7 @@
 
 static module_info_t info_yaubil_experimental = {
 	.branch      = "experimental",
-#ifndef HAVE_CMD_ID
-	.api         = 20,
-#elif defined HAVE_CMD_SAFE
-	.api         = 24,
-#else
-	.api         = 23,
-#endif
+	.api         = 28,
 	.version     = PROJECT_VERSION,
 	.description = DESCRIPTION,
 	.requires    = NULL,
@@ -53,7 +47,7 @@
 	.next        = NULL,
 };
 
-module_info_t info_yaubil = {
+static module_info_t info_yaubil_dev = {
 	.branch      = "dev",
 	.api         = 13,
 	.version     = PROJECT_VERSION,
@@ -64,6 +58,17 @@
 	.next        = &info_yaubil_experimental,
 };
 
+module_info_t info_yaubil = {
+	.branch      = "0.10.0",
+	.api         = 1,
+	.version     = PROJECT_VERSION,
+	.description = DESCRIPTION,
+	.requires    = NULL,
+	.init        = yaubil_init,
+	.uninit      = yaubil_uninit,
+	.next        = &info_yaubil_dev,
+};
+
 #ifdef HAVE_CMD_ID
 static gpointer yaubil_multi_cmid = NULL;
 static gpointer yaubil_if_cmid    = NULL;