This is used in cases where you want to restrict the events allowed to be emitted or listened to to a particular esf file
Go to the source code of this file.
Data Structures | |
| struct | lwes_event_type_db_attribute |
| The attributes stored in the database. More... | |
| struct | lwes_event_type_db |
| The data base itself. More... | |
Functions | |
| lwes_event_type_db * | lwes_event_type_db_create (const char *filename) |
| Creates the memory for the event_type_db. | |
| int | lwes_event_type_db_destroy (struct lwes_event_type_db *db) |
| Cleanup the memory for the event_type_db. | |
| int | lwes_event_type_db_add_event (struct lwes_event_type_db *db, LWES_SHORT_STRING event_name) |
| Add an an event name to the database. | |
| int | lwes_event_type_db_add_attribute (struct lwes_event_type_db *db, LWES_SHORT_STRING event_name, LWES_SHORT_STRING attr_name, LWES_SHORT_STRING type) |
| Add an attribute name to an event name of the database. | |
| int | lwes_event_type_db_check_for_event (struct lwes_event_type_db *db, LWES_SHORT_STRING event_name) |
| Check for an event in the database. | |
| int | lwes_event_type_db_check_for_attribute (struct lwes_event_type_db *db, LWES_CONST_SHORT_STRING attr_name, LWES_CONST_SHORT_STRING event_name) |
| Check for an attribute in an event in the database. | |
| int | lwes_event_type_db_check_for_type (struct lwes_event_type_db *db, LWES_BYTE type_value, LWES_CONST_SHORT_STRING attr_name, LWES_CONST_SHORT_STRING event_name) |
| Check the type of an attribute in an event in the db. | |
|
|
Creates the memory for the event_type_db. This creates memory which should be freed with lwes_event_type_db_destroy
|
|
|
Cleanup the memory for the event_type_db. This frees the memory created by lwes_event_type_db_create.
|
|
||||||||||||
|
Add an an event name to the database.
|
|
||||||||||||||||||||
|
Add an attribute name to an event name of the database.
|
|
||||||||||||
|
Check for an event in the database.
|
|
||||||||||||||||
|
Check for an attribute in an event in the database.
|
|
||||||||||||||||||||
|
Check the type of an attribute in an event in the db.
|
1.4.6