[asterisk-commits] kpfleming: branch kpfleming/constify r195988 - in /team/kpfleming/constify: a...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 21 13:20:59 CDT 2009
Author: kpfleming
Date: Thu May 21 13:20:51 2009
New Revision: 195988
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=195988
Log:
bring partially up to date, and change data argument for PBX applications to 'const char *'
Modified:
team/kpfleming/constify/apps/app_adsiprog.c
team/kpfleming/constify/apps/app_alarmreceiver.c
team/kpfleming/constify/apps/app_amd.c
team/kpfleming/constify/apps/app_authenticate.c
team/kpfleming/constify/apps/app_cdr.c
team/kpfleming/constify/apps/app_chanisavail.c
team/kpfleming/constify/apps/app_channelredirect.c
team/kpfleming/constify/apps/app_chanspy.c
team/kpfleming/constify/apps/app_confbridge.c
team/kpfleming/constify/apps/app_controlplayback.c
team/kpfleming/constify/apps/app_dahdibarge.c
team/kpfleming/constify/apps/app_dahdiras.c
team/kpfleming/constify/apps/app_db.c
team/kpfleming/constify/apps/app_dial.c
team/kpfleming/constify/apps/app_dictate.c
team/kpfleming/constify/apps/app_directed_pickup.c
team/kpfleming/constify/apps/app_directory.c
team/kpfleming/constify/apps/app_disa.c
team/kpfleming/constify/apps/app_dumpchan.c
team/kpfleming/constify/apps/app_echo.c
team/kpfleming/constify/apps/app_exec.c
team/kpfleming/constify/apps/app_externalivr.c
team/kpfleming/constify/apps/app_fax.c
team/kpfleming/constify/apps/app_festival.c
team/kpfleming/constify/apps/app_flash.c
team/kpfleming/constify/apps/app_followme.c
team/kpfleming/constify/apps/app_forkcdr.c
team/kpfleming/constify/apps/app_getcpeid.c
team/kpfleming/constify/apps/app_ices.c
team/kpfleming/constify/apps/app_image.c
team/kpfleming/constify/apps/app_ivrdemo.c
team/kpfleming/constify/apps/app_jack.c
team/kpfleming/constify/apps/app_macro.c
team/kpfleming/constify/apps/app_meetme.c
team/kpfleming/constify/apps/app_milliwatt.c
team/kpfleming/constify/apps/app_minivm.c
team/kpfleming/constify/apps/app_mixmonitor.c
team/kpfleming/constify/apps/app_morsecode.c
team/kpfleming/constify/apps/app_mp3.c
team/kpfleming/constify/apps/app_nbscat.c
team/kpfleming/constify/apps/app_originate.c
team/kpfleming/constify/apps/app_page.c
team/kpfleming/constify/apps/app_parkandannounce.c
team/kpfleming/constify/apps/app_playback.c
team/kpfleming/constify/apps/app_playtones.c
team/kpfleming/constify/apps/app_privacy.c
team/kpfleming/constify/apps/app_queue.c
team/kpfleming/constify/apps/app_read.c
team/kpfleming/constify/apps/app_readexten.c
team/kpfleming/constify/apps/app_readfile.c
team/kpfleming/constify/apps/app_record.c
team/kpfleming/constify/apps/app_sayunixtime.c
team/kpfleming/constify/apps/app_senddtmf.c
team/kpfleming/constify/apps/app_sendtext.c
team/kpfleming/constify/apps/app_setcallerid.c
team/kpfleming/constify/apps/app_skel.c
team/kpfleming/constify/apps/app_sms.c
team/kpfleming/constify/apps/app_softhangup.c
team/kpfleming/constify/apps/app_speech_utils.c
team/kpfleming/constify/apps/app_stack.c
team/kpfleming/constify/apps/app_system.c
team/kpfleming/constify/apps/app_talkdetect.c
team/kpfleming/constify/apps/app_test.c
team/kpfleming/constify/apps/app_transfer.c
team/kpfleming/constify/apps/app_url.c
team/kpfleming/constify/apps/app_userevent.c
team/kpfleming/constify/apps/app_verbose.c
team/kpfleming/constify/apps/app_voicemail.c
team/kpfleming/constify/apps/app_waitforring.c
team/kpfleming/constify/apps/app_waitforsilence.c
team/kpfleming/constify/apps/app_waituntil.c
team/kpfleming/constify/apps/app_while.c
team/kpfleming/constify/apps/app_zapateller.c
team/kpfleming/constify/channels/chan_agent.c
team/kpfleming/constify/channels/chan_dahdi.c
team/kpfleming/constify/channels/chan_iax2.c
team/kpfleming/constify/channels/chan_misdn.c
team/kpfleming/constify/channels/chan_sip.c
team/kpfleming/constify/funcs/func_odbc.c
team/kpfleming/constify/funcs/func_strings.c
team/kpfleming/constify/include/asterisk/module.h
team/kpfleming/constify/include/asterisk/pbx.h
team/kpfleming/constify/main/features.c
team/kpfleming/constify/main/pbx.c
team/kpfleming/constify/res/res_agi.c
team/kpfleming/constify/res/res_jabber.c
team/kpfleming/constify/res/res_monitor.c
team/kpfleming/constify/res/res_musiconhold.c
team/kpfleming/constify/res/res_odbc.c
team/kpfleming/constify/utils/conf2ael.c
Modified: team/kpfleming/constify/apps/app_adsiprog.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_adsiprog.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_adsiprog.c (original)
+++ team/kpfleming/constify/apps/app_adsiprog.c Thu May 21 13:20:51 2009
@@ -1562,7 +1562,7 @@
return 0;
}
-static int adsi_exec(struct ast_channel *chan, const void *data)
+static int adsi_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
Modified: team/kpfleming/constify/apps/app_alarmreceiver.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_alarmreceiver.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_alarmreceiver.c (original)
+++ team/kpfleming/constify/apps/app_alarmreceiver.c Thu May 21 13:20:51 2009
@@ -564,7 +564,7 @@
* This is the main function called by Asterisk Core whenever the App is invoked in the extension logic.
* This function will always return 0.
*/
-static int alarmreceiver_exec(struct ast_channel *chan, const void *data)
+static int alarmreceiver_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
event_node_t *elp, *efree;
Modified: team/kpfleming/constify/apps/app_amd.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_amd.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_amd.c (original)
+++ team/kpfleming/constify/apps/app_amd.c Thu May 21 13:20:51 2009
@@ -143,7 +143,7 @@
/* Set to the lowest ms value provided in amd.conf or application parameters */
static int dfltMaxWaitTimeForFrame = 50;
-static void isAnsweringMachine(struct ast_channel *chan, const void *data)
+static void isAnsweringMachine(struct ast_channel *chan, const char *data)
{
int res = 0;
struct ast_frame *f = NULL;
@@ -404,7 +404,7 @@
}
-static int amd_exec(struct ast_channel *chan, const void *data)
+static int amd_exec(struct ast_channel *chan, const char *data)
{
isAnsweringMachine(chan, data);
Modified: team/kpfleming/constify/apps/app_authenticate.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_authenticate.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_authenticate.c (original)
+++ team/kpfleming/constify/apps/app_authenticate.c Thu May 21 13:20:51 2009
@@ -105,7 +105,7 @@
</application>
***/
-static int auth_exec(struct ast_channel *chan, const void *data)
+static int auth_exec(struct ast_channel *chan, const char *data)
{
int res = 0, retries, maxdigits;
char passwd[256], *prompt = "agent-pass", *argcopy = NULL;
Modified: team/kpfleming/constify/apps/app_cdr.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_cdr.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_cdr.c (original)
+++ team/kpfleming/constify/apps/app_cdr.c Thu May 21 13:20:51 2009
@@ -46,7 +46,7 @@
static const char nocdr_app[] = "NoCDR";
-static int nocdr_exec(struct ast_channel *chan, const void *data)
+static int nocdr_exec(struct ast_channel *chan, const char *data)
{
if (chan->cdr)
ast_set_flag(chan->cdr, AST_CDR_FLAG_POST_DISABLED);
Modified: team/kpfleming/constify/apps/app_chanisavail.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_chanisavail.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_chanisavail.c (original)
+++ team/kpfleming/constify/apps/app_chanisavail.c Thu May 21 13:20:51 2009
@@ -92,7 +92,7 @@
</application>
***/
-static int chanavail_exec(struct ast_channel *chan, const void *data)
+static int chanavail_exec(struct ast_channel *chan, const char *data)
{
int inuse=-1, option_state=0, string_compare=0, option_all_avail=0;
int status;
Modified: team/kpfleming/constify/apps/app_channelredirect.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_channelredirect.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_channelredirect.c (original)
+++ team/kpfleming/constify/apps/app_channelredirect.c Thu May 21 13:20:51 2009
@@ -62,7 +62,7 @@
***/
static char *app = "ChannelRedirect";
-static int asyncgoto_exec(struct ast_channel *chan, const void *data)
+static int asyncgoto_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
char *info;
Modified: team/kpfleming/constify/apps/app_chanspy.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_chanspy.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_chanspy.c (original)
+++ team/kpfleming/constify/apps/app_chanspy.c Thu May 21 13:20:51 2009
@@ -963,7 +963,7 @@
return res;
}
-static int chanspy_exec(struct ast_channel *chan, const void *data)
+static int chanspy_exec(struct ast_channel *chan, const char *data)
{
char *myenforced = NULL;
char *mygroup = NULL;
@@ -1078,7 +1078,7 @@
return res;
}
-static int extenspy_exec(struct ast_channel *chan, const void *data)
+static int extenspy_exec(struct ast_channel *chan, const char *data)
{
char *ptr, *exten = NULL;
char *mygroup = NULL;
@@ -1198,7 +1198,7 @@
return res;
}
-static int dahdiscan_exec(struct ast_channel *chan, const void *data)
+static int dahdiscan_exec(struct ast_channel *chan, const char *data)
{
const char *spec = "DAHDI";
struct ast_flags flags;
Modified: team/kpfleming/constify/apps/app_confbridge.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_confbridge.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_confbridge.c (original)
+++ team/kpfleming/constify/apps/app_confbridge.c Thu May 21 13:20:51 2009
@@ -683,7 +683,7 @@
}
/*! \brief The ConfBridge application */
-static int confbridge_exec(struct ast_channel *chan, const void *data)
+static int confbridge_exec(struct ast_channel *chan, const char *data)
{
int res = 0, volume_adjustments[2];
char *parse;
Modified: team/kpfleming/constify/apps/app_controlplayback.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_controlplayback.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_controlplayback.c (original)
+++ team/kpfleming/constify/apps/app_controlplayback.c Thu May 21 13:20:51 2009
@@ -125,7 +125,7 @@
return 0;
}
-static int controlplayback_exec(struct ast_channel *chan, const void *data)
+static int controlplayback_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
int skipms = 0;
Modified: team/kpfleming/constify/apps/app_dahdibarge.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_dahdibarge.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_dahdibarge.c (original)
+++ team/kpfleming/constify/apps/app_dahdibarge.c Thu May 21 13:20:51 2009
@@ -258,7 +258,7 @@
return ret;
}
-static int conf_exec(struct ast_channel *chan, const void *data)
+static int conf_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
int retrycnt = 0;
Modified: team/kpfleming/constify/apps/app_dahdiras.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_dahdiras.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_dahdiras.c (original)
+++ team/kpfleming/constify/apps/app_dahdiras.c Thu May 21 13:20:51 2009
@@ -187,7 +187,7 @@
ast_safe_fork_cleanup();
}
-static int dahdiras_exec(struct ast_channel *chan, const void *data)
+static int dahdiras_exec(struct ast_channel *chan, const char *data)
{
int res=-1;
char *args;
Modified: team/kpfleming/constify/apps/app_db.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_db.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_db.c (original)
+++ team/kpfleming/constify/apps/app_db.c Thu May 21 13:20:51 2009
@@ -83,7 +83,7 @@
static char *d_app = "DBdel";
static char *dt_app = "DBdeltree";
-static int deltree_exec(struct ast_channel *chan, const void *data)
+static int deltree_exec(struct ast_channel *chan, const char *data)
{
char *argv, *family, *keytree;
@@ -114,7 +114,7 @@
return 0;
}
-static int del_exec(struct ast_channel *chan, const void *data)
+static int del_exec(struct ast_channel *chan, const char *data)
{
char *argv, *family, *key;
static int deprecation_warning = 0;
Modified: team/kpfleming/constify/apps/app_dial.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_dial.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_dial.c (original)
+++ team/kpfleming/constify/apps/app_dial.c Thu May 21 13:20:51 2009
@@ -1633,7 +1633,7 @@
bconfig->end_bridge_callback_data = originator;
}
-static int dial_exec_full(struct ast_channel *chan, const void *data, struct ast_flags64 *peerflags, int *continue_exec)
+static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast_flags64 *peerflags, int *continue_exec)
{
int res = -1; /* default: error */
char *rest, *cur; /* scan the list of destinations */
@@ -2422,7 +2422,7 @@
return res;
}
-static int dial_exec(struct ast_channel *chan, const void *data)
+static int dial_exec(struct ast_channel *chan, const char *data)
{
struct ast_flags64 peerflags;
@@ -2431,7 +2431,7 @@
return dial_exec_full(chan, data, &peerflags, NULL);
}
-static int retrydial_exec(struct ast_channel *chan, const void *data)
+static int retrydial_exec(struct ast_channel *chan, const char *data)
{
char *parse;
const char *context = NULL;
Modified: team/kpfleming/constify/apps/app_dictate.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_dictate.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_dictate.c (original)
+++ team/kpfleming/constify/apps/app_dictate.c Thu May 21 13:20:51 2009
@@ -81,7 +81,7 @@
return res;
}
-static int dictate_exec(struct ast_channel *chan, const void *data)
+static int dictate_exec(struct ast_channel *chan, const char *data)
{
char *path = NULL, filein[256], *filename = "";
char *parse;
Modified: team/kpfleming/constify/apps/app_directed_pickup.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_directed_pickup.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_directed_pickup.c (original)
+++ team/kpfleming/constify/apps/app_directed_pickup.c Thu May 21 13:20:51 2009
@@ -262,7 +262,7 @@
}
/* application entry point for Pickup() */
-static int pickup_exec(struct ast_channel *chan, const void *data)
+static int pickup_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *tmp = ast_strdupa(data);
@@ -291,7 +291,7 @@
}
/* application entry point for PickupChan() */
-static int pickupchan_exec(struct ast_channel *chan, const void *data)
+static int pickupchan_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *tmp = ast_strdupa(data);
Modified: team/kpfleming/constify/apps/app_directory.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_directory.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_directory.c (original)
+++ team/kpfleming/constify/apps/app_directory.c Thu May 21 13:20:51 2009
@@ -714,7 +714,7 @@
return res;
}
-static int directory_exec(struct ast_channel *chan, const void *data)
+static int directory_exec(struct ast_channel *chan, const char *data)
{
int res = 0, digit = 3;
struct ast_config *cfg, *ucfg;
Modified: team/kpfleming/constify/apps/app_disa.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_disa.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_disa.c (original)
+++ team/kpfleming/constify/apps/app_disa.c Thu May 21 13:20:51 2009
@@ -140,7 +140,7 @@
}
}
-static int disa_exec(struct ast_channel *chan, const void *data)
+static int disa_exec(struct ast_channel *chan, const char *data)
{
int i = 0, j, k = 0, did_ignore = 0, special_noanswer = 0;
int firstdigittimeout = (chan->pbx ? chan->pbx->rtimeoutms : 20000);
Modified: team/kpfleming/constify/apps/app_dumpchan.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_dumpchan.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_dumpchan.c (original)
+++ team/kpfleming/constify/apps/app_dumpchan.c Thu May 21 13:20:51 2009
@@ -147,7 +147,7 @@
return 0;
}
-static int dumpchan_exec(struct ast_channel *chan, const void *data)
+static int dumpchan_exec(struct ast_channel *chan, const char *data)
{
struct ast_str *vars = ast_str_thread_get(&ast_str_thread_global_buf, 16);
char info[1024];
Modified: team/kpfleming/constify/apps/app_echo.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_echo.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_echo.c (original)
+++ team/kpfleming/constify/apps/app_echo.c Thu May 21 13:20:51 2009
@@ -48,7 +48,7 @@
static char *app = "Echo";
-static int echo_exec(struct ast_channel *chan, const void *data)
+static int echo_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
int format;
Modified: team/kpfleming/constify/apps/app_exec.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_exec.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_exec.c (original)
+++ team/kpfleming/constify/apps/app_exec.c Thu May 21 13:20:51 2009
@@ -129,7 +129,7 @@
static char *app_tryexec = "TryExec";
static char *app_execif = "ExecIf";
-static int exec_exec(struct ast_channel *chan, const void *data)
+static int exec_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *s, *appname, *endargs;
@@ -163,7 +163,7 @@
return res;
}
-static int tryexec_exec(struct ast_channel *chan, const void *data)
+static int tryexec_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *s, *appname, *endargs;
@@ -198,7 +198,7 @@
return 0;
}
-static int execif_exec(struct ast_channel *chan, const void *data)
+static int execif_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *truedata = NULL, *falsedata = NULL, *end, *firstcomma, *firstquestion;
Modified: team/kpfleming/constify/apps/app_externalivr.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_externalivr.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_externalivr.c (original)
+++ team/kpfleming/constify/apps/app_externalivr.c Thu May 21 13:20:51 2009
@@ -311,7 +311,7 @@
return entry;
}
-static int app_exec(struct ast_channel *chan, const void *data)
+static int app_exec(struct ast_channel *chan, const char *data)
{
struct ast_flags flags = { 0, };
char *opts[0];
Modified: team/kpfleming/constify/apps/app_fax.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_fax.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_fax.c (original)
+++ team/kpfleming/constify/apps/app_fax.c Thu May 21 13:20:51 2009
@@ -705,7 +705,7 @@
/* === Application functions === */
-static int sndfax_exec(struct ast_channel *chan, const void *data)
+static int sndfax_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *parse;
@@ -749,7 +749,7 @@
return res;
}
-static int rcvfax_exec(struct ast_channel *chan, const void *data)
+static int rcvfax_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *parse;
Modified: team/kpfleming/constify/apps/app_festival.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_festival.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_festival.c (original)
+++ team/kpfleming/constify/apps/app_festival.c Thu May 21 13:20:51 2009
@@ -264,7 +264,7 @@
return res;
}
-static int festival_exec(struct ast_channel *chan, const void *vdata)
+static int festival_exec(struct ast_channel *chan, const char *vdata)
{
int usecache;
int res = 0;
Modified: team/kpfleming/constify/apps/app_flash.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_flash.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_flash.c (original)
+++ team/kpfleming/constify/apps/app_flash.c Thu May 21 13:20:51 2009
@@ -72,7 +72,7 @@
return j;
}
-static int flash_exec(struct ast_channel *chan, const void *data)
+static int flash_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
int x;
Modified: team/kpfleming/constify/apps/app_followme.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_followme.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_followme.c (original)
+++ team/kpfleming/constify/apps/app_followme.c Thu May 21 13:20:51 2009
@@ -997,7 +997,7 @@
bconfig->end_bridge_callback_data = originator;
}
-static int app_exec(struct ast_channel *chan, const void *data)
+static int app_exec(struct ast_channel *chan, const char *data)
{
struct fm_args targs = { 0, };
struct ast_bridge_config config;
Modified: team/kpfleming/constify/apps/app_forkcdr.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_forkcdr.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_forkcdr.c (original)
+++ team/kpfleming/constify/apps/app_forkcdr.c Thu May 21 13:20:51 2009
@@ -226,7 +226,7 @@
ast_set_flag(cdr, AST_CDR_FLAG_CHILD | AST_CDR_FLAG_LOCKED);
}
-static int forkcdr_exec(struct ast_channel *chan, const void *data)
+static int forkcdr_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *argcopy = NULL;
Modified: team/kpfleming/constify/apps/app_getcpeid.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_getcpeid.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_getcpeid.c (original)
+++ team/kpfleming/constify/apps/app_getcpeid.c Thu May 21 13:20:51 2009
@@ -61,7 +61,7 @@
return ast_adsi_print(chan, tmp, justify, voice);
}
-static int cpeid_exec(struct ast_channel *chan, const void *idata)
+static int cpeid_exec(struct ast_channel *chan, const char *idata)
{
int res=0;
unsigned char cpeid[4];
Modified: team/kpfleming/constify/apps/app_ices.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_ices.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_ices.c (original)
+++ team/kpfleming/constify/apps/app_ices.c Thu May 21 13:20:51 2009
@@ -104,7 +104,7 @@
_exit(0);
}
-static int ices_exec(struct ast_channel *chan, const void *data)
+static int ices_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
int fds[2];
Modified: team/kpfleming/constify/apps/app_image.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_image.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_image.c (original)
+++ team/kpfleming/constify/apps/app_image.c Thu May 21 13:20:51 2009
@@ -69,7 +69,7 @@
</application>
***/
-static int sendimage_exec(struct ast_channel *chan, const void *data)
+static int sendimage_exec(struct ast_channel *chan, const char *data)
{
if (ast_strlen_zero(data)) {
Modified: team/kpfleming/constify/apps/app_ivrdemo.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_ivrdemo.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_ivrdemo.c (original)
+++ team/kpfleming/constify/apps/app_ivrdemo.c Thu May 21 13:20:51 2009
@@ -93,7 +93,7 @@
{ NULL },
});
-static int skel_exec(struct ast_channel *chan, const void *data)
+static int skel_exec(struct ast_channel *chan, const char *data)
{
int res=0;
char *tmp;
Modified: team/kpfleming/constify/apps/app_jack.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_jack.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_jack.c (original)
+++ team/kpfleming/constify/apps/app_jack.c Thu May 21 13:20:51 2009
@@ -740,7 +740,7 @@
return 0;
}
-static int jack_exec(struct ast_channel *chan, const void *data)
+static int jack_exec(struct ast_channel *chan, const char *data)
{
struct jack_data *jack_data;
Modified: team/kpfleming/constify/apps/app_macro.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_macro.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_macro.c (original)
+++ team/kpfleming/constify/apps/app_macro.c Thu May 21 13:20:51 2009
@@ -216,7 +216,7 @@
return NULL;
}
-static int _macro_exec(struct ast_channel *chan, const void *data, int exclusive)
+static int _macro_exec(struct ast_channel *chan, const char *data, int exclusive)
{
const char *s;
char *tmp;
@@ -575,17 +575,17 @@
return res;
}
-static int macro_exec(struct ast_channel *chan, const void *data)
+static int macro_exec(struct ast_channel *chan, const char *data)
{
return _macro_exec(chan, data, 0);
}
-static int macroexclusive_exec(struct ast_channel *chan, const void *data)
+static int macroexclusive_exec(struct ast_channel *chan, const char *data)
{
return _macro_exec(chan, data, 1);
}
-static int macroif_exec(struct ast_channel *chan, const void *data)
+static int macroif_exec(struct ast_channel *chan, const char *data)
{
char *expr = NULL, *label_a = NULL, *label_b = NULL;
int res = 0;
@@ -610,7 +610,7 @@
return res;
}
-static int macro_exit_exec(struct ast_channel *chan, const void *data)
+static int macro_exit_exec(struct ast_channel *chan, const char *data)
{
return MACRO_EXIT_RESULT;
}
Modified: team/kpfleming/constify/apps/app_meetme.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_meetme.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_meetme.c (original)
+++ team/kpfleming/constify/apps/app_meetme.c Thu May 21 13:20:51 2009
@@ -876,7 +876,7 @@
};
-static int admin_exec(struct ast_channel *chan, const void *data);
+static int admin_exec(struct ast_channel *chan, const char *data);
static void *recordthread(void *args);
static char *istalking(int x)
@@ -3600,7 +3600,7 @@
}
/*! \brief The MeetmeCount application */
-static int count_exec(struct ast_channel *chan, const void *data)
+static int count_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
struct ast_conference *conf;
@@ -3646,7 +3646,7 @@
}
/*! \brief The meetme() application */
-static int conf_exec(struct ast_channel *chan, const void *data)
+static int conf_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
char confno[MAX_CONFNUM] = "";
@@ -3921,7 +3921,7 @@
/*! \brief The MeetMeadmin application */
/* MeetMeAdmin(confno, command, caller) */
-static int admin_exec(struct ast_channel *chan, const void *data) {
+static int admin_exec(struct ast_channel *chan, const char *data) {
char *params;
struct ast_conference *cnf;
struct ast_conf_user *user = NULL;
@@ -4103,7 +4103,7 @@
/*--- channel_admin_exec: The MeetMeChannelAdmin application */
/* MeetMeChannelAdmin(channel, command) */
-static int channel_admin_exec(struct ast_channel *chan, const void *data) {
+static int channel_admin_exec(struct ast_channel *chan, const char *data) {
char *params;
struct ast_conference *conf = NULL;
struct ast_conf_user *user = NULL;
@@ -5553,7 +5553,7 @@
return trunk_ref;
}
-static int sla_station_exec(struct ast_channel *chan, const void *data)
+static int sla_station_exec(struct ast_channel *chan, const char *data)
{
char *station_name, *trunk_name;
struct sla_station *station;
@@ -5760,7 +5760,7 @@
AST_APP_OPTION_ARG('M', SLA_TRUNK_OPT_MOH, SLA_TRUNK_OPT_ARG_MOH_CLASS),
END_OPTIONS );
-static int sla_trunk_exec(struct ast_channel *chan, const void *data)
+static int sla_trunk_exec(struct ast_channel *chan, const char *data)
{
char conf_name[MAX_CONFNUM];
struct ast_conference *conf;
Modified: team/kpfleming/constify/apps/app_milliwatt.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_milliwatt.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_milliwatt.c (original)
+++ team/kpfleming/constify/apps/app_milliwatt.c Thu May 21 13:20:51 2009
@@ -139,7 +139,7 @@
return -1;
}
-static int milliwatt_exec(struct ast_channel *chan, const void *data)
+static int milliwatt_exec(struct ast_channel *chan, const char *data)
{
const char *options = data;
struct ast_app *playtones_app;
Modified: team/kpfleming/constify/apps/app_minivm.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_minivm.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_minivm.c (original)
+++ team/kpfleming/constify/apps/app_minivm.c Thu May 21 13:20:51 2009
@@ -1922,7 +1922,7 @@
/*!\internal
* \brief Send MWI using interal Asterisk event subsystem */
-static int minivm_mwi_exec(struct ast_channel *chan, const void *data)
+static int minivm_mwi_exec(struct ast_channel *chan, const char *data)
{
int argc;
char *argv[4];
@@ -1964,7 +1964,7 @@
/*!\internal
* \brief Notify voicemail account owners - either generic template or user specific */
-static int minivm_notify_exec(struct ast_channel *chan, const void *data)
+static int minivm_notify_exec(struct ast_channel *chan, const char *data)
{
int argc;
char *argv[2];
@@ -2044,7 +2044,7 @@
/*!\internal
* \brief Dialplan function to record voicemail */
-static int minivm_record_exec(struct ast_channel *chan, const void *data)
+static int minivm_record_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char *tmp;
@@ -2101,7 +2101,7 @@
/*!\internal
* \brief Play voicemail prompts - either generic or user specific */
-static int minivm_greet_exec(struct ast_channel *chan, const void *data)
+static int minivm_greet_exec(struct ast_channel *chan, const char *data)
{
struct leave_vm_options leave_options = { 0, '\0'};
int argc;
@@ -2288,7 +2288,7 @@
/*!\internal
* \brief Dialplan application to delete voicemail */
-static int minivm_delete_exec(struct ast_channel *chan, const void *data)
+static int minivm_delete_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char filename[BUFSIZ];
@@ -2326,7 +2326,7 @@
}
/*! \brief Record specific messages for voicemail account */
-static int minivm_accmess_exec(struct ast_channel *chan, const void *data)
+static int minivm_accmess_exec(struct ast_channel *chan, const char *data)
{
int argc = 0;
char *argv[2];
Modified: team/kpfleming/constify/apps/app_mixmonitor.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_mixmonitor.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_mixmonitor.c (original)
+++ team/kpfleming/constify/apps/app_mixmonitor.c Thu May 21 13:20:51 2009
@@ -322,7 +322,7 @@
ast_pthread_create_detached_background(&thread, NULL, mixmonitor_thread, mixmonitor);
}
-static int mixmonitor_exec(struct ast_channel *chan, const void *data)
+static int mixmonitor_exec(struct ast_channel *chan, const char *data)
{
int x, readvol = 0, writevol = 0;
struct ast_flags flags = {0};
@@ -403,7 +403,7 @@
return 0;
}
-static int stop_mixmonitor_exec(struct ast_channel *chan, const void *data)
+static int stop_mixmonitor_exec(struct ast_channel *chan, const char *data)
{
ast_audiohook_detach_source(chan, mixmonitor_spy_type);
return 0;
Modified: team/kpfleming/constify/apps/app_morsecode.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_morsecode.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_morsecode.c (original)
+++ team/kpfleming/constify/apps/app_morsecode.c Thu May 21 13:20:51 2009
@@ -118,7 +118,7 @@
ast_playtones_stop(chan);
}
-static int morsecode_exec(struct ast_channel *chan, const void *data)
+static int morsecode_exec(struct ast_channel *chan, const char *data)
{
int res=0, ditlen, tone;
const char *digit;
Modified: team/kpfleming/constify/apps/app_mp3.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_mp3.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_mp3.c (original)
+++ team/kpfleming/constify/apps/app_mp3.c Thu May 21 13:20:51 2009
@@ -117,7 +117,7 @@
}
-static int mp3_exec(struct ast_channel *chan, const void *data)
+static int mp3_exec(struct ast_channel *chan, const char *data)
{
int res=0;
int fds[2];
Modified: team/kpfleming/constify/apps/app_nbscat.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_nbscat.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_nbscat.c (original)
+++ team/kpfleming/constify/apps/app_nbscat.c Thu May 21 13:20:51 2009
@@ -105,7 +105,7 @@
}
-static int NBScat_exec(struct ast_channel *chan, const void *data)
+static int NBScat_exec(struct ast_channel *chan, const char *data)
{
int res=0;
int fds[2];
Modified: team/kpfleming/constify/apps/app_originate.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_originate.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_originate.c (original)
+++ team/kpfleming/constify/apps/app_originate.c Thu May 21 13:20:51 2009
@@ -89,7 +89,7 @@
</application>
***/
-static int originate_exec(struct ast_channel *chan, const void *data)
+static int originate_exec(struct ast_channel *chan, const char *data)
{
AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(tech_data);
Modified: team/kpfleming/constify/apps/app_page.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_page.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_page.c (original)
+++ team/kpfleming/constify/apps/app_page.c Thu May 21 13:20:51 2009
@@ -118,7 +118,7 @@
});
-static int page_exec(struct ast_channel *chan, const void *data)
+static int page_exec(struct ast_channel *chan, const char *data)
{
char *tech, *resource, *tmp;
char meetmeopts[88], originator[AST_CHANNEL_NAME], *opts[0];
Modified: team/kpfleming/constify/apps/app_parkandannounce.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_parkandannounce.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_parkandannounce.c (original)
+++ team/kpfleming/constify/apps/app_parkandannounce.c Thu May 21 13:20:51 2009
@@ -85,7 +85,7 @@
static char *app = "ParkAndAnnounce";
-static int parkandannounce_exec(struct ast_channel *chan, const void *data)
+static int parkandannounce_exec(struct ast_channel *chan, const char *data)
{
int res = -1;
int lot, timeout = 0, dres;
Modified: team/kpfleming/constify/apps/app_playback.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_playback.c?view=diff&rev=195988&r1=195987&r2=195988
==============================================================================
--- team/kpfleming/constify/apps/app_playback.c (original)
+++ team/kpfleming/constify/apps/app_playback.c Thu May 21 13:20:51 2009
@@ -415,7 +415,7 @@
AST_CLI_DEFINE(__say_cli_init, "Set or show the say mode"),
};
-static int playback_exec(struct ast_channel *chan, const void *data)
+static int playback_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
int mres = 0;
Modified: team/kpfleming/constify/apps/app_playtones.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/kpfleming/constify/apps/app_playtones.c?view=diff&rev=195988&r1=195987&r2=195988
[... 1512 lines stripped ...]
More information about the asterisk-commits
mailing list