Own the proto runtime's one curl global initialization.
More...
#include <curl_global_lifecycle.h>
|
|
using | CleanupFunction = void (*)() |
| | Process-exit cleanup callback, injectable for lifecycle regression tests.
|
|
| | CurlGlobalLifecycle (CleanupFunction cleanup=nullptr) noexcept |
| | Initialize curl and its allocation hooks for this process.
|
| bool | initialized () const noexcept |
|
void | FinalizeForProcessExit () noexcept |
| | Release this object's references after the fuzz engine has stopped.
|
|
|
void | FinalizeRegisteredCurlGlobalLifecyclesForExit () |
| | Finalize all registered process lifecycles before static destruction.
|
Own the proto runtime's one curl global initialization.
Definition at line 16 of file curl_global_lifecycle.h.
◆ CurlGlobalLifecycle()
| proto_fuzzer::CurlGlobalLifecycle::CurlGlobalLifecycle |
( |
CleanupFunction | cleanup = nullptr | ) |
|
|
explicitnoexcept |
Initialize curl and its allocation hooks for this process.
- Parameters
-
| cleanup | Optional cleanup callback used by focused lifecycle tests. |
Definition at line 26 of file curl_global_lifecycle.cc.
◆ initialized()
| bool proto_fuzzer::CurlGlobalLifecycle::initialized |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: