]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
apps: Fix for Doxygen.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 15 Nov 2021 13:18:02 +0000 (14:18 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 18 Nov 2021 16:37:18 +0000 (10:37 -0600)
ASTERISK-29740

Change-Id: Icb6fbcfea0a5f1c82caa5001902b6a786adbf307

15 files changed:
apps/app_agent_pool.c
apps/app_alarmreceiver.c
apps/app_bridgewait.c
apps/app_chanspy.c
apps/app_confbridge.c
apps/app_dial.c
apps/app_jack.c
apps/app_meetme.c
apps/app_minivm.c
apps/app_mixmonitor.c
apps/app_page.c
apps/app_queue.c
apps/app_voicemail.c
apps/confbridge/conf_state.c
apps/confbridge/include/confbridge.h

index bb288991d7803feac267a0101203d57c0433b309..a283abf62d941a819ebc16ff5a8461d521cc45f0 100644 (file)
  *
  * See Also:
  * \arg \ref AstCREDITS
- * \arg \ref Config_agent
+ * \arg \ref agents.conf "Config_agent"
  */
+
+/*!
+ * \page agents.conf agents.conf
+ * \verbinclude agents.conf.sample
+ */
+
 /*** MODULEINFO
        <support_level>core</support_level>
  ***/
@@ -646,8 +652,6 @@ static struct ao2_container *agents;
  * \brief Lock the agent.
  *
  * \param agent Agent to lock
- *
- * \return Nothing
  */
 #define agent_lock(agent)      _agent_lock(agent, __FILE__, __PRETTY_FUNCTION__, __LINE__, #agent)
 static inline void _agent_lock(struct agent_pvt *agent, const char *file, const char *function, int line, const char *var)
@@ -659,8 +663,6 @@ static inline void _agent_lock(struct agent_pvt *agent, const char *file, const
  * \brief Unlock the agent.
  *
  * \param agent Agent to unlock
- *
- * \return Nothing
  */
 #define agent_unlock(agent)    _agent_unlock(agent, __FILE__, __PRETTY_FUNCTION__, __LINE__, #agent)
 static inline void _agent_unlock(struct agent_pvt *agent, const char *file, const char *function, int line, const char *var)
@@ -678,8 +680,6 @@ static inline void _agent_unlock(struct agent_pvt *agent, const char *file, cons
  * \note Assumes the agent lock is already obtained.
  *
  * \note Defined locking order is channel lock then agent lock.
- *
- * \return Nothing
  */
 static struct ast_channel *agent_lock_logged(struct agent_pvt *agent)
 {
@@ -744,8 +744,6 @@ static enum ast_device_state agent_pvt_devstate_get(const char *agent_id)
  * \since 12.0.0
  *
  * \param agent_id Which agent needs the device state updated.
- *
- * \return Nothing
  */
 static void agent_devstate_changed(const char *agent_id)
 {
@@ -1005,8 +1003,6 @@ AST_MUTEX_DEFINE_STATIC(agent_holding_lock);
  * \param payload_size Size of the payload if payload is non-NULL.  A number otherwise.
  *
  * \note The payload MUST NOT have any resources that need to be freed.
- *
- * \return Nothing
  */
 static void clear_agent_status(struct ast_bridge_channel *bridge_channel, const void *payload, size_t payload_size)
 {
@@ -1022,8 +1018,6 @@ static void clear_agent_status(struct ast_bridge_channel *bridge_channel, const
  * \param agent Which agent is connecting to the caller.
  *
  * \note The agent is locked on entry and not locked on exit.
- *
- * \return Nothing
  */
 static void agent_connect_caller(struct ast_bridge_channel *bridge_channel, struct agent_pvt *agent)
 {
@@ -1357,8 +1351,6 @@ static int bridge_agent_hold_push(struct ast_bridge *self, struct ast_bridge_cha
  * bridge_channel->bridge_pvt.
  *
  * \note On entry, self is already locked.
- *
- * \return Nothing
  */
 static void bridge_agent_hold_pull(struct ast_bridge *self, struct ast_bridge_channel *bridge_channel)
 {
@@ -1376,8 +1368,6 @@ static void bridge_agent_hold_pull(struct ast_bridge *self, struct ast_bridge_ch
  * references to the bridge so it can be destroyed.
  *
  * \note On entry, self must NOT be locked.
- *
- * \return Nothing
  */
 static void bridge_agent_hold_dissolving(struct ast_bridge *self)
 {
@@ -1469,8 +1459,6 @@ static void send_agent_logoff(struct ast_channel *chan, const char *agent, long
  * \param agent Which agent logging out.
  *
  * \note On entry agent is already locked.  On exit it is no longer locked.
- *
- * \return Nothing
  */
 static void agent_logout(struct agent_pvt *agent)
 {
@@ -1508,8 +1496,6 @@ static void agent_logout(struct agent_pvt *agent)
  *
  * \param agent Which agent.
  * \param logged The logged in channel.
- *
- * \return Nothing
  */
 static void agent_run(struct agent_pvt *agent, struct ast_channel *logged)
 {
@@ -2028,8 +2014,6 @@ static int agent_request_exec(struct ast_channel *chan, const char *data)
  *
  * \param agent What to setup channel config values on.
  * \param chan Channel logging in as an agent.
- *
- * \return Nothing
  */
 static void agent_login_channel_config(struct agent_pvt *agent, struct ast_channel *chan)
 {
index 3577360e1d283da932e3ca5365ffd592b5a838a5..c3d704428058bc372822be5e953c38973bd07b1d 100644 (file)
@@ -203,7 +203,6 @@ static char event_file[14] = "/event-XXXXXX";
  * family, then create it and set its value to 1.
  *
  * \param key A database key to increment
- * \return Nothing
  */
 static void database_increment(char *key)
 {
index b17cddfb2fed9d64d218771f4cfb90ce7bccc49e..9326ed14fb50c28b8e50fd6a70d0d2d991ac2851 100644 (file)
@@ -391,17 +391,6 @@ static void wait_wrapper_removal(struct wait_bridge_wrapper *wrapper)
        ao2_cleanup(wrapper);
 }
 
-/*!
- * \internal
- * \since 12.0.0
- * \brief Application callback for the bridgewait application
- *
- * \param chan channel running the application
- * \param data Arguments to the application
- *
- * \retval 0 Ran successfully and the call didn't hang up
- * \retval -1 Failed or the call was hung up by the time the channel exited the holding bridge
- */
 static enum wait_bridge_roles validate_role(const char *role)
 {
        if (!strcmp(role, "participant")) {
@@ -413,6 +402,17 @@ static enum wait_bridge_roles validate_role(const char *role)
        }
 }
 
+/*!
+ * \internal
+ * \since 12.0.0
+ * \brief Application callback for the bridgewait application
+ *
+ * \param chan channel running the application
+ * \param data Arguments to the application
+ *
+ * \retval 0 Ran successfully and the call didn't hang up
+ * \retval -1 Failed or the call was hung up by the time the channel exited the holding bridge
+ */
 static int bridgewait_exec(struct ast_channel *chan, const char *data)
 {
        char *bridge_name = DEFAULT_BRIDGE_NAME;
index c3a3f4d53b50b15d46dbe7383042a559eb1214f7..2d720ee5f9c677994d1210f98dcb316dec7ddbdb 100644 (file)
@@ -559,7 +559,7 @@ static int pack_channel_into_message(struct ast_channel *chan, const char *role,
  * \brief Publish the chanspy message over Stasis-Core
  * \param spyer The channel doing the spying
  * \param spyee Who is being spied upon
- * \start start If non-zero, the spying is starting. Otherwise, the spyer is
+ * \param start If non-zero, the spying is starting. Otherwise, the spyer is
  * finishing
  */
 static void publish_chanspy_message(struct ast_channel *spyer,
index 38a380a6bcc9ecf4843480e0a06530475936735f..40a2b4d765329d24d77fcb73f24f03605380c8ba 100644 (file)
@@ -797,8 +797,8 @@ struct confbridge_conference *conf_find_bridge(const char *conference_name)
  *
  * \note Must be called with the conference locked
  *
- * \retval 1, conference is recording.
- * \retval 0, conference is NOT recording.
+ * \retval 1 conference is recording.
+ * \retval 0 conference is NOT recording.
  */
 static int conf_is_recording(struct confbridge_conference *conference)
 {
@@ -980,7 +980,8 @@ static int sound_file_exists(const char *filename)
  * \param bridge_channel The bridged channel involved
  *
  * \note if caller is NULL, the announcment will be sent to all participants in the conference.
- * \return Returns 0 on success, -1 if the user hung up
+ * \retval 0 on success.
+ * \retval -1 if the user hung up.
  */
 static int announce_user_count(struct confbridge_conference *conference, struct confbridge_user *user,
                               struct ast_bridge_channel *bridge_channel)
@@ -1030,7 +1031,9 @@ static int announce_user_count(struct confbridge_conference *conference, struct
  * \param user User to play audio prompt to
  * \param filename Prompt to play
  *
- * \return Returns 0 on success, -1 if the user hung up
+ * \retval 0 on success.
+ * \retval -1 if the user hung up.
+ *
  * \note Generally this should be called when the conference is unlocked to avoid blocking
  * the entire conference while the sound is played. But don't unlock the conference bridge
  * in the middle of a state transition.
@@ -1167,8 +1170,6 @@ static void hangup_data_destroy(struct hangup_data *hangup)
  * \brief Destroy a conference bridge
  *
  * \param obj The conference bridge object
- *
- * \return Returns nothing
  */
 static void destroy_conference_bridge(void *obj)
 {
@@ -1389,8 +1390,6 @@ void conf_moh_start(struct confbridge_user *user)
  * \brief Unsuspend MOH for the conference user.
  *
  * \param user Conference user to unsuspend MOH on.
- *
- * \return Nothing
  */
 static void conf_moh_unsuspend(struct confbridge_user *user)
 {
@@ -1406,8 +1405,6 @@ static void conf_moh_unsuspend(struct confbridge_user *user)
  * \brief Suspend MOH for the conference user.
  *
  * \param user Conference user to suspend MOH on.
- *
- * \return Nothing
  */
 static void conf_moh_suspend(struct confbridge_user *user)
 {
@@ -4355,8 +4352,6 @@ void conf_remove_user_waiting(struct confbridge_conference *conference, struct c
  * \since 12.0.0
  *
  * \param tech What to unregister.
- *
- * \return Nothing
  */
 static void unregister_channel_tech(struct ast_channel_tech *tech)
 {
index c958dab6f186cfe3d4eae47fa69440e71bf77c0b..38b1b08aed40a46a4957d603a29c25a94bcba6af 100644 (file)
@@ -1167,8 +1167,6 @@ static void publish_dial_end_event(struct ast_channel *in, struct dial_head *out
  * \param chan Channel to get connected line updated.
  * \param peer Channel providing connected line information.
  * \param is_caller Non-zero if chan is the calling channel.
- *
- * \return Nothing
  */
 static void update_connected_line_from_peer(struct ast_channel *chan, struct ast_channel *peer, int is_caller)
 {
@@ -2191,8 +2189,6 @@ static int dial_handle_playtones(struct ast_channel *chan, const char *data)
  * \param peer Peer channel for bridge.
  * \param opts Dialing option flags.
  * \param opt_args Dialing option argument strings.
- *
- * \return Nothing
  */
 static void setup_peer_after_bridge_goto(struct ast_channel *chan, struct ast_channel *peer, struct ast_flags64 *opts, char *opt_args[])
 {
index 160997249a338b021afa40214aebdd73197396d9..1690521bbb386be4526a8d1637e3f60084740ae7 100644 (file)
@@ -615,8 +615,6 @@ static int queue_voice_frame(struct jack_data *jack_data, struct ast_frame *f)
  * Read data from the input ringbuffer, which is the properly resampled audio
  * that was read from the jack input port.  Write it to the channel in 20 ms frames,
  * or fill up an output frame instead if one is provided.
- *
- * \return Nothing.
  */
 static void handle_jack_audio(struct ast_channel *chan, struct jack_data *jack_data,
        struct ast_frame *out_frame)
index 7628a6710ab42d1ee32f45cab4605fcff92f59ad..24f54081fdc42d818db834799605c183c0a7f2a8 100644 (file)
@@ -1336,7 +1336,7 @@ static struct ast_json *status_to_json(int on)
  * \brief Generate a stasis message associated with a meetme event
  * \since 12.0.0
  *
- * \param meetme_confere The conference responsible for generating this message
+ * \param meetme_conference The conference responsible for generating this message
  * \param chan The channel involved in the message (NULL allowed)
  * \param user The conference user involved in the message (NULL allowed)
  * \param message_type the type the stasis message being generated
@@ -2963,7 +2963,8 @@ static void meetme_menu_admin(enum menu_modes *menu_mode, int *dtmf, struct ast_
  * \param confflags flags used by conf for various options
  * \param chan ast_channel belonging to the user who called the menu
  * \param user which meetme conference user invoked the menu
- * \param recordingtmp character buffer which may hold the name of the conference recording file
+ * \param recordingtmp, recordingtmp_size character buffer which may hold the name of the conference recording file
+ * \param cap_slin
  */
 static void meetme_menu_admin_extended(enum menu_modes *menu_mode, int *dtmf,
        struct ast_conference *conf, struct ast_flags64 *confflags, struct ast_channel *chan,
@@ -3150,7 +3151,8 @@ static void meetme_menu_admin_extended(enum menu_modes *menu_mode, int *dtmf,
  * \param confflags flags used by conf for various options
  * \param chan ast_channel belonging to the user who called the menu
  * \param user which meetme conference user invoked the menu
- * \param recordingtmp character buffer which may hold the name of the conference recording file
+ * \param recordingtmp,recordingtmp_size character buffer which may hold the name of the conference recording file
+ * \param cap_slin
  */
 static void meetme_menu(enum menu_modes *menu_mode, int *dtmf,
        struct ast_conference *conf, struct ast_flags64 *confflags, struct ast_channel *chan,
index 96948503cbdcd13e9c136b3856b11a5c815dbbac..8f1064e28d50a56dbc7e6b612c64bf566590500a 100644 (file)
@@ -26,7 +26,7 @@
  * based on the Comedian Mail voicemail system (app_voicemail.c).
  *
  * \par See also
- * \arg \ref Config_minivm_examples
+ * \arg \ref minivm.conf "Config_minivm"
  * \arg \ref App_minivm
  *
  * \ingroup applications
  *             - English, GB           en_gb
  *
  * \par See also
- * \arg \ref Config_minivm
+ * \arg \ref minivm.conf "Config_minivm"
  * \arg \ref Config_minivm_examples
  * \arg \ref Minivm_directories
  * \arg \ref app_minivm.c
  * \arg Comedian mail: app_voicemail.c
- * \arg \ref descrip_minivm_accmess
- * \arg \ref descrip_minivm_greet
- * \arg \ref descrip_minivm_record
- * \arg \ref descrip_minivm_delete
- * \arg \ref descrip_minivm_notify
+ * \arg \ref minivm_accmess_exec
+ * \arg \ref minivm_greet_exec
+ * \arg \ref minivm_record_exec
+ * \arg \ref minivm_delete_exec
+ * \arg \ref minivm_notify_exec
  *
  * \arg \ref App_minivm_todo
  */
  * Back: \ref App_minivm
  */
 
+/*!
+ * \page minivm.conf minivm.conf
+ * \verbinclude minivm.conf.sample
+ *
+ * Back: \ref App_minivm
+ */
+
 /*! \page Config_minivm_examples Example dialplan for Mini-Voicemail
  * \section Example dialplan scripts for Mini-Voicemail
  *  \verbinclude extensions_minivm.conf.sample
index 77c6e2fe8c433a6c6a84f8e0cc47f0c0a5ceaef1..6bd34dd7ab25c3e4c3fc888d4ac106b68ca27cd9 100644 (file)
@@ -628,6 +628,7 @@ static void mixmonitor_free(struct mixmonitor *mixmonitor)
  * \brief Copies the mixmonitor to all voicemail recipients
  * \param mixmonitor The mixmonitor that needs to forward its file to recipients
  * \param ext Format of the file that was saved
+ * \param filename
  */
 static void copy_to_voicemail(struct mixmonitor *mixmonitor, const char *ext, const char *filename)
 {
index 7f498ee5706eabe1c183e7e8a697138de59d1f4a..c4a64a249940fc799daacf8dd3b4ceaa5cc535e2 100644 (file)
@@ -174,8 +174,6 @@ struct page_options {
  *
  * \param chan Setup bridge profile on this channel.
  * \param options Options to setup bridge profile.
- *
- * \return Nothing
  */
 static void setup_profile_bridge(struct ast_channel *chan, struct page_options *options)
 {
@@ -192,8 +190,6 @@ static void setup_profile_bridge(struct ast_channel *chan, struct page_options *
  *
  * \param chan Setup user profile on this channel.
  * \param options Options to setup paged user profile.
- *
- * \return Nothing
  */
 static void setup_profile_paged(struct ast_channel *chan, struct page_options *options)
 {
@@ -216,8 +212,6 @@ static void setup_profile_paged(struct ast_channel *chan, struct page_options *o
  *
  * \param chan Setup user profile on this channel.
  * \param options Options to setup caller user profile.
- *
- * \return Nothing
  */
 static void setup_profile_caller(struct ast_channel *chan, struct page_options *options)
 {
index 9066f6c61dad9c7766de5d434c90f9e0c83f0e4a..f4b900432a85017af6368f480a3d687e160bbd5e 100644 (file)
@@ -1664,7 +1664,7 @@ struct penalty_rule {
 #define ANNOUNCEPOSITION_YES 1 /*!< We announce position */
 #define ANNOUNCEPOSITION_NO 2 /*!< We don't announce position */
 #define ANNOUNCEPOSITION_MORE_THAN 3 /*!< We say "Currently there are more than <limit>" */
-#define ANNOUNCEPOSITION_LIMIT 4 /*!< We not announce position more than <limit> */
+#define ANNOUNCEPOSITION_LIMIT 4 /*!< We not announce position more than \<limit\> */
 
 struct call_queue {
        AST_DECLARE_STRING_FIELDS(
@@ -1878,6 +1878,7 @@ static int get_wrapuptime(struct call_queue *q, struct member *member)
  * \brief ao2_callback, Decreases queuepos of all followers with a queuepos greater than arg.
  * \param obj the member being acted on
  * \param arg pointer to an integer containing the position value that was removed and requires reduction for anything above
+ * \param flag unused
  */
 static int queue_member_decrement_followers(void *obj, void *arg, int flag)
 {
@@ -1896,6 +1897,7 @@ static int queue_member_decrement_followers(void *obj, void *arg, int flag)
  *        on them. This callback should always be ran before performing mass unlinking of delmarked members from queues.
  * \param obj member being acted on
  * \param arg pointer to the queue members are being removed from
+ * \param flag unused
  */
 static int queue_delme_members_decrement_followers(void *obj, void *arg, int flag)
 {
@@ -2241,8 +2243,6 @@ static void queue_publish_multi_channel_blob(struct ast_channel *caller, struct
  * \param blob The information being published.
  *
  * \note The json blob reference is passed to this function.
- *
- * \return Nothing
  */
 static void queue_publish_member_blob(struct stasis_message_type *type, struct ast_json *blob)
 {
@@ -2646,7 +2646,8 @@ static int extensionstate2devicestate(int state)
  *
  * This function recursively checks if the context child is included in the context parent.
  *
- * \return 1 if child is included in parent, 0 if not
+ * \retval 1 if child is included in parent
+ * \retval 0 if not
  */
 static int context_included(const char *parent, const char *child);
 static int context_included(const char *parent, const char *child)
@@ -3431,7 +3432,7 @@ static void member_add_to_queue(struct call_queue *queue, struct member *mem)
  * \brief If removing a single member from a queue, use this function instead of ao2_unlinking.
  *        This will perform round robin queue position reordering for the remaining members.
  * \param queue Which queue the member is being removed from
- * \param member Which member is being removed from the queue
+ * \param mem Which member is being removed from the queue
  */
 static void member_remove_from_queue(struct call_queue *queue, struct member *mem)
 {
@@ -4282,8 +4283,6 @@ static void leave_queue(struct queue_ent *qe)
  * \since 1.8
  *
  * \param doomed callattempt structure to destroy.
- *
- * \return Nothing
  */
 static void callattempt_free(struct callattempt *doomed)
 {
@@ -4960,8 +4959,6 @@ static void rna(int rnatime, struct queue_ent *qe, struct ast_channel *peer, cha
  * \param chan Channel to get connected line updated.
  * \param peer Channel providing connected line information.
  * \param is_caller Non-zero if chan is the calling channel.
- *
- * \return Nothing
  */
 static void update_connected_line_from_peer(struct ast_channel *chan, struct ast_channel *peer, int is_caller)
 {
@@ -5762,7 +5759,7 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
 
 /*!
  * \brief update the queue status
- * \retval Always 0
+ * \retval 0 always
 */
 static int update_queue(struct call_queue *q, struct member *member, int callcompletedinsl, time_t starttime)
 {
@@ -6166,7 +6163,6 @@ static void log_attended_transfer(struct queue_stasis_data *queue_data,
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the bridge enter event
  */
 static void handle_bridge_enter(void *userdata, struct stasis_subscription *sub,
@@ -6200,7 +6196,6 @@ static void handle_bridge_enter(void *userdata, struct stasis_subscription *sub,
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the blind transfer event
  */
 static void handle_blind_transfer(void *userdata, struct stasis_subscription *sub,
@@ -6260,7 +6255,6 @@ static void handle_blind_transfer(void *userdata, struct stasis_subscription *su
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the attended transfer event.
  */
 static void handle_attended_transfer(void *userdata, struct stasis_subscription *sub,
@@ -6335,7 +6329,6 @@ static void queue_bridge_cb(void *userdata, struct stasis_subscription *sub,
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the local optimization begin event
  */
 static void handle_local_optimization_begin(void *userdata, struct stasis_subscription *sub,
@@ -6387,7 +6380,6 @@ static void handle_local_optimization_begin(void *userdata, struct stasis_subscr
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the local optimization end event
  */
 static void handle_local_optimization_end(void *userdata, struct stasis_subscription *sub,
@@ -6452,7 +6444,6 @@ static void handle_local_optimization_end(void *userdata, struct stasis_subscrip
  *
  * \param userdata Data pertaining to the particular call in the queue.
  * \param sub The stasis subscription on which the message occurred.
- * \param topic The topic for this event.
  * \param msg The stasis message for the hangup event.
  */
 static void handle_hangup(void *userdata, struct stasis_subscription *sub,
@@ -6654,8 +6645,6 @@ static void end_bridge_callback(void *data)
  * \param peer Peer channel for bridge.
  * \param opts Dialing option flags.
  * \param opt_args Dialing option argument strings.
- *
- * \return Nothing
  */
 static void setup_peer_after_bridge_goto(struct ast_channel *chan, struct ast_channel *peer, struct ast_flags *opts, char *opt_args[])
 {
@@ -7545,8 +7534,6 @@ static int publish_queue_member_pause(struct call_queue *q, struct member *membe
  * \param paused Set to 1 if the member is being paused or 0 to unpause.
  *
  * \pre The q is locked on entry.
- *
- * \return Nothing
  */
 static void set_queue_member_pause(struct call_queue *q, struct member *mem, const char *reason, int paused)
 {
@@ -7684,8 +7671,6 @@ static int set_member_penalty_help_members(struct call_queue *q, const char *int
  * \param ringinuse Set to 1 if the member is called when inuse.
  *
  * \pre The q is locked on entry.
- *
- * \return Nothing
  */
 static void set_queue_member_ringinuse(struct call_queue *q, struct member *mem, int ringinuse)
 {
@@ -7737,7 +7722,7 @@ static int set_member_value_help_members(struct call_queue *q, const char *inter
  * \param[in] queuename If specified, only act on a member if it belongs to this queue
  * \param[in] interface Interface of queue member(s) having priority set.
  * \param[in] property Which queue property is being set
- * \param[in] penalty Value penalty is being changed to for each member
+ * \param[in] value Value penalty is being changed to for each member
  */
 static int set_member_value(const char *queuename, const char *interface, int property, int value)
 {
@@ -9439,7 +9424,6 @@ static int kill_dead_members(void *obj, void *arg, int flags)
  * \param cfg The configuration which we are reading
  * \param mask Tells us what information we need to reload
  * \param queuename The name of the queue we are reloading information from
- * \retval void
  */
 static void reload_single_queue(struct ast_config *cfg, struct ast_flags *mask, const char *queuename)
 {
@@ -9652,7 +9636,7 @@ static int reload_queues(int reload, struct ast_flags *mask, const char *queuena
  * \param queuename The name of the queue to reset the statistics
  * for. If this is NULL or zero-length, then this means to reset
  * the statistics for all queues
- * \retval void
+ * \retval 0 always
  */
 static int clear_stats(const char *queuename)
 {
@@ -9928,8 +9912,8 @@ static char *__queues_show(struct mansession *s, int fd, int argc, const char *
  * list (followed immediately by a \0, not a space) since it is used for
  * checking tab-completion and a word at the end is still being tab-completed.
  *
- * \return Returns 1 if the word is found
- * \return Returns 0 if the word is not found
+ * \retval 1 if the word is found
+ * \retval 0 if the word is not found
 */
 static int word_in_list(const char *list, const char *word) {
        int list_len, word_len = strlen(word);
@@ -11544,7 +11528,7 @@ static int reload(void)
 }
 
 /* \brief Find a member by looking up queuename and interface.
- * \return Returns a member or NULL if member not found.
+ * \return member or NULL if member not found.
 */
 static struct member *find_member_by_queuename_and_interface(const char *queuename, const char *interface)
 {
index eb7fc1ff9a8a76f12e2f4e09c30433d8018bd0f3..67035cc4e3b1d9b842975fdec055067c0c3bce48 100644 (file)
@@ -26,7 +26,7 @@
  *         (http://www.washington.edu/imap/)
  *
  * \par See also
- * \arg \ref Config_vm
+ * \arg \ref voicemail.conf "Config_voicemail"
  * \note For information about voicemail IMAP storage, https://wiki.asterisk.org/wiki/display/AST/IMAP+Voicemail+Storage
  * \ingroup applications
  * \todo This module requires res_adsi to load. This needs to be optional
@@ -1196,7 +1196,7 @@ static int vm_test_create_user(const char *context, const char *mailbox);
  * \brief Parse the given mailbox_id into mailbox and context.
  * \since 12.0.0
  *
- * \param mailbox_id The mailbox@context string to separate.
+ * \param mailbox_id The mailbox\@context string to separate.
  * \param mailbox Where the mailbox part will start.
  * \param context Where the context part will start.  ("default" if not present)
  *
@@ -2955,9 +2955,9 @@ static int inboxcount2(const char *mailbox_context, int *urgentmsgs, int *newmsg
        return 0;
 }
 
-/**
+/*!
  * \brief Determines if the given folder has messages.
- * \param mailbox The @ delimited string for user@context. If no context is found, uses 'default' for the context.
+ * \param mailbox The \@ delimited string for user\@context. If no context is found, uses 'default' for the context.
  * \param folder the folder to look in
  *
  * This function is used when the mailbox is stored in an IMAP back end.
@@ -6052,9 +6052,9 @@ bail:
        return nummsgs;
 }
 
-/**
+/*!
  * \brief Determines if the given folder has messages.
- * \param mailbox The @ delimited string for user@context. If no context is found, uses 'default' for the context.
+ * \param mailbox The \@ delimited string for user\@context. If no context is found, uses 'default' for the context.
  *
  * This function is used when the mailbox is stored in an ODBC back end.
  * This invokes the messagecount(). Here we are interested in the presence of messages (> 0) only, not the actual count.
@@ -6224,7 +6224,7 @@ static int __has_voicemail(const char *context, const char *mailbox, const char
        return ret;
 }
 
-/**
+/*!
  * \brief Determines if the given folder has messages.
  * \param mailbox The \@ delimited string for user\@context. If no context is found, uses 'default' for the context.
  * \param folder the folder to look in
@@ -6257,7 +6257,7 @@ static int has_voicemail(const char *mailbox, const char *folder)
 
 /*!
  * \brief Check the given mailbox's message count.
- * \param mailbox The @ delimited string for user@context. If no context is found, uses 'default' for the context.
+ * \param mailbox The \@ delimited string for user\@context. If no context is found, uses 'default' for the context.
  * \param urgentmsgs  urgent message count.
  * \param newmsgs new message count.
  * \param oldmsgs old message count pointer
index 305732f190f2780c4263933e951c0a00819a2cfd..0c05a4caf27ab9223a54cef5932d38e2cc1aaf27 100644 (file)
@@ -52,8 +52,6 @@ void conf_invalid_event_fn(struct confbridge_user *user)
  * \brief Mute the user and play MOH if the user requires it.
  *
  * \param user Conference user to mute and optionally start MOH on.
- *
- * \return Nothing
  */
 static void conf_mute_moh_inactive_waitmarked(struct confbridge_user *user)
 {
index 5ae49b7d6a68fd51aebd463a4d036278e0a121a5..95a07321fb63c0ae5246dd6d4c56aad49dfb33f5 100644 (file)
@@ -457,8 +457,6 @@ void conf_ended(struct confbridge_conference *conference);
  * \brief Update the actual mute status of the user and set it on the bridge.
  *
  * \param user User to update the mute status.
- *
- * \return Nothing
  */
 void conf_update_user_mute(struct confbridge_user *user);
 
@@ -466,8 +464,6 @@ void conf_update_user_mute(struct confbridge_user *user);
  * \brief Stop MOH for the conference user.
  *
  * \param user Conference user to stop MOH on.
- *
- * \return Nothing
  */
 void conf_moh_stop(struct confbridge_user *user);
 
@@ -475,8 +471,6 @@ void conf_moh_stop(struct confbridge_user *user);
  * \brief Start MOH for the conference user.
  *
  * \param user Conference user to start MOH on.
- *
- * \return Nothing
  */
 void conf_moh_start(struct confbridge_user *user);
 
@@ -487,8 +481,6 @@ void conf_mute_only_active(struct confbridge_conference *conference);
 
 /*! \brief Callback to execute any time we transition from zero to one active users
  * \param conference The conference bridge with a single active user joined
- * \retval 0 success
- * \retval -1 failure
  */
 void conf_handle_first_join(struct confbridge_conference *conference);
 
@@ -702,7 +694,7 @@ int conf_announce_channel_push(struct ast_channel *ast);
  * \since 13.22.0
  * \since 15.5.0
  *
- * \param confbridge_name The name to search for
+ * \param conference_name The name to search for
  *
  * \return ConfBridge (which must be unreffed) or NULL.
  */