* \param vms The voicemail state corresponding to an open mailbox
* \param msg_ids An array of message identifiers
* \param num_msgs The number of identifiers in msg_ids
- * \param msg_nums [out] The message indexes corresponding to the given
+ * \param[out] msg_nums The message indexes corresponding to the given
* \param vmu
* message IDs
* \pre vms must have open_mailbox() called on it prior to this function.
/*!
* \brief Free a CDR record
* \param cdr ast_cdr structure to free
- * Returns nothing
*/
void ast_cdr_free(struct ast_cdr *cdr);
*
* \param chan Channel to get variables for.
* \return List of channel variables.
- * \return \c NULL on error
+ * \retval NULL on error
*/
struct varshead *ast_channel_get_manager_vars(struct ast_channel *chan);
*
* \param chan Channel to get variables for.
* \return List of channel variables.
- * \return \c NULL on error
+ * \retval NULL on error
*/
struct varshead *ast_channel_get_ari_vars(struct ast_channel *chan);
*
* \param chan Channel to get variables for
* \return List of channel variables.
- * \return \c NULL on error
+ * \retval NULL on error
*/
struct varshead *ast_channel_get_vars(struct ast_channel *chan);
* or greater than INT_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* Once converted the number is out of range (greater than UINT_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* or greater than LONG_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* Once converted the number is out of range (greater than ULONG_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* or greater than INTMAX_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* Once converted the number is out of range (greater than UINTMAX_MAX)
*
* \param str The string to convert
- * \param res [out] The converted value
+ * \param[out] res The converted value
*
* \returns -1 if it fails to convert, 0 on success
*/
* \since 13.17.0, 14.6.0
*
* \param chan Must be a local channel
- * \param tech_pvt [out] channel's private tech (ref and lock added)
- * \param base_chan [out] One side of the local channel (ref and lock added)
- * \param base_owner [out] Other side of the local channel (ref and lock added)
+ * \param[out] tech_pvt channel's private tech (ref and lock added)
+ * \param[out] base_chan One side of the local channel (ref and lock added)
+ * \param[out] base_owner Other side of the local channel (ref and lock added)
*/
void ast_local_lock_all(struct ast_channel *chan, void **tech_pvt,
struct ast_channel **base_chan, struct ast_channel **base_owner);
*
* \param state Endpoint state.
* \return String representation of \a state.
- * \return \c "?" if \a state isn't in \ref ast_endpoint_state.
+ * \retval "?" if \a state isn't in \ref ast_endpoint_state.
*/
const char *ast_endpoint_state_to_string(enum ast_endpoint_state state);
*
* \param id Tech[/resource] id to look for.
* \return Associated endpoint.
- * \return \c NULL if not found.
+ * \retval NULL if not found.
*
* \since 12
*/
* \param tech Technology for this endpoint.
* \param resource Name of this endpoint.
* \return Newly created endpoint.
- * \return \c NULL on error.
+ * \retval NULL on error.
* \since 12
*/
struct ast_endpoint *ast_endpoint_create(const char *tech, const char *resource);
*
* \param endpoint The endpoint.
* \return Tec of the endpoint.
- * \return \c NULL if endpoint is \c NULL.
+ * \retval NULL if endpoint is \c NULL.
* \since 12
*/
const char *ast_endpoint_get_tech(const struct ast_endpoint *endpoint);
*
* \param endpoint The endpoint.
* \return Resource name of the endpoint.
- * \return \c NULL if endpoint is \c NULL.
+ * \retval NULL if endpoint is \c NULL.
* \since 12
*/
const char *ast_endpoint_get_resource(const struct ast_endpoint *endpoint);
*
* \param endpoint The endpoint.
* \return Tech/resource id of the endpoint.
- * \return \c NULL if endpoint is \c NULL.
+ * \retval NULL if endpoint is \c NULL.
* \since 12
*/
const char *ast_endpoint_get_id(const struct ast_endpoint *endpoint);
*
* \param endpoint The endpoint.
* \return state.
- * \return \c AST_ENDPOINT_UNKNOWN if endpoint is \c NULL.
+ * \retval AST_ENDPOINT_UNKNOWN if endpoint is \c NULL.
* \since 13.4
*/
enum ast_endpoint_state ast_endpoint_get_state(const struct ast_endpoint *endpoint);
* respectively.
*
* \param buf a string containing the name/value to point to
- * \param name out parameter pointing to the header name
- * \param value out parameter pointing to header value
+ * \param[out] name header name
+ * \param[out] value header value
* \retval -1 if buf is empty
* \retval 0 if buf could be separated into name and value
* \retval 1 if name or value portion don't exist
* \brief Unregister an image format
* \param imgdrv pointer to the ast_imager structure you wish to unregister
* Unregisters the image format passed in.
- * Returns nothing
*/
void ast_image_unregister(struct ast_imager *imgdrv);
* \param name the name of the device
* \param state the device state
* \return JSON representation.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct ast_json *stasis_app_device_state_to_json(
const char *name, enum ast_device_state state);
* \brief Convert device states to json array.
*
* \return JSON representation.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct ast_json *stasis_app_device_states_to_json(void);
* \param name Base name of the topics.
* \param id_fn Identity function for the cache.
* \return All side instance.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct stasis_cp_all *stasis_cp_all_create(const char *name,
snapshot_get_id id_fn);
*
* \param all All side caching pattern object.
* \return The aggregate topic.
- * \return \c NULL if \a all is \c NULL
+ * \retval NULL if \a all is \c NULL
*/
struct stasis_topic *stasis_cp_all_topic(struct stasis_cp_all *all);
*
* \param all All side caching pattern object.
* \return The aggregate caching topic.
- * \return \c NULL if \a all is \c NULL
+ * \retval NULL if \a all is \c NULL
*/
struct stasis_topic *stasis_cp_all_topic_cached(
struct stasis_cp_all *all);
*
* \param all All side caching pattern object.
* \return The cache.
- * \return \c NULL if \a all is \c NULL
+ * \retval NULL if \a all is \c NULL
*/
struct stasis_cache *stasis_cp_all_cache(struct stasis_cp_all *all);
*
* \param one One side of the cache pattern.
* \return The main topic.
- * \return \c NULL if \a one is \c NULL
+ * \retval NULL if \a one is \c NULL
*/
struct stasis_topic *stasis_cp_single_topic(struct stasis_cp_single *one);
*
* \param one One side of the cache pattern.
* \return The caching topic.
- * \return \c NULL if \a one is \c NULL
+ * \retval NULL if \a one is \c NULL
*/
struct stasis_topic *stasis_cp_single_topic_cached(
struct stasis_cp_single *one);
* \c NULL, ast_json_null() is put into the object.
*
* \return \ref ast_endpoint_blob message.
- * \return \c NULL on error
+ * \retval NULL on error
*/
struct stasis_message *ast_endpoint_blob_create(struct ast_endpoint *endpoint,
struct stasis_message_type *type, struct ast_json *blob);
* \brief Create a snapshot of an endpoint
* \param endpoint Endpoint to snap a shot of.
* \return Snapshot of the endpoint.
- * \return \c NULL on error.
+ * \retval NULL on error.
* \since 12
*/
struct ast_endpoint_snapshot *ast_endpoint_snapshot_create(
* \param tech Name of the endpoint's technology.
* \param resource Resource name of the endpoint.
* \return Snapshot of the endpoint with the given name.
- * \return \c NULL if endpoint is not found, or on error.
+ * \retval NULL if endpoint is not found, or on error.
* \since 12
*/
struct ast_endpoint_snapshot *ast_endpoint_latest_snapshot(const char *tech,
* \param sanitize The message sanitizer to use on the snapshot
*
* \return JSON object representing endpoint snapshot.
- * \return \c NULL on error
+ * \retval NULL on error
*/
struct ast_json *ast_endpoint_snapshot_to_json(
const struct ast_endpoint_snapshot *snapshot,
* relevant if \c needs_mailbox is non-zero.
* \param file, lineno, func
* \return New \ref stasis_subscription object.
- * \return \c NULL on error.
+ * \retval NULL on error.
* \since 12
*/
struct stasis_subscription *internal_stasis_subscribe(
* \param pool \ref ast_threadpool for execution.
*
* \return \ref ast_taskprocessor for enqueuing work.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct ast_taskprocessor *ast_threadpool_serializer(const char *name, struct ast_threadpool *pool);
* \param shutdown_group Group shutdown controller. (NULL if no group association)
*
* \return \ref ast_taskprocessor for enqueuing work.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct ast_taskprocessor *ast_threadpool_serializer_group(const char *name,
struct ast_threadpool *pool, struct ast_serializer_shutdown_group *shutdown_group);
*
* \param message Message to extract id from.
* \return String representing the snapshot's id.
- * \return \c NULL if the message_type of the message isn't a handled snapshot.
+ * \retval NULL if the message_type of the message isn't a handled snapshot.
* \since 12
*/
static const char *endpoint_snapshot_get_id(struct stasis_message *message)
* ao2_cleanup() when you're done with it.
*
* \return ARI configuration object.
- * \return \c NULL on error.
+ * \retval NULL on error.
*/
struct ast_ari_conf *ast_ari_config_get(void);
* \param username Name of the user.
* \param password User's password.
* \return User object.
- * \return \c NULL if username or password is invalid.
+ * \retval NULL if username or password is invalid.
*/
struct ast_ari_conf_user *ast_ari_config_validate_user(const char *username,
const char *password);
return ret;
}
-/* \brief command parking show <name> */
+/*! \brief command parking show \<name\> */
static char *handle_show_parking_lot_cmd(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
switch (cmd) {
return status;
}
-/*
+/*!
* \internal
* \brief Dial plan function status(). puts the status of watched user
* into a channel variable.
* \param dir_name Directory to search (absolute path).
* \param file File name, without extension.
* \return Absolute path of the recording file.
- * \return \c NULL if recording is not found.
+ * \retval NULL if recording is not found.
*/
static char *find_recording(const char *dir_name, const char *file)
{
/*! \brief A private structure for the test channel */
struct test_bridging_chan_pvt {
- /* \brief The expected indication */
+ /*! \brief The expected indication */
int condition;
/*! \brief The number of indicated things */
unsigned int indicated;