diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-08-12 22:10:49 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-08-12 22:10:49 +0000 |
commit | 8bc5bf82dfadcb7206614855068ea6ff4f620daa (patch) | |
tree | 6b0c15f2855d9da1b627c865dd79d6175251f550 /include/asterisk/ccss.h | |
parent | 57535c598903e9e235527c8d7c805018c788a29c (diff) |
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
Diffstat (limited to 'include/asterisk/ccss.h')
-rw-r--r-- | include/asterisk/ccss.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/include/asterisk/ccss.h b/include/asterisk/ccss.h index 4dc8e5922..31073a478 100644 --- a/include/asterisk/ccss.h +++ b/include/asterisk/ccss.h @@ -189,6 +189,21 @@ 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 * * \details @@ -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); |