7#ifndef MAPLIBRE_NATIVE_C_RUNTIME_H
8#define MAPLIBRE_NATIVE_C_RUNTIME_H
528 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_CAMERA_CHANGE");
530 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_LOADING_FAILED");
532 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_RENDER_FRAME");
534 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_STYLE_IMAGE");
536 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_TILE_ACTION");
538 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_SOURCE_CHANGED");
540 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_STATUS");
543 "variant=MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_RESPONSE_ERROR"
547 "variant=MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_TILE_COUNT_LIMIT"
550 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_GLYPHS");
552 MLN_BINDING(
"variant=MLN_RUNTIME_EVENT_PAYLOAD_SPRITE");
570 "tag=payload_type;empty_variant=MLN_RUNTIME_EVENT_PAYLOAD_NONE"
585 MLN_BINDING(
"length=event_count;stride=event_size");
595MLN_BINDING(
"capture=manual")
608 "kind=callback_registration;release=release_user_data"
699typedef enum MLN_BINDING(
716 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_TRANSFORM_ERROR_RETRY_AFTER");
745 MLN_BINDING(
"length=parameter_count");
767 "kind=callback_registration;release=release_user_data"
773 void*
context MLN_BINDING(
"kind=context;lifetime=call");
803MLN_BINDING(
"failure=MLN_STATUS_NATIVE_ERROR")
823 "kind=callback_registration;release=release_user_data"
865 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_REQUEST_RANGE");
867 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_REQUEST_PRIOR_MODIFIED");
869 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_REQUEST_PRIOR_EXPIRES");
873 MLN_BINDING(
"length=prior_data_size;encoding=bytes");
878typedef enum MLN_BINDING(
897 const uint8_t*
bytes MLN_BINDING(
"length=byte_count;encoding=bytes");
907 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_RESPONSE_MODIFIED");
909 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_RESPONSE_EXPIRES");
914 MLN_BINDING(
"mask=fields;bit=MLN_RESOURCE_RESPONSE_RETRY_AFTER");
941MLN_BINDING(
"borrowed_owner=handle")
954 "kind=callback_registration;release=release_user_data"
971 "kind=callback_registration;release=release_user_data"
985MLN_BINDING(
"blocks=thread_start")
988 mln_runtime* out_runtime MLN_BINDING(
"direction=out"),
999MLN_BINDING(
"execution=command")
1009MLN_BINDING(
"execution=command")
1027MLN_BINDING(
"consumes=always")
1045MLN_BINDING(
"consumes=always")
1067MLN_BINDING(
"accepted_unless=out_cancelled")
1071 bool* out_cancelled MLN_BINDING(
"direction=out"),
1090MLN_BINDING(
"execution=command")
1097MLN_BINDING(
"execution=command")
1113MLN_BINDING(
"consumes=always")
1131MLN_BINDING(
"consumes=always")
1157MLN_BINDING(
"execution=command")
1164MLN_BINDING(
"execution=command")
1171MLN_BINDING(
"execution=operation")
1183MLN_BINDING(
"execution=operation")
1194MLN_BINDING(
"execution=lifecycle")
1214MLN_BINDING(
"execution=command")
1221MLN_BINDING(
"execution=command")
uint64_t mln_resource_transform_request
Definition base.h:142
uint64_t mln_delivery_queue
Definition base.h:169
void(*) mln_user_data_release(void *user_data)
Definition base.h:191
uint64_t mln_runtime
Definition base.h:107
uint64_t mln_resource_request
Definition base.h:137
mln_status
Definition base.h:41
mln_status mln_resource_transform_request_fail(mln_resource_transform_request request, const mln_resource_transform_error *error, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_run_cache_database_operation(mln_runtime runtime, mln_cache_database_operation operation, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_resource_request_field
Definition runtime.h:833
@ MLN_RESOURCE_REQUEST_RANGE
Definition runtime.h:834
@ MLN_RESOURCE_REQUEST_PRIOR_EXPIRES
Definition runtime.h:836
@ MLN_RESOURCE_REQUEST_PRIOR_MODIFIED
Definition runtime.h:835
mln_status mln_runtime_dispose(mln_runtime runtime, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_create(const mln_runtime_options *options, mln_runtime *out_runtime, mln_diagnostic *out_diagnostic)
mln_status mln_resource_request_pass_through(mln_resource_request handle, mln_diagnostic *out_diagnostic)
mln_resource_response_field
Definition runtime.h:880
@ MLN_RESOURCE_RESPONSE_RETRY_AFTER
Definition runtime.h:883
@ MLN_RESOURCE_RESPONSE_MODIFIED
Definition runtime.h:881
@ MLN_RESOURCE_RESPONSE_EXPIRES
Definition runtime.h:882
uint32_t mln_url_match_flags
Definition runtime.h:648
mln_tile_operation
Definition runtime.h:298
@ MLN_TILE_OPERATION_ERROR
Definition runtime.h:305
@ MLN_TILE_OPERATION_NULL
Definition runtime.h:307
@ MLN_TILE_OPERATION_CANCELLED
Definition runtime.h:306
@ MLN_TILE_OPERATION_END_PARSE
Definition runtime.h:304
@ MLN_TILE_OPERATION_REQUESTED_FROM_NETWORK
Definition runtime.h:300
@ MLN_TILE_OPERATION_REQUESTED_FROM_CACHE
Definition runtime.h:299
@ MLN_TILE_OPERATION_START_PARSE
Definition runtime.h:303
@ MLN_TILE_OPERATION_LOAD_FROM_NETWORK
Definition runtime.h:301
@ MLN_TILE_OPERATION_LOAD_FROM_CACHE
Definition runtime.h:302
mln_runtime_event_payload_type
Definition runtime.h:245
@ MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_TILE_COUNT_LIMIT
Definition runtime.h:255
@ MLN_RUNTIME_EVENT_PAYLOAD_LOADING_FAILED
Definition runtime.h:248
@ MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_STATUS
Definition runtime.h:253
@ MLN_RUNTIME_EVENT_PAYLOAD_TILE_ACTION
Definition runtime.h:251
@ MLN_RUNTIME_EVENT_PAYLOAD_SOURCE_CHANGED
Definition runtime.h:252
@ MLN_RUNTIME_EVENT_PAYLOAD_NONE
Definition runtime.h:246
@ MLN_RUNTIME_EVENT_PAYLOAD_STYLE_IMAGE
Definition runtime.h:250
@ MLN_RUNTIME_EVENT_PAYLOAD_RENDER_FRAME
Definition runtime.h:249
@ MLN_RUNTIME_EVENT_PAYLOAD_CAMERA_CHANGE
Definition runtime.h:247
@ MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_RESPONSE_ERROR
Definition runtime.h:254
@ MLN_RUNTIME_EVENT_PAYLOAD_GLYPHS
Definition runtime.h:256
@ MLN_RUNTIME_EVENT_PAYLOAD_SPRITE
Definition runtime.h:257
mln_status mln_runtime_clear_http_header_transform(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_resource_kind
Definition runtime.h:311
@ MLN_RESOURCE_KIND_STYLE
Definition runtime.h:313
@ MLN_RESOURCE_KIND_UNKNOWN
Definition runtime.h:312
@ MLN_RESOURCE_KIND_SPRITE_JSON
Definition runtime.h:318
@ MLN_RESOURCE_KIND_SPRITE_IMAGE
Definition runtime.h:317
@ MLN_RESOURCE_KIND_IMAGE
Definition runtime.h:319
@ MLN_RESOURCE_KIND_GLYPHS
Definition runtime.h:316
@ MLN_RESOURCE_KIND_SOURCE
Definition runtime.h:314
@ MLN_RESOURCE_KIND_TILE
Definition runtime.h:315
mln_offline_region_definition_type
Definition runtime.h:65
@ MLN_OFFLINE_REGION_DEFINITION_GEOMETRY
Definition runtime.h:67
@ MLN_OFFLINE_REGION_DEFINITION_TILE_PYRAMID
Definition runtime.h:66
mln_status mln_runtime_set_maximum_ambient_cache_size(mln_runtime runtime, uint64_t size, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_network_status
Definition runtime.h:25
@ MLN_NETWORK_STATUS_ONLINE
Definition runtime.h:26
@ MLN_NETWORK_STATUS_OFFLINE
Definition runtime.h:27
mln_status mln_runtime_set_http_header_transform(mln_runtime runtime, const mln_http_header_transform *transform, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_camera_change_source
Definition runtime.h:267
@ MLN_CAMERA_CHANGE_SOURCE_MOMENTUM
Definition runtime.h:276
@ MLN_CAMERA_CHANGE_SOURCE_COMMAND
Definition runtime.h:272
@ MLN_CAMERA_CHANGE_SOURCE_GESTURE
Definition runtime.h:274
mln_runtime_event_type
Definition runtime.h:105
@ MLN_RUNTIME_EVENT_MAP_IDLE
Definition runtime.h:123
@ MLN_RUNTIME_EVENT_MAP_TILE_ACTION
Definition runtime.h:132
@ MLN_RUNTIME_EVENT_MAP_SPRITE_LOADED
Definition runtime.h:149
@ MLN_RUNTIME_EVENT_MAP_SPRITE_REQUESTED
Definition runtime.h:148
@ MLN_RUNTIME_EVENT_OFFLINE_REGION_RESPONSE_ERROR
Definition runtime.h:137
@ MLN_RUNTIME_EVENT_MAP_SOURCE_CHANGED
Definition runtime.h:134
@ MLN_RUNTIME_EVENT_OFFLINE_REGION_STATUS_CHANGED
Definition runtime.h:135
@ MLN_RUNTIME_EVENT_MAP_STYLE_IMAGE_MISSING
Definition runtime.h:130
@ MLN_RUNTIME_EVENT_MAP_LOADING_FAILED
Definition runtime.h:118
@ MLN_RUNTIME_EVENT_MAP_GLYPHS_REQUESTED
Definition runtime.h:145
@ MLN_RUNTIME_EVENT_MAP_GLYPHS_ERROR
Definition runtime.h:147
@ MLN_RUNTIME_EVENT_MAP_LOADING_FINISHED
Definition runtime.h:116
@ MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_FINISHED
Definition runtime.h:126
@ MLN_RUNTIME_EVENT_MAP_CAMERA_WILL_CHANGE
Definition runtime.h:106
@ MLN_RUNTIME_EVENT_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED
Definition runtime.h:144
@ MLN_RUNTIME_EVENT_MAP_SPRITE_ERROR
Definition runtime.h:150
@ MLN_RUNTIME_EVENT_MAP_RENDER_MAP_FINISHED
Definition runtime.h:128
@ MLN_RUNTIME_EVENT_MAP_STYLE_LOADED
Definition runtime.h:109
@ MLN_RUNTIME_EVENT_MAP_CAMERA_IS_CHANGING
Definition runtime.h:107
@ MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_STARTED
Definition runtime.h:125
@ MLN_RUNTIME_EVENT_MAP_RENDER_MAP_STARTED
Definition runtime.h:127
@ MLN_RUNTIME_EVENT_MAP_GLYPHS_LOADED
Definition runtime.h:146
@ MLN_RUNTIME_EVENT_MAP_LOADING_STARTED
Definition runtime.h:111
@ MLN_RUNTIME_EVENT_MAP_CAMERA_DID_CHANGE
Definition runtime.h:108
@ MLN_RUNTIME_EVENT_MAP_RENDER_ERROR
Definition runtime.h:124
mln_status mln_network_get_status(mln_network_status *out_status, mln_diagnostic *out_diagnostic)
uint32_t mln_resource_transform_error_fields
Definition runtime.h:706
mln_status mln_resource_transform_request_complete(mln_resource_transform_request request, mln_buffer_view url, mln_diagnostic *out_diagnostic)
int64_t mln_offline_region_id
Definition runtime.h:62
mln_status mln_runtime_set_event_handler(mln_runtime runtime, const mln_runtime_event_handler *handler, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_release(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_resource_kind_flag
Definition runtime.h:612
@ MLN_RESOURCE_KIND_FLAG_SOURCE
Definition runtime.h:615
@ MLN_RESOURCE_KIND_FLAG_IMAGE
Definition runtime.h:620
@ MLN_RESOURCE_KIND_FLAG_GLYPHS
Definition runtime.h:617
@ MLN_RESOURCE_KIND_FLAG_TILE
Definition runtime.h:616
@ MLN_RESOURCE_KIND_FLAG_UNKNOWN
Definition runtime.h:613
@ MLN_RESOURCE_KIND_FLAG_SPRITE_JSON
Definition runtime.h:619
@ MLN_RESOURCE_KIND_FLAG_STYLE
Definition runtime.h:614
@ MLN_RESOURCE_KIND_FLAG_ALL
Definition runtime.h:621
@ MLN_RESOURCE_KIND_FLAG_SPRITE_IMAGE
Definition runtime.h:618
mln_status(*) mln_http_header_transform_callback(void *user_data, mln_resource_kind kind, mln_buffer_view url, mln_http_header_transform_response *out_response)
Definition runtime.h:804
mln_status mln_network_set_status(mln_network_status status, mln_diagnostic *out_diagnostic)
mln_runtime_event_flag
Definition runtime.h:154
@ MLN_RUNTIME_EVENT_FLAG_MAP_LOADING_FAILED
Definition runtime.h:168
@ MLN_RUNTIME_EVENT_FLAG_ALL_MAP_EVENTS
Definition runtime.h:205
@ MLN_RUNTIME_EVENT_FLAG_ALL_RUNTIME_EVENTS
Definition runtime.h:227
@ MLN_RUNTIME_EVENT_FLAG_MAP_GLYPHS_LOADED
Definition runtime.h:195
@ MLN_RUNTIME_EVENT_FLAG_MAP_LOADING_STARTED
Definition runtime.h:164
@ MLN_RUNTIME_EVENT_FLAG_MAP_GLYPHS_REQUESTED
Definition runtime.h:193
@ MLN_RUNTIME_EVENT_FLAG_MAP_SPRITE_ERROR
Definition runtime.h:203
@ MLN_RUNTIME_EVENT_FLAG_MAP_RENDER_ERROR
Definition runtime.h:171
@ MLN_RUNTIME_EVENT_FLAG_MAP_RENDER_MAP_STARTED
Definition runtime.h:177
@ MLN_RUNTIME_EVENT_FLAG_MAP_SOURCE_CHANGED
Definition runtime.h:185
@ MLN_RUNTIME_EVENT_FLAG_NONE
Definition runtime.h:155
@ MLN_RUNTIME_EVENT_FLAG_MAP_RENDER_MAP_FINISHED
Definition runtime.h:179
@ MLN_RUNTIME_EVENT_FLAG_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED
Definition runtime.h:191
@ MLN_RUNTIME_EVENT_FLAG_ALL
Definition runtime.h:231
@ MLN_RUNTIME_EVENT_FLAG_MAP_IDLE
Definition runtime.h:170
@ MLN_RUNTIME_EVENT_FLAG_MAP_LOADING_FINISHED
Definition runtime.h:166
@ MLN_RUNTIME_EVENT_FLAG_MAP_RENDER_FRAME_FINISHED
Definition runtime.h:175
@ MLN_RUNTIME_EVENT_FLAG_MAP_SPRITE_LOADED
Definition runtime.h:201
@ MLN_RUNTIME_EVENT_FLAG_MAP_CAMERA_WILL_CHANGE
Definition runtime.h:156
@ MLN_RUNTIME_EVENT_FLAG_OFFLINE_REGION_STATUS_CHANGED
Definition runtime.h:187
@ MLN_RUNTIME_EVENT_FLAG_MAP_STYLE_IMAGE_MISSING
Definition runtime.h:181
@ MLN_RUNTIME_EVENT_FLAG_MAP_CAMERA_DID_CHANGE
Definition runtime.h:160
@ MLN_RUNTIME_EVENT_FLAG_MAP_CAMERA_IS_CHANGING
Definition runtime.h:158
@ MLN_RUNTIME_EVENT_FLAG_MAP_SPRITE_REQUESTED
Definition runtime.h:199
@ MLN_RUNTIME_EVENT_FLAG_MAP_STYLE_LOADED
Definition runtime.h:162
@ MLN_RUNTIME_EVENT_FLAG_OFFLINE_REGION_RESPONSE_ERROR
Definition runtime.h:189
@ MLN_RUNTIME_EVENT_FLAG_MAP_GLYPHS_ERROR
Definition runtime.h:197
@ MLN_RUNTIME_EVENT_FLAG_MAP_TILE_ACTION
Definition runtime.h:183
@ MLN_RUNTIME_EVENT_FLAG_MAP_RENDER_FRAME_STARTED
Definition runtime.h:173
mln_map_load_error
Definition runtime.h:280
@ MLN_MAP_LOAD_ERROR_UNKNOWN
Definition runtime.h:281
@ MLN_MAP_LOAD_ERROR_STYLE_PARSE
Definition runtime.h:283
@ MLN_MAP_LOAD_ERROR_STYLE_LOAD
Definition runtime.h:285
mln_resource_response_status
Definition runtime.h:349
@ MLN_RESOURCE_RESPONSE_STATUS_ERROR
Definition runtime.h:351
@ MLN_RESOURCE_RESPONSE_STATUS_OK
Definition runtime.h:350
@ MLN_RESOURCE_RESPONSE_STATUS_NOT_MODIFIED
Definition runtime.h:357
@ MLN_RESOURCE_RESPONSE_STATUS_NO_CONTENT
Definition runtime.h:353
mln_status mln_resource_request_is_cancelled(mln_resource_request handle, bool *out_cancelled, mln_diagnostic *out_diagnostic)
void mln_resource_transform_request_release(mln_resource_transform_request request)
mln_status mln_runtime_set_resource_transform(mln_runtime runtime, const mln_resource_transform *transform, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_resource_request_fields
Definition runtime.h:840
void(*) mln_resource_transform_callback(void *user_data, mln_resource_kind kind, mln_buffer_view url, mln_resource_transform_request request)
Definition runtime.h:693
mln_runtime_event_source_type
Definition runtime.h:239
@ MLN_RUNTIME_EVENT_SOURCE_RUNTIME
Definition runtime.h:240
@ MLN_RUNTIME_EVENT_SOURCE_MAP
Definition runtime.h:241
mln_resource_transform_error_field
Definition runtime.h:701
@ MLN_RESOURCE_TRANSFORM_ERROR_RETRY_AFTER
Definition runtime.h:702
mln_resource_storage_policy
Definition runtime.h:343
@ MLN_RESOURCE_STORAGE_POLICY_PERMANENT
Definition runtime.h:344
@ MLN_RESOURCE_STORAGE_POLICY_VOLATILE
Definition runtime.h:345
mln_camera_change_mode
Definition runtime.h:261
@ MLN_CAMERA_CHANGE_MODE_IMMEDIATE
Definition runtime.h:262
@ MLN_CAMERA_CHANGE_MODE_ANIMATED
Definition runtime.h:263
mln_status mln_resource_request_set_cancel_callback(mln_resource_request handle, const mln_resource_request_cancel_handler *handler, bool *out_cancelled, mln_diagnostic *out_diagnostic)
mln_url_match_flag
Definition runtime.h:638
@ MLN_URL_MATCH_GLOB
Definition runtime.h:644
void mln_resource_request_release(mln_resource_request handle)
mln_resource_error_reason
Definition runtime.h:361
@ MLN_RESOURCE_ERROR_REASON_RATE_LIMIT
Definition runtime.h:369
@ MLN_RESOURCE_ERROR_REASON_OTHER
Definition runtime.h:363
@ MLN_RESOURCE_ERROR_REASON_SERVER
Definition runtime.h:366
@ MLN_RESOURCE_ERROR_REASON_CONNECTION
Definition runtime.h:368
@ MLN_RESOURCE_ERROR_REASON_NOT_FOUND
Definition runtime.h:364
mln_offline_region_download_state
Definition runtime.h:71
@ MLN_OFFLINE_REGION_DOWNLOAD_ACTIVE
Definition runtime.h:73
@ MLN_OFFLINE_REGION_DOWNLOAD_INACTIVE
Definition runtime.h:72
void(*) mln_runtime_event_callback(void *user_data, const mln_event_batch_view *events)
Definition runtime.h:596
mln_resource_priority
Definition runtime.h:331
@ MLN_RESOURCE_PRIORITY_REGULAR
Definition runtime.h:332
@ MLN_RESOURCE_PRIORITY_LOW
Definition runtime.h:333
uint32_t mln_resource_kind_flags
Definition runtime.h:629
mln_status mln_runtime_clear_event_handler(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
void(*) mln_resource_provider_callback(void *user_data, const mln_resource_request_info *request, mln_resource_request handle)
Definition runtime.h:928
mln_status mln_runtime_set_resource_provider(mln_runtime runtime, const mln_resource_provider *provider, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_resource_usage
Definition runtime.h:337
@ MLN_RESOURCE_USAGE_ONLINE
Definition runtime.h:338
@ MLN_RESOURCE_USAGE_OFFLINE
Definition runtime.h:339
uint64_t mln_runtime_event_flags
Definition runtime.h:236
mln_status mln_runtime_clear_resource_transform(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_resource_loading_method
Definition runtime.h:323
@ MLN_RESOURCE_LOADING_METHOD_ALL
Definition runtime.h:325
@ MLN_RESOURCE_LOADING_METHOD_NETWORK_ONLY
Definition runtime.h:327
@ MLN_RESOURCE_LOADING_METHOD_CACHE_ONLY
Definition runtime.h:326
mln_status mln_resource_request_complete(mln_resource_request handle, const mln_resource_response *response, mln_diagnostic *out_diagnostic)
mln_render_mode
Definition runtime.h:292
@ MLN_RENDER_MODE_FULL
Definition runtime.h:294
@ MLN_RENDER_MODE_PARTIAL
Definition runtime.h:293
mln_status mln_runtime_clear_resource_provider(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_cache_database_operation
Definition runtime.h:37
@ MLN_CACHE_DATABASE_OPERATION_RESET
Definition runtime.h:58
@ MLN_CACHE_DATABASE_OPERATION_INVALIDATE
Definition runtime.h:48
@ MLN_CACHE_DATABASE_OPERATION_CLEAR
Definition runtime.h:42
@ MLN_CACHE_DATABASE_OPERATION_PACK
Definition runtime.h:53
mln_status mln_http_header_transform_response_set_header(mln_http_header_transform_response *response, mln_buffer_view name, mln_buffer_view value, mln_diagnostic *out_diagnostic)
uint32_t mln_resource_response_fields
Definition runtime.h:887
void(*) mln_resource_request_cancel_callback(void *user_data, mln_resource_request handle)
Definition runtime.h:942
Definition completion.h:66
uint32_t event_size
Definition runtime.h:583
uint32_t size
Definition runtime.h:582
const mln_runtime_event * events
Definition runtime.h:585
size_t event_count
Definition runtime.h:586
uint64_t completed_resource_size
Definition runtime.h:82
uint64_t completed_tile_size
Definition runtime.h:86
mln_offline_region_download_state download_state
Definition runtime.h:78
uint64_t required_tile_count
Definition runtime.h:84
bool required_resource_count_is_precise
Definition runtime.h:92
bool complete
Definition runtime.h:94
uint64_t completed_resource_count
Definition runtime.h:80
uint64_t required_resource_count
Definition runtime.h:91
uint64_t completed_tile_count
Definition runtime.h:83
int64_t draw_call_count
Definition runtime.h:415
double rendering_time_ms
Definition runtime.h:411
double encoding_time_ms
Definition runtime.h:409
int64_t total_draw_call_count
Definition runtime.h:417
int64_t frame_count
Definition runtime.h:413
uint32_t size
Definition runtime.h:959
const mln_resource_route * routes
Definition runtime.h:968
mln_resource_provider_callback callback
Definition runtime.h:960
void * user_data
Definition runtime.h:961
mln_delivery_queue queue
Definition runtime.h:963
size_t route_count
Definition runtime.h:969
mln_user_data_release release_user_data
Definition runtime.h:962
uint64_t end
Definition runtime.h:829
uint64_t start
Definition runtime.h:828
void * user_data
Definition runtime.h:950
mln_delivery_queue queue
Definition runtime.h:952
uint32_t size
Definition runtime.h:948
mln_resource_request_cancel_callback callback
Definition runtime.h:949
mln_user_data_release release_user_data
Definition runtime.h:951
mln_resource_kind kind
Definition runtime.h:858
size_t prior_data_size
Definition runtime.h:874
mln_resource_request_fields fields
Definition runtime.h:850
mln_resource_loading_method loading_method
Definition runtime.h:859
uint32_t size
Definition runtime.h:849
mln_buffer_view prior_etag
Definition runtime.h:871
const uint8_t * prior_data
Definition runtime.h:873
int64_t prior_modified_unix_ms
Definition runtime.h:867
mln_buffer_view requested_url
Definition runtime.h:852
mln_buffer_view resolved_url
Definition runtime.h:857
mln_resource_range range
Definition runtime.h:865
int64_t prior_expires_unix_ms
Definition runtime.h:869
mln_resource_usage usage
Definition runtime.h:861
mln_resource_priority priority
Definition runtime.h:860
mln_resource_storage_policy storage_policy
Definition runtime.h:862
bool must_revalidate
Definition runtime.h:905
mln_resource_response_status status
Definition runtime.h:893
int64_t expires_unix_ms
Definition runtime.h:909
int64_t modified_unix_ms
Definition runtime.h:907
mln_resource_error_reason error_reason
Definition runtime.h:895
mln_resource_response_fields fields
Definition runtime.h:892
uint32_t size
Definition runtime.h:891
mln_buffer_view etag
Definition runtime.h:911
int64_t retry_after_unix_ms
Definition runtime.h:914
size_t byte_count
Definition runtime.h:898
mln_buffer_view error_message
Definition runtime.h:900
const uint8_t * bytes
Definition runtime.h:897
mln_url_match_flags flags
Definition runtime.h:655
uint32_t size
Definition runtime.h:652
mln_buffer_view url
Definition runtime.h:656
mln_resource_kind_flags kinds
Definition runtime.h:654
mln_camera_change_mode mode
Definition runtime.h:433
mln_camera_change_source source
Definition runtime.h:434
uint32_t last
Definition runtime.h:487
bool font_face
Definition runtime.h:488
const mln_buffer_view * font_stack
Definition runtime.h:484
uint32_t first
Definition runtime.h:486
size_t font_count
Definition runtime.h:485
void * user_data
Definition runtime.h:604
mln_user_data_release release_user_data
Definition runtime.h:605
mln_delivery_queue queue
Definition runtime.h:606
uint32_t size
Definition runtime.h:602
mln_runtime_event_callback callback
Definition runtime.h:603
mln_map_load_error error
Definition runtime.h:439
mln_resource_error_reason reason
Definition runtime.h:510
mln_offline_region_id region_id
Definition runtime.h:509
mln_offline_region_id region_id
Definition runtime.h:503
mln_offline_region_status status
Definition runtime.h:504
mln_offline_region_id region_id
Definition runtime.h:517
uint64_t limit
Definition runtime.h:522
bool needs_repaint
Definition runtime.h:423
mln_rendering_stats stats
Definition runtime.h:425
mln_render_mode mode
Definition runtime.h:422
bool placement_changed
Definition runtime.h:424
mln_buffer_view source_id
Definition runtime.h:449
mln_buffer_view id
Definition runtime.h:497
mln_buffer_view url
Definition runtime.h:498
mln_buffer_view image_id
Definition runtime.h:444
mln_buffer_view source_id
Definition runtime.h:472
mln_tile_operation operation
Definition runtime.h:473
mln_tile_id tile_id
Definition runtime.h:474
uint64_t generation
Definition runtime.h:565
uint64_t source
Definition runtime.h:560
mln_runtime_event_payload_type payload_type
Definition runtime.h:566
mln_runtime_event_source_type source_type
Definition runtime.h:558
mln_runtime_event_payload payload
Definition runtime.h:571
mln_runtime_event_type type
Definition runtime.h:557
mln_buffer_view message
Definition runtime.h:568
mln_buffer_view asset_path
Definition runtime.h:397
mln_buffer_view cache_path
Definition runtime.h:403
uint32_t size
Definition runtime.h:392
int32_t wrap
Definition runtime.h:463
uint32_t canonical_y
Definition runtime.h:466
uint32_t overscaled_z
Definition runtime.h:462
uint32_t canonical_x
Definition runtime.h:465
uint32_t canonical_z
Definition runtime.h:464
mln_buffer_view name
Definition runtime.h:727
mln_buffer_view value
Definition runtime.h:728
mln_runtime_event_offline_region_response_error offline_region_response_error
Definition runtime.h:544
mln_runtime_event_glyphs glyphs
Definition runtime.h:550
mln_runtime_event_offline_region_status offline_region_status
Definition runtime.h:540
mln_runtime_event_render_frame render_frame
Definition runtime.h:532
mln_runtime_event_sprite sprite
Definition runtime.h:552
mln_runtime_event_source_changed source_changed
Definition runtime.h:538
mln_runtime_event_style_image style_image
Definition runtime.h:534
mln_runtime_event_loading_failed loading_failed
Definition runtime.h:530
mln_runtime_event_camera_change camera_change
Definition runtime.h:528
mln_runtime_event_tile_action tile_action
Definition runtime.h:536
mln_runtime_event_offline_region_tile_count_limit offline_region_tile_count_limit
Definition runtime.h:548