]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Maintain a representative event category inside internal state
authorJosef 'Jeff' Sipek <jeff.sipek@open-xchange.com>
Thu, 24 Oct 2019 21:40:32 +0000 (17:40 -0400)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 19 Nov 2019 11:49:48 +0000 (11:49 +0000)
commita3a7c9083a5555aa8a0410b01a13c44c7029b991
tree4b715d4bcfd6c6e0d690e3a2481bbbb927249ddc
parent5240cb02816f3d0549d086409f62343b2e9bbc30
lib: Maintain a representative event category inside internal state

More than one category can be represented by the internal state.  To give
consumers a unique but consistent category pointer, we allocate a category
structure (technically part of the internal state) and use it as the
representative for all the registrations.

Note: This commit only allocates and maintains the representatives.  It does
not make use of them.
src/lib/lib-event.c