Debian Codegraph @

crt/aws-c-common/include/aws/common/common.h

raw symbols SCIP
1 #ifndef AWS_COMMON_COMMON_H
2 #define AWS_COMMON_COMMON_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/config.h>
10 #include <aws/common/exports.h>
11
12 #include <aws/common/allocator.h>
13 #include <aws/common/assert.h>
14 #include <aws/common/error.h>
15 #include <aws/common/macros.h>
16 #include <aws/common/platform.h>
17 #include <aws/common/predicates.h>
18 #include <aws/common/stdbool.h>
19 #include <aws/common/stdint.h>
20 #include <aws/common/zero.h>
21 #include <stddef.h>
22 #include <stdio.h>
23 #include <stdlib.h> /* for abort() */
24 #include <string.h>
25
26 AWS_PUSH_SANE_WARNING_LEVEL
27 AWS_EXTERN_C_BEGIN
28
29 /**
30 * Initializes internal data structures used by aws-c-common.
31 * Must be called before using any functionality in aws-c-common.
32 */
33 AWS_COMMON_API
34 void aws_common_library_init(struct aws_allocator *allocator);
35
36 /**
37 * Shuts down the internal data structures used by aws-c-common.
38 */
39 AWS_COMMON_API
40 void aws_common_library_clean_up(void);
41
42 AWS_COMMON_API
43 void aws_common_fatal_assert_library_initialized(void);
44
45 AWS_EXTERN_C_END
46 AWS_POP_SANE_WARNING_LEVEL
47
48 #endif /* AWS_COMMON_COMMON_H */