diff options
author | David Vossel <dvossel@digium.com> | 2009-09-03 16:31:54 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-09-03 16:31:54 +0000 |
commit | d09f9fd00a08c9e143ea68003ecf87dfe970a8a9 (patch) | |
tree | c83c86ded8f9d5a32fd96c2ee708c8185407971d /include/asterisk/astobj2.h | |
parent | 6d6ce303cbf2dbcacd4a84f4f6613a66fae56c48 (diff) |
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
Diffstat (limited to 'include/asterisk/astobj2.h')
-rw-r--r-- | include/asterisk/astobj2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h index 953482f19..71b86c909 100644 --- a/include/asterisk/astobj2.h +++ b/include/asterisk/astobj2.h @@ -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), }; /*! |