diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-09-17 00:01:09 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-05 10:32:08 -0400 |
commit | 8140cea7b4e3d3c9c6003eb6ae30e5e0fdd7c1ae (patch) | |
tree | 3f6ec4cf35410fa2c19c2dc448d311d4bd0ef4b3 /common/elapi/elapi_event.h | |
parent | ea7d823fa584b36e9a34a43c32dc476beede5ea2 (diff) | |
download | sssd-8140cea7b4e3d3c9c6003eb6ae30e5e0fdd7c1ae.tar.gz sssd-8140cea7b4e3d3c9c6003eb6ae30e5e0fdd7c1ae.tar.xz sssd-8140cea7b4e3d3c9c6003eb6ae30e5e0fdd7c1ae.zip |
ELAPI Event resolver
Started working on the async processing
and realised that I need to have a good
copy of the event with all the fields resolved
so this patch has some foundation for the async
functions (module elapi_async.c) but they
are mostly stubbed out.
The actual code will be added down the road.
Instead the patch focuses on the code
introduced in elapi_resolve.c module
and the use of the functions from it.
It also adds the implementation of the
high level calls that initialize ELAPI
with the external callbacks to be used
during async processing (elapi_log.c).
Diffstat (limited to 'common/elapi/elapi_event.h')
-rw-r--r-- | common/elapi/elapi_event.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/elapi/elapi_event.h b/common/elapi/elapi_event.h index dfaba771b..6a5fe044e 100644 --- a/common/elapi/elapi_event.h +++ b/common/elapi/elapi_event.h @@ -46,6 +46,11 @@ */ #define E_MESSAGE "__message__" + +/* Standard prefix for internal attributes */ +#define E_PREFIX "__" +#define E_PREFIX_LEN 2 + /* Base argument in the template creation function is a bit mask. * Each supported predefined element corresponds to its bit in * the mask. |