call ast_register_application properly
authorJeremy McNamara <jj@nufone.net>
Tue, 11 Nov 2003 07:56:13 +0000 (07:56 +0000)
committerJeremy McNamara <jj@nufone.net>
Tue, 11 Nov 2003 07:56:13 +0000 (07:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1720 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_skel.c

index 8ca4113..3556025 100755 (executable)
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-
 #include <pthread.h>
 
-
 static char *tdesc = "Trivial skeleton Application";
-
 static char *app = "skel";
+static char *synopsis = 
+"  This is a skeleton application that shows you the basic structure to create your\n"
+"own asterisk applications.\n";
 
 STANDARD_LOCAL_USER;
 
@@ -54,7 +54,7 @@ int unload_module(void)
 
 int load_module(void)
 {
-       return ast_register_application(app, skel_exec);
+       return ast_register_application(app, skel_exec, synopsis, tdesc);
 }
 
 char *description(void)