6#ifndef MAPLIBRE_NATIVE_C_RUNTIME_H
7#define MAPLIBRE_NATIVE_C_RUNTIME_H
22typedef enum mln_network_status : uint32_t {
23 MLN_NETWORK_STATUS_ONLINE = 1,
24 MLN_NETWORK_STATUS_OFFLINE = 2,
27typedef enum mln_ambient_cache_operation : uint32_t {
28 MLN_AMBIENT_CACHE_OPERATION_RESET_DATABASE = 1,
29 MLN_AMBIENT_CACHE_OPERATION_PACK_DATABASE = 2,
30 MLN_AMBIENT_CACHE_OPERATION_INVALIDATE = 3,
31 MLN_AMBIENT_CACHE_OPERATION_CLEAR = 4,
32} mln_ambient_cache_operation;
34typedef int64_t mln_offline_region_id;
36typedef enum mln_offline_region_definition_type : uint32_t {
37 MLN_OFFLINE_REGION_DEFINITION_TILE_PYRAMID = 1,
38 MLN_OFFLINE_REGION_DEFINITION_GEOMETRY = 2,
39} mln_offline_region_definition_type;
41typedef enum mln_offline_region_download_state : uint32_t {
42 MLN_OFFLINE_REGION_DOWNLOAD_INACTIVE = 0,
43 MLN_OFFLINE_REGION_DOWNLOAD_ACTIVE = 1,
44} mln_offline_region_download_state;
51 MLN_OFFLINE_OPERATION_AMBIENT_CACHE = 1,
52 MLN_OFFLINE_OPERATION_REGION_CREATE = 2,
53 MLN_OFFLINE_OPERATION_REGION_GET = 3,
54 MLN_OFFLINE_OPERATION_REGIONS_LIST = 4,
55 MLN_OFFLINE_OPERATION_REGIONS_MERGE_DATABASE = 5,
56 MLN_OFFLINE_OPERATION_REGION_UPDATE_METADATA = 6,
57 MLN_OFFLINE_OPERATION_REGION_GET_STATUS = 7,
58 MLN_OFFLINE_OPERATION_REGION_SET_OBSERVED = 8,
59 MLN_OFFLINE_OPERATION_REGION_SET_DOWNLOAD_STATE = 9,
60 MLN_OFFLINE_OPERATION_REGION_INVALIDATE = 10,
61 MLN_OFFLINE_OPERATION_REGION_DELETE = 11,
62 MLN_OFFLINE_OPERATION_SET_MAXIMUM_AMBIENT_CACHE_SIZE = 12,
67 MLN_OFFLINE_OPERATION_RESULT_NONE = 0,
68 MLN_OFFLINE_OPERATION_RESULT_REGION = 1,
69 MLN_OFFLINE_OPERATION_RESULT_OPTIONAL_REGION = 2,
70 MLN_OFFLINE_OPERATION_RESULT_REGION_LIST = 3,
71 MLN_OFFLINE_OPERATION_RESULT_REGION_STATUS = 4,
79 uint64_t completed_resource_count;
80 uint64_t completed_resource_size;
81 uint64_t completed_tile_count;
82 uint64_t required_tile_count;
83 uint64_t completed_tile_size;
84 uint64_t required_resource_count;
85 bool required_resource_count_is_precise;
138 MLN_RUNTIME_EVENT_MAP_CAMERA_WILL_CHANGE = 1,
139 MLN_RUNTIME_EVENT_MAP_CAMERA_IS_CHANGING = 2,
140 MLN_RUNTIME_EVENT_MAP_CAMERA_DID_CHANGE = 3,
141 MLN_RUNTIME_EVENT_MAP_STYLE_LOADED = 4,
142 MLN_RUNTIME_EVENT_MAP_LOADING_STARTED = 5,
143 MLN_RUNTIME_EVENT_MAP_LOADING_FINISHED = 6,
144 MLN_RUNTIME_EVENT_MAP_LOADING_FAILED = 7,
145 MLN_RUNTIME_EVENT_MAP_IDLE = 8,
146 MLN_RUNTIME_EVENT_MAP_RENDER_UPDATE_AVAILABLE = 9,
147 MLN_RUNTIME_EVENT_MAP_RENDER_ERROR = 10,
148 MLN_RUNTIME_EVENT_MAP_STILL_IMAGE_FINISHED = 11,
149 MLN_RUNTIME_EVENT_MAP_STILL_IMAGE_FAILED = 12,
150 MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_STARTED = 13,
151 MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_FINISHED = 14,
152 MLN_RUNTIME_EVENT_MAP_RENDER_MAP_STARTED = 15,
153 MLN_RUNTIME_EVENT_MAP_RENDER_MAP_FINISHED = 16,
154 MLN_RUNTIME_EVENT_MAP_STYLE_IMAGE_MISSING = 17,
155 MLN_RUNTIME_EVENT_MAP_TILE_ACTION = 18,
156 MLN_RUNTIME_EVENT_OFFLINE_REGION_STATUS_CHANGED = 19,
157 MLN_RUNTIME_EVENT_OFFLINE_REGION_RESPONSE_ERROR = 20,
158 MLN_RUNTIME_EVENT_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED = 21,
159 MLN_RUNTIME_EVENT_OFFLINE_OPERATION_COMPLETED = 22,
160 MLN_RUNTIME_EVENT_MAP_CAMERA_TRANSITION_FINISHED = 23,
179 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_WILL_CHANGE =
180 1ULL << MLN_RUNTIME_EVENT_MAP_CAMERA_WILL_CHANGE,
181 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_IS_CHANGING =
182 1ULL << MLN_RUNTIME_EVENT_MAP_CAMERA_IS_CHANGING,
183 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_DID_CHANGE =
184 1ULL << MLN_RUNTIME_EVENT_MAP_CAMERA_DID_CHANGE,
185 MLN_RUNTIME_EVENT_MASK_MAP_STYLE_LOADED =
186 1ULL << MLN_RUNTIME_EVENT_MAP_STYLE_LOADED,
187 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_STARTED =
188 1ULL << MLN_RUNTIME_EVENT_MAP_LOADING_STARTED,
189 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_FINISHED =
190 1ULL << MLN_RUNTIME_EVENT_MAP_LOADING_FINISHED,
191 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_FAILED =
192 1ULL << MLN_RUNTIME_EVENT_MAP_LOADING_FAILED,
193 MLN_RUNTIME_EVENT_MASK_MAP_IDLE = 1ULL << MLN_RUNTIME_EVENT_MAP_IDLE,
194 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_UPDATE_AVAILABLE =
195 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_UPDATE_AVAILABLE,
196 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_ERROR =
197 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_ERROR,
198 MLN_RUNTIME_EVENT_MASK_MAP_STILL_IMAGE_FINISHED =
199 1ULL << MLN_RUNTIME_EVENT_MAP_STILL_IMAGE_FINISHED,
200 MLN_RUNTIME_EVENT_MASK_MAP_STILL_IMAGE_FAILED =
201 1ULL << MLN_RUNTIME_EVENT_MAP_STILL_IMAGE_FAILED,
202 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_FRAME_STARTED =
203 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_STARTED,
204 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_FRAME_FINISHED =
205 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_FRAME_FINISHED,
206 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_MAP_STARTED =
207 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_MAP_STARTED,
208 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_MAP_FINISHED =
209 1ULL << MLN_RUNTIME_EVENT_MAP_RENDER_MAP_FINISHED,
210 MLN_RUNTIME_EVENT_MASK_MAP_STYLE_IMAGE_MISSING =
211 1ULL << MLN_RUNTIME_EVENT_MAP_STYLE_IMAGE_MISSING,
212 MLN_RUNTIME_EVENT_MASK_MAP_TILE_ACTION = 1ULL
213 << MLN_RUNTIME_EVENT_MAP_TILE_ACTION,
214 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_TRANSITION_FINISHED =
215 1ULL << MLN_RUNTIME_EVENT_MAP_CAMERA_TRANSITION_FINISHED,
216 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_STATUS_CHANGED =
217 1ULL << MLN_RUNTIME_EVENT_OFFLINE_REGION_STATUS_CHANGED,
218 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_RESPONSE_ERROR =
219 1ULL << MLN_RUNTIME_EVENT_OFFLINE_REGION_RESPONSE_ERROR,
220 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED =
221 1ULL << MLN_RUNTIME_EVENT_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED,
222 MLN_RUNTIME_EVENT_MASK_OFFLINE_OPERATION_COMPLETED =
223 1ULL << MLN_RUNTIME_EVENT_OFFLINE_OPERATION_COMPLETED,
226 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_WILL_CHANGE |
227 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_IS_CHANGING |
228 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_DID_CHANGE |
229 MLN_RUNTIME_EVENT_MASK_MAP_STYLE_LOADED |
230 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_STARTED |
231 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_FINISHED |
232 MLN_RUNTIME_EVENT_MASK_MAP_LOADING_FAILED |
233 MLN_RUNTIME_EVENT_MASK_MAP_IDLE |
234 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_UPDATE_AVAILABLE |
235 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_ERROR |
236 MLN_RUNTIME_EVENT_MASK_MAP_STILL_IMAGE_FINISHED |
237 MLN_RUNTIME_EVENT_MASK_MAP_STILL_IMAGE_FAILED |
238 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_FRAME_STARTED |
239 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_FRAME_FINISHED |
240 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_MAP_STARTED |
241 MLN_RUNTIME_EVENT_MASK_MAP_RENDER_MAP_FINISHED |
242 MLN_RUNTIME_EVENT_MASK_MAP_STYLE_IMAGE_MISSING |
243 MLN_RUNTIME_EVENT_MASK_MAP_TILE_ACTION |
244 MLN_RUNTIME_EVENT_MASK_MAP_CAMERA_TRANSITION_FINISHED,
247 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_STATUS_CHANGED |
248 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_RESPONSE_ERROR |
249 MLN_RUNTIME_EVENT_MASK_OFFLINE_REGION_TILE_COUNT_LIMIT_EXCEEDED |
250 MLN_RUNTIME_EVENT_MASK_OFFLINE_OPERATION_COMPLETED,
258 MLN_RUNTIME_EVENT_SOURCE_RUNTIME = 0,
259 MLN_RUNTIME_EVENT_SOURCE_MAP = 1,
269 MLN_RUNTIME_EVENT_PAYLOAD_NONE = 0,
270 MLN_RUNTIME_EVENT_PAYLOAD_RENDER_FRAME = 1,
271 MLN_RUNTIME_EVENT_PAYLOAD_RENDER_MAP = 2,
272 MLN_RUNTIME_EVENT_PAYLOAD_TILE_ACTION = 4,
273 MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_STATUS = 5,
274 MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_RESPONSE_ERROR = 6,
275 MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_REGION_TILE_COUNT_LIMIT = 7,
276 MLN_RUNTIME_EVENT_PAYLOAD_OFFLINE_OPERATION_COMPLETED = 8,
277 MLN_RUNTIME_EVENT_PAYLOAD_CAMERA_TRANSITION_FINISHED = 9,
290 MLN_RENDER_MODE_PARTIAL = 0,
291 MLN_RENDER_MODE_FULL = 1,
296 MLN_TILE_OPERATION_REQUESTED_FROM_CACHE = 0,
297 MLN_TILE_OPERATION_REQUESTED_FROM_NETWORK = 1,
298 MLN_TILE_OPERATION_LOAD_FROM_NETWORK = 2,
299 MLN_TILE_OPERATION_LOAD_FROM_CACHE = 3,
300 MLN_TILE_OPERATION_START_PARSE = 4,
301 MLN_TILE_OPERATION_END_PARSE = 5,
302 MLN_TILE_OPERATION_ERROR = 6,
303 MLN_TILE_OPERATION_CANCELLED = 7,
304 MLN_TILE_OPERATION_NULL = 8,
307typedef enum mln_resource_kind : uint32_t {
308 MLN_RESOURCE_KIND_UNKNOWN = 0,
309 MLN_RESOURCE_KIND_STYLE = 1,
310 MLN_RESOURCE_KIND_SOURCE = 2,
311 MLN_RESOURCE_KIND_TILE = 3,
312 MLN_RESOURCE_KIND_GLYPHS = 4,
313 MLN_RESOURCE_KIND_SPRITE_IMAGE = 5,
314 MLN_RESOURCE_KIND_SPRITE_JSON = 6,
315 MLN_RESOURCE_KIND_IMAGE = 7,
318typedef enum mln_resource_loading_method : uint32_t {
319 MLN_RESOURCE_LOADING_METHOD_ALL = 0,
320 MLN_RESOURCE_LOADING_METHOD_CACHE_ONLY = 1,
321 MLN_RESOURCE_LOADING_METHOD_NETWORK_ONLY = 2,
322} mln_resource_loading_method;
324typedef enum mln_resource_priority : uint32_t {
325 MLN_RESOURCE_PRIORITY_REGULAR = 0,
326 MLN_RESOURCE_PRIORITY_LOW = 1,
327} mln_resource_priority;
329typedef enum mln_resource_usage : uint32_t {
330 MLN_RESOURCE_USAGE_ONLINE = 0,
331 MLN_RESOURCE_USAGE_OFFLINE = 1,
334typedef enum mln_resource_storage_policy : uint32_t {
335 MLN_RESOURCE_STORAGE_POLICY_PERMANENT = 0,
336 MLN_RESOURCE_STORAGE_POLICY_VOLATILE = 1,
337} mln_resource_storage_policy;
339typedef enum mln_resource_response_status : uint32_t {
340 MLN_RESOURCE_RESPONSE_STATUS_OK = 0,
341 MLN_RESOURCE_RESPONSE_STATUS_ERROR = 1,
342 MLN_RESOURCE_RESPONSE_STATUS_NO_CONTENT = 2,
343 MLN_RESOURCE_RESPONSE_STATUS_NOT_MODIFIED = 3,
344} mln_resource_response_status;
346typedef enum mln_resource_error_reason : uint32_t {
347 MLN_RESOURCE_ERROR_REASON_NONE = 0,
348 MLN_RESOURCE_ERROR_REASON_NOT_FOUND = 1,
349 MLN_RESOURCE_ERROR_REASON_SERVER = 2,
350 MLN_RESOURCE_ERROR_REASON_CONNECTION = 3,
351 MLN_RESOURCE_ERROR_REASON_RATE_LIMIT = 4,
352 MLN_RESOURCE_ERROR_REASON_OTHER = 5,
353} mln_resource_error_reason;
355typedef enum mln_resource_provider_decision : uint32_t {
356 MLN_RESOURCE_PROVIDER_DECISION_PASS_THROUGH = 0,
357 MLN_RESOURCE_PROVIDER_DECISION_HANDLE = 1,
358} mln_resource_provider_decision;
453 uint32_t overscaled_z;
455 uint32_t canonical_z;
456 uint32_t canonical_x;
457 uint32_t canonical_y;
487 mln_offline_region_id region_id;
498 mln_offline_region_id region_id;
505 mln_offline_region_id region_id;
540 offline_region_tile_count_limit;
627typedef struct mln_resource_transform_response {
635} mln_resource_transform_response;
651 mln_resource_transform_response* response,
const char* url,
size_t url_size
677 void* user_data, uint32_t kind,
const char* url,
678 mln_resource_transform_response* out_response
681typedef struct mln_resource_transform {
685} mln_resource_transform;
687typedef struct mln_http_header_transform_response {
692} mln_http_header_transform_response;
711 mln_http_header_transform_response* response,
const char* name,
712 size_t name_size,
const char* value,
size_t value_size
732 void* user_data, uint32_t kind,
const char* url,
733 mln_http_header_transform_response* out_response
736typedef struct mln_http_header_transform {
740} mln_http_header_transform;
742typedef struct mln_resource_request {
752 const char* requested_url;
765 const char* resolved_url;
767 uint32_t loading_method;
770 uint32_t storage_policy;
772 uint64_t range_start;
774 bool has_prior_modified;
775 int64_t prior_modified_unix_ms;
776 bool has_prior_expires;
777 int64_t prior_expires_unix_ms;
778 const char* prior_etag;
779 const uint8_t* prior_data;
780 size_t prior_data_size;
781} mln_resource_request;
783typedef struct mln_resource_response {
786 uint32_t error_reason;
788 const uint8_t* bytes;
790 const char* error_message;
791 bool must_revalidate;
793 int64_t modified_unix_ms;
795 int64_t expires_unix_ms;
797 bool has_retry_after;
798 int64_t retry_after_unix_ms;
799} mln_resource_response;
831 void* user_data,
const mln_resource_request* request,
832 mln_resource_request_handle handle
848typedef struct mln_resource_provider {
852} mln_resource_provider;
906 mln_runtime runtime,
const mln_resource_provider* provider
948 mln_resource_request_handle handle,
const mln_resource_response* response
964 mln_resource_request_handle handle,
bool* out_cancelled
993 mln_resource_request_handle handle,
1009 mln_resource_request_handle handle
1024 mln_resource_request_handle handle
1047 mln_runtime runtime,
const mln_resource_transform* transform
1087 mln_runtime runtime,
const mln_http_header_transform* transform
1260 mln_runtime runtime, int64_t timeout_ms, int64_t budget_ms
uint64_t mln_runtime
Definition base.h:86
mln_status
Definition base.h:39
mln_status mln_runtime_set_resource_transform(mln_runtime runtime, const mln_resource_transform *transform)
mln_status mln_runtime_drain_events(mln_runtime runtime, size_t max_events, mln_runtime_event_batch *out_batch)
mln_tile_operation
Definition runtime.h:295
mln_status mln_runtime_get_event_mask(mln_runtime runtime, uint64_t *out_mask)
mln_runtime_event_mask
Definition runtime.h:176
@ MLN_RUNTIME_EVENT_MASK_ALL_MAP_EVENTS
Definition runtime.h:225
@ MLN_RUNTIME_EVENT_MASK_NONE
Definition runtime.h:178
@ MLN_RUNTIME_EVENT_MASK_ALL
Definition runtime.h:252
@ MLN_RUNTIME_EVENT_MASK_ALL_RUNTIME_EVENTS
Definition runtime.h:246
mln_status mln_network_status_get(uint32_t *out_status)
mln_runtime_event_payload_type
Definition runtime.h:268
mln_status mln_runtime_clear_resource_transform(mln_runtime runtime)
mln_status mln_runtime_clear_http_header_transform(mln_runtime runtime)
mln_status mln_runtime_pump(mln_runtime runtime, int64_t timeout_ms, int64_t budget_ms)
mln_status mln_runtime_set_resource_provider(mln_runtime runtime, const mln_resource_provider *provider)
mln_status mln_runtime_run_ambient_cache_operation_start(mln_runtime runtime, uint32_t operation, mln_offline_operation_id *out_operation_id)
mln_runtime_event_type
Definition runtime.h:137
mln_status mln_runtime_set_maximum_ambient_cache_size_start(mln_runtime runtime, uint64_t size, mln_offline_operation_id *out_operation_id)
void mln_resource_request_release(mln_resource_request_handle handle)
mln_status mln_runtime_clear_resource_provider(mln_runtime runtime)
mln_status mln_resource_request_set_cancel_callback(mln_resource_request_handle handle, mln_resource_request_cancel_callback callback, void *user_data, bool *out_cancelled)
mln_status mln_wake_source_signal(mln_wake_source source)
mln_status mln_resource_request_cancelled(mln_resource_request_handle handle, bool *out_cancelled)
mln_status mln_resource_request_wait_until_retired(mln_resource_request_handle handle)
mln_status mln_http_header_transform_response_set(mln_http_header_transform_response *response, const char *name, size_t name_size, const char *value, size_t value_size)
mln_status mln_runtime_set_http_header_transform(mln_runtime runtime, const mln_http_header_transform *transform)
uint32_t(* mln_resource_provider_callback)(void *user_data, const mln_resource_request *request, mln_resource_request_handle handle)
Definition runtime.h:830
void(* mln_resource_request_cancel_callback)(void *user_data)
Definition runtime.h:846
mln_status(* mln_http_header_transform_callback)(void *user_data, uint32_t kind, const char *url, mln_http_header_transform_response *out_response)
Definition runtime.h:731
mln_runtime_event_batch mln_runtime_event_batch_default(void)
mln_offline_operation_result_kind
Definition runtime.h:66
mln_runtime_event_source_type
Definition runtime.h:257
mln_status mln_runtime_create(const mln_runtime_options *options, mln_runtime *out_runtime)
mln_status mln_runtime_offline_operation_discard(mln_runtime runtime, mln_offline_operation_id operation_id)
mln_camera_change_mode
Definition runtime.h:281
@ MLN_CAMERA_CHANGE_MODE_IMMEDIATE
Definition runtime.h:283
@ MLN_CAMERA_CHANGE_MODE_ANIMATED
Definition runtime.h:285
void mln_wake_source_destroy(mln_wake_source source)
mln_status mln_runtime_wake_source_acquire(mln_runtime runtime, mln_wake_source *out_source)
mln_status mln_resource_request_complete(mln_resource_request_handle handle, const mln_resource_response *response)
mln_status mln_resource_transform_response_set_url(mln_resource_transform_response *response, const char *url, size_t url_size)
mln_status mln_runtime_destroy(mln_runtime runtime)
mln_runtime_options mln_runtime_options_default(void)
mln_status(* mln_resource_transform_callback)(void *user_data, uint32_t kind, const char *url, mln_resource_transform_response *out_response)
Definition runtime.h:676
uint64_t mln_offline_operation_id
Definition runtime.h:47
mln_offline_operation_kind
Definition runtime.h:50
mln_status mln_network_status_set(uint32_t status)
mln_status mln_runtime_set_event_mask(mln_runtime runtime, uint64_t mask)
mln_render_mode
Definition runtime.h:289
uint32_t download_state
Definition runtime.h:78
int64_t draw_call_count
Definition runtime.h:429
double encoding_time
Definition runtime.h:423
int64_t total_draw_call_count
Definition runtime.h:431
double rendering_time
Definition runtime.h:425
int64_t frame_count
Definition runtime.h:427
size_t event_count
Definition runtime.h:612
size_t remaining_count
Definition runtime.h:624
const mln_runtime_event * events
Definition runtime.h:610
uint32_t event_size
Definition runtime.h:605
size_t messages_size
Definition runtime.h:619
const char * messages
Definition runtime.h:617
uint64_t transition_id
Definition runtime.h:482
uint32_t result_kind
Definition runtime.h:515
uint32_t operation_kind
Definition runtime.h:513
int32_t result_status
Definition runtime.h:517
bool found
Definition runtime.h:519
uint32_t reason
Definition runtime.h:500
mln_offline_region_status status
Definition runtime.h:493
bool needs_repaint
Definition runtime.h:439
uint32_t mode
Definition runtime.h:437
bool placement_changed
Definition runtime.h:441
uint32_t mode
Definition runtime.h:448
uint32_t operation
Definition runtime.h:467
uint32_t type
Definition runtime.h:558
uint32_t message_offset
Definition runtime.h:582
uint32_t payload_type
Definition runtime.h:577
uint64_t source
Definition runtime.h:569
int32_t code
Definition runtime.h:575
uint32_t message_size
Definition runtime.h:587
mln_runtime_event_payload payload
Definition runtime.h:589
uint32_t source_type
Definition runtime.h:560
const char * cache_path
Definition runtime.h:400
const char * asset_path
Definition runtime.h:398
uint32_t flags
Definition runtime.h:391
uint64_t event_mask
Definition runtime.h:411