app-layer: Extend event container with progress

pull/3998/head
Jeff Lucovsky 7 years ago committed by Victor Julien
parent 07c05f7dd8
commit 4a39d7a1ee

@ -38,6 +38,8 @@ struct AppLayerDecoderEvents_ {
uint8_t cnt;
/* current event buffer size */
uint8_t events_buffer_size;
/* last logged */
uint8_t event_last_logged;
};
/* app layer pkt level events */

@ -560,6 +560,7 @@ void AppLayerParserRegisterGetEventInfoById(uint8_t ipproto, AppProto alproto,
SCReturn;
}
void AppLayerParserRegisterGetEventInfo(uint8_t ipproto, AppProto alproto,
int (*StateGetEventInfo)(const char *event_name, int *event_id,
AppLayerEventType *event_type))

Loading…
Cancel
Save