-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor symbol controls in anticipation of first internal import (#45)
* Add hidden cjson to tests; expose various internal apis to tests; properly globalize private apis for tests
- Loading branch information
1 parent
dfe3e0a
commit ca2b98c
Showing
8 changed files
with
3,046 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
#ifndef AWS_IOTDEVICE_IOTDEVICE_INTERNALS_H | ||
#define AWS_IOTDEVICE_IOTDEVICE_INTERNALS_H | ||
|
||
#include <aws/iotdevice/private/serializer.h> | ||
|
||
struct aws_byte_buf; | ||
struct aws_byte_cursor; | ||
struct aws_secure_tunnel; | ||
struct aws_websocket; | ||
struct aws_websocket_client_connection_options; | ||
struct aws_websocket_send_frame_options; | ||
|
||
AWS_EXTERN_C_BEGIN | ||
|
||
AWS_IOTDEVICE_API | ||
int secure_tunneling_init_send_frame( | ||
struct aws_websocket_send_frame_options *frame_options, | ||
struct aws_secure_tunnel *secure_tunnel, | ||
const struct aws_byte_cursor *data, | ||
enum aws_iot_st_message_type type); | ||
|
||
AWS_IOTDEVICE_API | ||
void init_websocket_client_connection_options( | ||
struct aws_secure_tunnel *secure_tunnel, | ||
struct aws_websocket_client_connection_options *websocket_options); | ||
|
||
AWS_IOTDEVICE_API | ||
int secure_tunneling_init_send_frame( | ||
struct aws_websocket_send_frame_options *frame_options, | ||
struct aws_secure_tunnel *secure_tunnel, | ||
const struct aws_byte_cursor *data, | ||
enum aws_iot_st_message_type type); | ||
|
||
AWS_IOTDEVICE_API | ||
bool secure_tunneling_send_data_call(struct aws_websocket *websocket, struct aws_byte_buf *out_buf, void *user_data); | ||
|
||
AWS_EXTERN_C_END | ||
|
||
#endif /* AWS_IOTDEVICE_IOTDEVICE_INTERNALS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.