Merge "res_pjsip_registrar.c: Update remove_existing AOR contact handling." into 13

This commit is contained in:
Jenkins2
2017-10-11 06:34:00 -05:00
committed by Gerrit Code Review
5 changed files with 192 additions and 21 deletions

View File

@@ -547,6 +547,14 @@ AST_VECTOR(ast_vector_int, int);
*/
#define AST_VECTOR_SIZE(vec) (vec)->current
/*!
* \brief Get the maximum number of elements the vector can currently hold.
*
* \param vec Vector to query.
* \return Maximum number of elements the vector can currently hold.
*/
#define AST_VECTOR_MAX_SIZE(vec) (vec)->max
/*!
* \brief Reset vector.
*