Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
zbus_proxy_agent.h File Reference

Zbus Multi-domain API. More...

Go to the source code of this file.

Data Structures

struct  zbus_shadow_channel
 Metadata for shadow channels to track their ownership by proxy agents. More...
struct  zbus_proxy_msg
 Structure for proxy agent message. More...
struct  zbus_proxy_agent_rx_msg
 Internal thread payload for validated received messages. More...
struct  zbus_proxy_agent
 Structure for proxy agent configuration. More...
struct  zbus_proxy_agent_backend_api
 Backend API structure for proxy agent backends. More...
struct  zbus_proxy_agent_backend_desc
 Structure for proxy agent backend descriptor. More...

Macros

#define ZBUS_PROXY_AGENT_BACKEND_DEFINE(_name, _type, _api)
 Macro to define a proxy agent backend and register it in the iterable section.
#define ZBUS_PROXY_AGENT_DEFINE(_name, _type, _backend_dt_node)
 Proxy agent definition macro.
#define ZBUS_PROXY_ADD_CHAN(_agent, _chan)
 Add a channel to be forwarded by the proxy agent.
#define ZBUS_SHADOW_CHAN_DEFINE(_name, _type, _proxy_name, _user_data, _observers, _init_val)
 Define a shadow channel linked to a proxy agent.
#define ZBUS_SHADOW_CHAN_DEFINE_WITH_ID(_name, _id, _type, _proxy_name, _user_data, _observers, _init_val)
 Define a shadow channel with a specific ID linked to a proxy agent.

Typedefs

typedef int(* zbus_proxy_agent_recv_cb_t) (const struct zbus_proxy_agent *agent, const struct zbus_proxy_msg *msg)
 Type definition for the proxy agent receive callback function.

Enumerations

enum  zbus_proxy_agent_backend_type { ZBUS_PROXY_AGENT_BACKEND_IPC }
 Enum for supported proxy agent backend types. More...

Functions

void zbus_proxy_agent_listener_cb (const struct zbus_channel *chan, const struct zbus_proxy_agent *agent)
 Internal proxy agent listener callback.
int zbus_init_proxy_agent (const struct zbus_proxy_agent *agent)
 Internal proxy agent receive callback.

Detailed Description

Zbus Multi-domain API.