Go to the source code of this file.
◆ ht_registry_get_event_klasses()
Returns a list of all the klasses registered in HawkTracer library.
- Parameters
-
out_klass_count | a pointer to variable to store number of klasses. |
- Returns
- an array of all the event klasses registered in the library.
◆ ht_registry_push_registry_klasses_to_listener()
Pushes information about registered event klasses (HT_EventKlassInfoEvent and HT_EventKlassFieldInfoEvent events) directly to a listener.
- Parameters
-
callback | the listener callback. |
listener | a pointer to the listener. |
serialize | indicates whether events should be serialized before pushing to listener or not. |
- Returns
- number of bytes which have been pushed to a listener.
◆ ht_registry_register_event_klass()
Registers new event klass in the system, or gets identifier if klass is already registered.
- Parameters
-
event_klass | a pointer to a klass definition. |
- Returns
- an identifier to a klass, or HT_INVALID_KLASS_ID if registration failed.
◆ ht_registry_register_feature()
Registers new a new feature in the system.
- Parameters
-
klass | a pointer to a feature class to be registered. |
Usually there's no need for calling the method explicitly. HT_DEFINE_FEATURE() macro generates a convinient function for registering the feature that encapsulates call of this function.
- Returns
- HT_ERR_OK if registration completed successfully; otherwise, error code.