mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Merged revisions 282098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r282098 | rmudgett | 2010-08-12 17:06:06 -0500 (Thu, 12 Aug 2010) | 7 lines Separate call completion config parameter allocation and default initialization. If you ever have a need to reset the call completion config parameters to defaults, now you can. And no Virginia, C++ idioms do not always work in C. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -187,6 +187,21 @@ int ast_cc_get_param(struct ast_cc_config_params *params, const char * const nam
|
||||
*/
|
||||
int ast_cc_is_config_param(const char * const name);
|
||||
|
||||
/*!
|
||||
* \since 1.8
|
||||
* \brief Set the specified CC config params to default values.
|
||||
*
|
||||
* \details
|
||||
* This is just like ast_cc_copy_config_params() and could be used in place
|
||||
* of it if you need to set the config params to defaults instead.
|
||||
* You are simply "copying" defaults into the destination.
|
||||
*
|
||||
* \param params CC config params to set to default values.
|
||||
*
|
||||
* \return Nothing
|
||||
*/
|
||||
void ast_cc_default_config_params(struct ast_cc_config_params *params);
|
||||
|
||||
/*!
|
||||
* \since 1.8
|
||||
* \brief copy CCSS configuration parameters from one structure to another
|
||||
@@ -199,8 +214,8 @@ int ast_cc_is_config_param(const char * const name);
|
||||
*
|
||||
* \param src The structure from which data is copied
|
||||
* \param dest The structure to which data is copied
|
||||
* \retval -1 Copy failed (no way for this to happen yet)
|
||||
* \retval 0 Copy succeeded
|
||||
*
|
||||
* \return Nothing
|
||||
*/
|
||||
void ast_cc_copy_config_params(struct ast_cc_config_params *dest, const struct ast_cc_config_params *src);
|
||||
|
||||
|
Reference in New Issue
Block a user