diff options
Diffstat (limited to 'src/httpscan.h')
| -rw-r--r-- | src/httpscan.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/httpscan.h b/src/httpscan.h index 6b3fd1f..e3891ce 100644 --- a/src/httpscan.h +++ b/src/httpscan.h @@ -68,6 +68,16 @@ public: void ScanResponseBody(HttpSession *http_session_ctx); private: + enum class scan_result_t + { + kScanResultNotHit = 0, + kScanResultHit = 1, + kScanResultError = -1 + }; + + scan_result_t scan_headers(const HttpHeaders & c_headers, int table_id); + scan_result_t scan_body(const char * data, size_t len, int table_id); + void hit_config_and_do_action(HttpSession *session); void hit_scan_error(); |
