mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 07:42:21 +03:00
NFA API: Remove nfaBlockExecReverse scratch arg
Scratch is no longer used by this function's implementations.
This commit is contained in:
committed by
Matthew Barr
parent
3e002f8181
commit
58f9617f66
@@ -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:
|
||||
@@ -332,13 +332,12 @@ char nfaQueueExecRose(const struct NFA *nfa, struct mq *q, ReportID r) {
|
||||
|
||||
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) {
|
||||
assert(nfa);
|
||||
assert(ISALIGNED_CL(nfa) && ISALIGNED_CL(getImplNfa(nfa)));
|
||||
|
||||
DISPATCH_BY_NFA_TYPE(_B_Reverse(nfa, offset, buf, buflen, hbuf, hlen,
|
||||
scratch, callback, context));
|
||||
callback, context));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user