curl-fuzzer C++ reference
Loading...
Searching...
No Matches
incoming_data_observer.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Max Dymond, <cmeister2@gmail.com>, et al.
3
*
4
* SPDX-License-Identifier: curl
5
*/
6
9
10
#ifndef PROTO_FUZZER_INCOMING_DATA_OBSERVER_H_
11
#define PROTO_FUZZER_INCOMING_DATA_OBSERVER_H_
12
13
#include <cstddef>
14
15
namespace
proto_fuzzer {
16
19
class
IncomingDataObserver
{
20
public
:
21
virtual
~IncomingDataObserver
() =
default
;
22
26
virtual
void
ObserveIncomingData
(
const
unsigned
char
* data, std::size_t size) = 0;
27
};
28
29
}
// namespace proto_fuzzer
30
31
#endif
// PROTO_FUZZER_INCOMING_DATA_OBSERVER_H_
proto_fuzzer::IncomingDataObserver
Receives bytes after any transport decoding.
Definition
incoming_data_observer.h:19
proto_fuzzer::IncomingDataObserver::ObserveIncomingData
virtual void ObserveIncomingData(const unsigned char *data, std::size_t size)=0
Observe one contiguous application-data fragment.
proto_fuzzer
incoming_data_observer.h
Generated by
1.15.0