Add info struct for stable
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 11 Apr 2010 22:19:46 +0300
changeset 11 32564a4369f2
parent 10 b0511d0cd16e
child 12 2de470098bd7
Add info struct for stable
templatecmd.c
--- a/templatecmd.c	Wed Apr 07 22:02:05 2010 +0300
+++ b/templatecmd.c	Sun Apr 11 22:19:46 2010 +0300
@@ -35,13 +35,7 @@
 
 static module_info_t info_templatecmd_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,
@@ -50,7 +44,7 @@
 	.next        = NULL,
 };
 
-module_info_t info_templatecmd = {
+static module_info_t info_templatecmd_dev = {
 	.branch      = "dev",
 	.api         = 13,
 	.version     = PROJECT_VERSION,
@@ -61,6 +55,17 @@
 	.next        = &info_templatecmd_experimental,
 };
 
+module_info_t info_templatecmd = {
+	.branch      = "0.10.0",
+	.api         = 1,
+	.version     = PROJECT_VERSION,
+	.description = DESCRIPTION,
+	.requires    = NULL,
+	.init        = tcmd_init,
+	.uninit      = tcmd_uninit,
+	.next        = &info_templatecmd_dev,
+};
+
 typedef struct {
 	gchar    *name;
 #ifdef HAVE_CMD_ID