Debian Codegraph @

crt/aws-c-event-stream/include/aws/event-stream/private/event_stream_rpc_test_helper.h

raw symbols SCIP
1 #ifndef AWS_EVENT_STREAM_RPC_TEST_HELPER_H
2 #define AWS_EVENT_STREAM_RPC_TEST_HELPER_H
3 /**
4 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: Apache-2.0.
6 */
7
8 #include <aws/event-stream/event_stream_rpc_server.h>
9
10 #ifndef AWS_UNSTABLE_TESTING_API
11 # error The functions in this header file are for testing purposes only!
12 #endif
13
14 AWS_EXTERN_C_BEGIN
15
16 /** This is for testing edge cases around stream id exhaustion. Don't ever include this file outside of a unit test. */
17 AWS_EVENT_STREAM_API void aws_event_stream_rpc_server_override_last_stream_id(
18 struct aws_event_stream_rpc_server_connection *connection,
19 int32_t value);
20
21 AWS_EXTERN_C_END
22
23 #endif /* AWS_EVENT_STREAM_RPC_TEST_HELPER_H */