George Joseph
6d5941297b
vector: Traversal, retrieval, insert and locking enhancements
...
Renamed AST_VECTOR_INSERT to AST_VECTOR_REPLACE because it really
does replace not insert. The few users of AST_VECTOR_INSERT were
refactored. Because these are macros, there should be no ABI
compatibility issues.
Added AST_VECTOR_INSERT_AT that actually inserts an element into the
vector at a specific index pushing existing elements to the right.
Added AST_VECTOR_GET_CMP that can retrieve from the vector based
on a user-provided compare function.
Added AST_VECTOR_CALLBACK function that will execute a function
for each element in the vector. Similar to ao2_callback and
ao2_callback_data functions although the vector callback can take
a variable number of arguments. This should allow easy migration
to a vector where a container might be too heavy.
Added read/write locked vector and lock manipulation macros.
Added unit tests.
ASTERISK-25045 #close
Change-Id: I2e07ecc709d2f5f91bcab8904e5e9340609b00e0
2015-05-04 18:45:28 -06:00
..
2015-04-12 07:12:45 -04:00
2015-04-13 03:48:57 -04:00
2015-04-11 19:43:43 -06:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2014-05-09 22:49:26 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-29 01:02:10 -04:00
2015-04-29 01:02:10 -04:00
2015-04-13 03:48:57 -04:00
2015-05-01 14:40:50 -04:00
2014-04-23 15:02:39 +00:00
2013-08-22 08:26:55 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-05-01 14:40:50 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-16 16:53:44 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-05-02 19:31:12 -05:00
2015-04-13 03:48:57 -04:00
2015-04-20 23:02:06 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-04-15 10:47:53 -03:00
2015-04-13 03:48:57 -04:00
2015-04-22 13:28:09 -03:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-10 13:32:24 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-16 09:34:56 -05:00
2015-04-13 03:48:57 -04:00
2015-04-23 11:39:13 -05:00
2014-11-17 16:58:52 +00:00
2015-05-02 19:31:12 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-05-04 18:45:28 -06:00
2015-04-13 03:48:57 -04:00
2015-05-03 21:09:41 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-27 18:37:26 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-03-30 11:43:19 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-20 23:02:06 -05:00
2015-04-17 15:58:07 -05:00
2015-04-13 03:48:57 -04:00
2014-07-20 22:06:33 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-01 08:35:18 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-03 14:36:01 -04:00
2015-04-13 03:48:57 -04:00
2015-05-04 18:45:28 -06:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-23 11:39:13 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-03-26 22:24:26 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-30 15:20:43 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-01 22:17:17 -05:00
2015-04-13 03:48:57 -04:00
2014-09-29 20:28:24 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2014-08-21 14:42:12 +00:00
2015-04-13 03:48:57 -04:00
2014-12-17 10:23:32 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00