mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Merge "res_pjsip_registrar.c: Update remove_existing AOR contact handling." into 13
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user