Zephyr Project API  3.3.0
A Scalable Open Source RTOS
log_multidomain_helper.h File Reference

Go to the source code of this file.

Data Structures

struct  log_multidomain_log_msg
 Content of the logging message. More...
 
struct  log_multidomain_domain_cnt
 Content of the domain count message. More...
 
struct  log_multidomain_source_cnt
 Content of the source count message. More...
 
struct  log_multidomain_domain_name
 Content of the domain name message. More...
 
struct  log_multidomain_source_name
 Content of the source name message. More...
 
struct  log_multidomain_levels
 Content of the message for getting logging levels. More...
 
struct  log_multidomain_set_runtime_level
 Content of the message for setting logging level. More...
 
struct  log_multidomain_dropped
 Content of the message for getting amount of dropped messages. More...
 
union  log_multidomain_msg_data
 Union with all message types. More...
 
struct  log_multidomain_msg
 Message. More...
 
struct  log_multidomain_link_transport_api
 Structure with link transport API. More...
 
union  log_multidomain_link_dst
 Union for holding data returned by associated remote backend. More...
 
struct  log_multidomain_link
 Remote link structure. More...
 
struct  log_multidomain_backend_transport_api
 Backend transport API. More...
 
struct  log_multidomain_backend
 Remote backend structure. More...
 

Functions

void log_multidomain_link_on_recv_cb (struct log_multidomain_link *link, const void *data, size_t len)
 Function to be called when data is received from remote. More...
 
void log_multidomain_link_on_error (struct log_multidomain_link *link, int err)
 Function called on error reported by transport layer. More...
 
void log_multidomain_link_on_started (struct log_multidomain_link *link, int err)
 Function called when connection with remote is established. More...
 
void log_multidomain_backend_on_recv_cb (struct log_multidomain_backend *backend, const void *data, size_t len)
 Function to be called when data is received from remote. More...
 
void log_multidomain_backend_on_error (struct log_multidomain_backend *backend, int err)
 Function called on error reported by transport layer. More...
 
void log_multidomain_backend_on_started (struct log_multidomain_backend *backend, int err)
 Function called when connection with remote is established. More...
 

Variables

struct log_link_api log_multidomain_link_api
 Remote link API. More...
 
const struct log_backend_api log_multidomain_backend_api
 Remote backend API. More...
 

Function Documentation

◆ log_multidomain_backend_on_error()

void log_multidomain_backend_on_error ( struct log_multidomain_backend backend,
int  err 
)

Function called on error reported by transport layer.

Parameters
backendBackend instance.
errError code.

◆ log_multidomain_backend_on_recv_cb()

void log_multidomain_backend_on_recv_cb ( struct log_multidomain_backend backend,
const void *  data,
size_t  len 
)

Function to be called when data is received from remote.

Parameters
backendBackend instance.
dataData.
lenData length.

◆ log_multidomain_backend_on_started()

void log_multidomain_backend_on_started ( struct log_multidomain_backend backend,
int  err 
)

Function called when connection with remote is established.

Parameters
backendBackend instance.
errError code.

◆ log_multidomain_link_on_error()

void log_multidomain_link_on_error ( struct log_multidomain_link link,
int  err 
)

Function called on error reported by transport layer.

Parameters
linkLink instance.
errError code.

◆ log_multidomain_link_on_recv_cb()

void log_multidomain_link_on_recv_cb ( struct log_multidomain_link link,
const void *  data,
size_t  len 
)

Function to be called when data is received from remote.

Parameters
linkLink instance.
dataData.
lenData length.

◆ log_multidomain_link_on_started()

void log_multidomain_link_on_started ( struct log_multidomain_link link,
int  err 
)

Function called when connection with remote is established.

Parameters
linkLink instance.
errError code.

Variable Documentation

◆ log_multidomain_backend_api

const struct log_backend_api log_multidomain_backend_api
extern

Remote backend API.

◆ log_multidomain_link_api

struct log_link_api log_multidomain_link_api
extern

Remote link API.