Add info struct for stable
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 11 Apr 2010 21:10:18 +0300
changeset 37 92c8a28f133e
parent 36 2910a8ca0d92
child 38 c398184bb752
Add info struct for stable
disco.c
--- a/disco.c	Wed Apr 07 21:11:20 2010 +0300
+++ b/disco.c	Sun Apr 11 21:10:18 2010 +0300
@@ -49,11 +49,7 @@
 
 static module_info_t info_disco_experimental = {
 	.branch      = "experimental",
-#ifndef HAVE_CMD_ID
-	.api         = 20,
-#else
-	.api         = 23,
-#endif
+	.api         = 27,
 	.version     = PROJECT_VERSION,
 	.description = DESCRIPTION,
 	.requires    = NULL,
@@ -62,7 +58,7 @@
 	.next        = NULL,
 };
 
-module_info_t info_disco = {
+static module_info_t info_disco_dev = {
 	.branch      = "dev",
 	.api         = 13,
 	.version     = PROJECT_VERSION,
@@ -73,6 +69,17 @@
 	.next        = &info_disco_experimental,
 };
 
+module_info_t info_disco = {
+	.branch      = "0.10.0",
+	.api         = 1,
+	.version     = PROJECT_VERSION,
+	.description = DESCRIPTION,
+	.requires    = NULL,
+	.init        = disco_init,
+	.uninit      = disco_uninit,
+	.next        = &info_disco_dev,
+};
+
 //
 // private types
 //