complete new api and test case
This commit is contained in:
@@ -341,7 +341,6 @@ static int matched_event_cb(unsigned int id, unsigned long long from,
|
||||
return 0;
|
||||
}
|
||||
|
||||
UT_icd ut_hs_pattern_id_icd = {sizeof(unsigned long long), NULL, NULL, NULL};
|
||||
void *hs_lit_stream_open(void *hs_lit_engine, int thread_id)
|
||||
{
|
||||
if (NULL == hs_lit_engine || thread_id < 0) {
|
||||
|
||||
@@ -313,7 +313,6 @@ void rs_lit_engine_free(void *rs_lit_engine)
|
||||
FREE(rs_lit_inst);
|
||||
}
|
||||
|
||||
UT_icd ut_rs_pattern_id_icd = {sizeof(unsigned long long), NULL, NULL, NULL};
|
||||
void *rs_lit_engine_new(struct expr_rule *rules, size_t n_rule,
|
||||
struct pattern_attribute *pat_attr,
|
||||
void *rs_lit_db, size_t n_thread,
|
||||
|
||||
@@ -65,7 +65,7 @@ struct db_operations {
|
||||
int (*build_db)(void **lit_db, void *compile_data, struct log_handle *logger);
|
||||
};
|
||||
|
||||
UT_icd ut_pattern_id_icd = {sizeof(unsigned long long), NULL, NULL, NULL};
|
||||
static UT_icd ut_pattern_id_icd = {sizeof(unsigned long long), NULL, NULL, NULL};
|
||||
|
||||
struct db_operations db_ops[EXPR_ENGINE_TYPE_AUTO] = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user