mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 17:31:51 +03:00
nfa: unify NfaCallback and SomNfaCallback
Use just one callback type, with both start and end offsets.
This commit is contained in:
committed by
Matthew Barr
parent
9087d59be5
commit
cf9e40ae1c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -97,7 +97,6 @@ struct mq {
|
||||
* callback. If true, the queue must be located at a
|
||||
* point where MO_MATCHES_PENDING was returned */
|
||||
NfaCallback cb; /**< callback to trigger on matches */
|
||||
SomNfaCallback som_cb; /**< callback with som info; used by haig */
|
||||
void *context; /**< context to pass along with a callback */
|
||||
struct mq_item items[MAX_MQE_LEN]; /**< queue items */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user