25#ifndef SURICATA_APP_LAYER_EVENTS_H
26#define SURICATA_APP_LAYER_EVENTS_H
63static inline int AppLayerDecoderEventsIsEventSet(
70 for (
int i = 0; i <
cnt; i++) {
71 if (devents->
events[i] == event)
int AppLayerGetEventInfoById(uint8_t event_id, const char **event_name, AppLayerEventType *event_type)
int SCAppLayerGetEventIdByName(const char *event_name, SCEnumCharMap *table, uint8_t *event_id)
int DetectEngineGetEventInfo(const char *event_name, uint8_t *event_id, AppLayerEventType *event_type)
int AppLayerGetPktEventInfo(const char *event_name, uint8_t *event_id)
@ APPLAYER_NO_TLS_AFTER_STARTTLS
@ APPLAYER_UNEXPECTED_PROTOCOL
@ APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
@ APPLAYER_MISMATCH_PROTOCOL_BOTH_DIRECTIONS
@ APPLAYER_PROTO_DETECTION_SKIPPED
@ APPLAYER_WRONG_DIRECTION_FIRST_DATA
void AppLayerDecoderEventsSetEventRaw(AppLayerDecoderEvents **sevents, uint8_t event)
Set an app layer decoder event.
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events)
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events)
enum AppLayerEventType AppLayerEventType
Data structure to store app layer decoder events.
uint8_t events_buffer_size
uint8_t event_last_logged