[asterisk-commits] branch mogorman/asterisk-xmpp r18606 - in /team/mogorman/asterisk-xmpp: chann...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Apr 9 11:57:05 MST 2006


Author: mogorman
Date: Sun Apr  9 13:57:04 2006
New Revision: 18606

URL: http://svn.digium.com/view/asterisk?rev=18606&view=rev
Log:
loader update

Modified:
    team/mogorman/asterisk-xmpp/channels/chan_xmpp.c
    team/mogorman/asterisk-xmpp/include/asterisk/xmpp.h
    team/mogorman/asterisk-xmpp/res/res_stun.c
    team/mogorman/asterisk-xmpp/res/res_xmpp.c

Modified: team/mogorman/asterisk-xmpp/channels/chan_xmpp.c
URL: http://svn.digium.com/view/asterisk/team/mogorman/asterisk-xmpp/channels/chan_xmpp.c?rev=18606&r1=18605&r2=18606&view=diff
==============================================================================
--- team/mogorman/asterisk-xmpp/channels/chan_xmpp.c (original)
+++ team/mogorman/asterisk-xmpp/channels/chan_xmpp.c Sun Apr  9 13:57:04 2006
@@ -1183,13 +1183,13 @@
 	return usecnt;
 }
 
-char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }
 
-char *description()
-{
-	return (char *) desc;
-}
-
+const char *description()
+{
+	return desc;
+}
+

Modified: team/mogorman/asterisk-xmpp/include/asterisk/xmpp.h
URL: http://svn.digium.com/view/asterisk/team/mogorman/asterisk-xmpp/include/asterisk/xmpp.h?rev=18606&r1=18605&r2=18606&view=diff
==============================================================================
--- team/mogorman/asterisk-xmpp/include/asterisk/xmpp.h (original)
+++ team/mogorman/asterisk-xmpp/include/asterisk/xmpp.h Sun Apr  9 13:57:04 2006
@@ -168,7 +168,6 @@
 	\param description Help text, several lines
 */
 int ast_axi_register2(const char *action, int (*func)(struct axi_client *client,char *user, char *m,int type), const char *synopsis, const char *description);
-int ast_axi_jingle_register(int (*func)(struct axi_client *client, iks *node));
 int ast_axi_send(struct axi_client *client, char *address, char *message);
 int ast_axi_disconnect(struct axi_client *client);
 int ast_axi_check_roster(void);

Modified: team/mogorman/asterisk-xmpp/res/res_stun.c
URL: http://svn.digium.com/view/asterisk/team/mogorman/asterisk-xmpp/res/res_stun.c?rev=18606&r1=18605&r2=18606&view=diff
==============================================================================
--- team/mogorman/asterisk-xmpp/res/res_stun.c (original)
+++ team/mogorman/asterisk-xmpp/res/res_stun.c Sun Apr  9 13:57:04 2006
@@ -58,7 +58,7 @@
 
 LOCAL_USER_DECL;
 
-static char *tdesc = "STUN - Asterisk STUN Client Interface";
+static const char *tdesc = "STUN - Asterisk STUN Client Interface";
 
 static int open_port( unsigned int port, unsigned int srcip, int verbose)
 {
@@ -95,7 +95,7 @@
 	return 0;
 }
 
-char *description(void)
+const char *description(void)
 {
 	return tdesc;
 }
@@ -107,7 +107,7 @@
 	return res;
 }
 
-char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: team/mogorman/asterisk-xmpp/res/res_xmpp.c
URL: http://svn.digium.com/view/asterisk/team/mogorman/asterisk-xmpp/res/res_xmpp.c?rev=18606&r1=18605&r2=18606&view=diff
==============================================================================
--- team/mogorman/asterisk-xmpp/res/res_xmpp.c (original)
+++ team/mogorman/asterisk-xmpp/res/res_xmpp.c Sun Apr  9 13:57:04 2006
@@ -104,7 +104,7 @@
 	{{"xmpp", "no", "debug", NULL}, axi_no_debug,"Disable XMPP debug", no_debug_usage},
 	{{"xmpp", "test", NULL}, axi_test, "Shows roster, but is genearlly used for mog's debugging.", test_usage},
 };
-static char *tdesc = "AXI - Asterisk XMPP Interface";
+static const char *tdesc = "AXI - Asterisk XMPP Interface";
 
 static char *app_axisend = "XMPPSend";
 
@@ -1575,7 +1575,7 @@
 	}
 }
 
-char *description(void)
+const char *description(void)
 {
 	return tdesc;
 }
@@ -1587,7 +1587,7 @@
 	return res;
 }
 
-char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }



More information about the asterisk-commits mailing list