/*! \brief Typedef for dial option disable */
typedef int (*ast_dial_option_cb_disable)(void *data);
-/* Structure for 'ANSWER_EXEC' option */
+/*! \brief Structure for 'ANSWER_EXEC' option */
struct answer_exec_struct {
- char app[AST_MAX_APP]; /* Application name */
- char *args; /* Application arguments */
+ char app[AST_MAX_APP]; /*!< Application name */
+ char *args; /*!< Application arguments */
};
-/* Enable function for 'ANSWER_EXEC' option */
+/*! \brief Enable function for 'ANSWER_EXEC' option */
static void *answer_exec_enable(void *data)
{
struct answer_exec_struct *answer_exec = NULL;
return answer_exec;
}
-/* Disable function for 'ANSWER_EXEC' option */
+/*! \brief Disable function for 'ANSWER_EXEC' option */
static int answer_exec_disable(void *data)
{
struct answer_exec_struct *answer_exec = data;
return 0;
}
-/* Application execution function for 'ANSWER_EXEC' option */
+/*! \brief Application execution function for 'ANSWER_EXEC' option */
static void answer_exec_run(struct ast_channel *chan, char *app, char *args)
{
struct ast_app *ast_app = pbx_findapp(app);
{ AST_DIAL_OPTION_MAX, NULL, NULL }, /*!< Terminator of list */
};
-/* free the buffer if allocated, and set the pointer to the second arg */
+/*! \brief free the buffer if allocated, and set the pointer to the second arg */
#define S_REPLACE(s, new_val) \
do { \
if (s) \