Commit Graph

40 Commits (a6fd85250df68587f3042e49edbc515009f743b1)

Author SHA1 Message Date
Russell Bryant 1321748c19 Add a test module for the event API, test_event.c.
15 years ago
Russell Bryant f2282722dd Fix return value of get_ie_str() and get_ie_str_hash() for non-existent IE.
16 years ago
Russell Bryant 86c57df84e Ensure payload type is properly checked when comparing against cached events.
16 years ago
Tilghman Lesher c0b3c923a4 Fix various problems detected with Valgrind.
16 years ago
Russell Bryant 1ca3ffd08c Fix ast_event_queue_and_cache() to actually do the cache() part.
16 years ago
Russell Bryant 68a05b14c6 Fix some places where ast_event_type was used instead of ast_event_ie_type.
16 years ago
Russell Bryant 4cf8a968fd Add an API for reporting security events, and a security event logging module.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Kevin P. Fleming 73743b77b0 Add 'bitflags'-style information elements to event framework
16 years ago
Russell Bryant a398f9e0ac Do a bit of code cleanup.
16 years ago
Russell Bryant b564b2105f Change g_eid to ast_eid_default.
16 years ago
Russell Bryant 189a55f9f0 Remove unneeded AST_LIST_ENTRY() and comment on the purpose of ast_event_ref.
16 years ago
Russell Bryant ee77b475f2 Improve performance of the ast_event cache functionality.
16 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Sean Bright b69c8e6ab5 Another big chunk of changes from the RSW branch. Bunch of stuff from main/
17 years ago
Mark Michelson f0a019dbec Add an additional sanity check in case an event is passed between
17 years ago
Russell Bryant 823d1c7ea9 Merge some more changes from team/russell/events
17 years ago
Russell Bryant 7f29bc7bc6 Simplify code by using a taskprocessor for dispatching events in the Asterisk core.
17 years ago
Steve Murphy 8b6d8da58c Introducing a small optimization to event_unsubscribe; events now use a Doubly-Linked list for events, gives fast deletions, for the sake of channel driver mwi events. From team/murf/bug11210.
17 years ago
Mark Michelson 23fc97480e Fix a small logic error in ast_event_iterator_next. The previous logic allowed for the iterator
18 years ago
Mark Michelson 9d683be81a Fix a problem regarding network vs. host byte order
18 years ago
Joshua Colp 4fe093b821 Goodbye again drumkilla.
18 years ago
Joshua Colp e0532df614 drumkilla ftw.
18 years ago
Russell Bryant f330fb4783 * In unaligned.h, remove some unnecessary casts and mark the arg of the
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Russell Bryant 8a6c04a0a9 Try to clarify the rules on changing ast_event and ast_event_ie
18 years ago
Russell Bryant 94d9d29f18 Fix parenthesis from my last commit
18 years ago
Russell Bryant 22de9a1c68 Change pointer aritmetic on void * to char *
18 years ago
Russell Bryant dce06fed1d there is not actually code that sends these over the network in trunk yet
18 years ago
Joshua Colp e311ae98d1 Return ast_event_get_ie_raw to using an iterator and fix logic in ast_event_iterator_next.
18 years ago
Joshua Colp a3b8cb670e This concludes bringing trunk back to a working state.
18 years ago
Joshua Colp c9445d4a68 To keep others happy... revert part of my additions so trunk works.
18 years ago
Joshua Colp 2351d789fd Add API calls for iterating through an event. This should allow events to have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one).
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Olle Johansson b28d908e85 This file really needs more documentation...
18 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
18 years ago