mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Merge code associated with AST-2009-006
(closes issue #12912) Reported by: rathaus Tested by: tilghman, russell, dvossel, dbrooks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -55,6 +55,9 @@ struct ast_ha {
|
||||
/*! \brief Free host access list */
|
||||
void ast_free_ha(struct ast_ha *ha);
|
||||
|
||||
/*! \brief Copy ha structure */
|
||||
void ast_copy_ha(const struct ast_ha *from, struct ast_ha *to);
|
||||
|
||||
/*! \brief Append ACL entry to host access list. */
|
||||
struct ast_ha *ast_append_ha(const char *sense, const char *stuff, struct ast_ha *path, int *error);
|
||||
|
||||
|
||||
@@ -673,6 +673,15 @@ enum search_flags {
|
||||
* The search function is unaffected (i.e. use the one passed as
|
||||
* argument, or match_by_addr if none specified). */
|
||||
OBJ_POINTER = (1 << 3),
|
||||
/*!
|
||||
* \brief Continue if a match is not found in the hashed out bucket
|
||||
*
|
||||
* This flag is to be used in combination with OBJ_POINTER. This tells
|
||||
* the ao2_callback() core to keep searching through the rest of the
|
||||
* buckets if a match is not found in the starting bucket defined by
|
||||
* the hash value on the argument.
|
||||
*/
|
||||
OBJ_CONTINUE = (1 << 4),
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user