| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef AWS_SDKUTILS_ENDPOINTS_BDD_ENGINE_H |
| 7 |
#define AWS_SDKUTILS_ENDPOINTS_BDD_ENGINE_H |
| 8 |
|
| 9 |
#include <aws/common/byte_buf.h> |
| 10 |
#include <aws/sdkutils/sdkutils.h> |
| 11 |
|
| 12 |
AWS_PUSH_SANE_WARNING_LEVEL |
| 13 |
|
| 14 |
struct aws_endpoints_bdd_engine; |
| 15 |
struct aws_partitions_config; |
| 16 |
struct aws_endpoints_request_context; |
| 17 |
struct aws_endpoints_resolved_endpoint; |
| 18 |
|
| 19 |
AWS_EXTERN_C_BEGIN |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
AWS_SDKUTILS_API struct aws_endpoints_bdd_engine *aws_endpoints_bdd_engine_new_from_bytecode( |
| 30 |
struct aws_allocator *allocator, |
| 31 |
struct aws_byte_cursor bytecode, |
| 32 |
struct aws_partitions_config *partitions_config); |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
AWS_SDKUTILS_API struct aws_endpoints_bdd_engine *aws_endpoints_bdd_engine_acquire( |
| 41 |
struct aws_endpoints_bdd_engine *engine); |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
AWS_SDKUTILS_API struct aws_endpoints_bdd_engine *aws_endpoints_bdd_engine_release( |
| 50 |
struct aws_endpoints_bdd_engine *engine); |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
AWS_SDKUTILS_API int aws_endpoints_bdd_engine_resolve( |
| 61 |
struct aws_endpoints_bdd_engine *engine, |
| 62 |
const struct aws_endpoints_request_context *context, |
| 63 |
struct aws_endpoints_resolved_endpoint **out_resolved_endpoint); |
| 64 |
|
| 65 |
AWS_EXTERN_C_END |
| 66 |
AWS_POP_SANE_WARNING_LEVEL |
| 67 |
|
| 68 |
#endif |