MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_context_s Struct Reference

Internal context structure. More...

Collaboration diagram for mrtk_context_s:
[legend]

Public Attributes

mrtk_log_level_t log_level
mrtk_log_cb_t log_callback
char last_error [256]
void * user_data

Detailed Description

Internal context structure.

This structure holds all per-instance state for the library. It is intentionally hidden from users to maintain API stability.

Definition at line 62 of file mrtk_core.c.

Member Data Documentation

◆ last_error

char mrtk_context_s::last_error[256]

Most recent error message

Definition at line 65 of file mrtk_core.c.

Referenced by mrtk_clear_error(), mrtk_context_new(), mrtk_get_last_error(), and mrtk_set_error().

◆ log_callback

mrtk_log_cb_t mrtk_context_s::log_callback

User-defined log handler

Definition at line 64 of file mrtk_core.c.

Referenced by mrtk_context_new(), mrtk_context_set_log_callback(), and mrtk_log_v().

◆ log_level

mrtk_log_level_t mrtk_context_s::log_level

Minimum log level threshold

Definition at line 63 of file mrtk_core.c.

Referenced by mrtk_context_get_log_level(), mrtk_context_new(), and mrtk_context_set_log_level().

◆ user_data

void* mrtk_context_s::user_data

Application-specific data pointer

Definition at line 66 of file mrtk_core.c.

Referenced by mrtk_context_get_user_data(), mrtk_context_new(), and mrtk_context_set_user_data().


The documentation for this struct was generated from the following file: