NFA API: Remove nfaBlockExecReverse scratch arg

Scratch is no longer used by this function's implementations.
This commit is contained in:
Justin Viiret
2016-02-11 16:46:15 +11:00
committed by Matthew Barr
parent 3e002f8181
commit 58f9617f66
6 changed files with 11 additions and 19 deletions

View File

@@ -44,7 +44,6 @@ extern "C"
#include "callback.h"
#include "ue2common.h"
struct hs_scratch;
struct mq;
struct NFA;
@@ -212,16 +211,12 @@ char nfaQueueExecRose(const struct NFA *nfa, struct mq *q, ReportID report);
* @param buflen length of buf
* @param hbuf history buf
* @param hlen length of hbuf
* @param scratch scratch
* @param callback the callback to call for each match raised
* @param context context pointer passed to each callback
*
* Note: is NOT reentrant
*/
char nfaBlockExecReverse(const struct NFA *nfa, u64a offset, const u8 *buf,
size_t buflen, const u8 *hbuf, size_t hlen,
struct hs_scratch *scratch, NfaCallback callback,
void *context);
NfaCallback callback, void *context);
/**
* Check whether the given NFA's state indicates that it is in one or more