| 1 | #ifndef AWS_COMMON_PRIVATE_EXTERNAL_MODULE_IMPL_H |
| 2 | #define AWS_COMMON_PRIVATE_EXTERNAL_MODULE_IMPL_H |
| 3 | |
| 4 | /** |
| 5 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 6 | * SPDX-License-Identifier: Apache-2.0. |
| 7 | */ |
| 8 | |
| 9 | #include <aws/common/common.h> |
| 10 | |
| 11 | /** |
| 12 | * Initializes the JSON module for use. |
| 13 | * @param allocator The allocator to use for creating aws_json_value structs. |
| 14 | */ |
| 15 | void aws_json_module_init(struct aws_allocator *allocator); |
| 16 | |
| 17 | /** |
| 18 | * Cleans up the JSON module. Should be called when finished using the module. |
| 19 | */ |
| 20 | void aws_json_module_cleanup(void); |
| 21 | |
| 22 | void aws_cbor_module_init(struct aws_allocator *allocator); |
| 23 | |
| 24 | void aws_cbor_module_cleanup(void); |
| 25 | |
| 26 | #endif // AWS_COMMON_PRIVATE_EXTERNAL_MODULE_IMPL_H |