84 while ((buf->
size + extra) < (size + buf->
len)) {
87 SCLogDebug(
"adding %"PRIuMAX
" to the buffer", (uintmax_t)extra);
108 *ret_hdr_td = hdr_td;
Data structures and function prototypes for keeping state for the detection engine.
void * DetectThreadCtxGetGlobalKeywordThreadCtx(DetectEngineThreadCtx *det_ctx, int id)
Retrieve thread local keyword ctx by id.
int HttpHeaderExpandBuffer(HttpHeaderThreadData *td, HttpHeaderBuffer *buf, size_t size)
HttpHeaderBuffer * HttpHeaderGetBufferSpace(DetectEngineThreadCtx *det_ctx, Flow *f, uint8_t flags, const int keyword_id, HttpHeaderThreadData **ret_hdr_td)
void * HttpHeaderThreadDataInit(void *data)
void HttpHeaderThreadDataFree(void *data)
#define SCRealloc(ptr, sz)