Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
ipc_service_backend Struct Reference

IPC Service backend. More...

#include <ipc_service_backend.h>

Data Fields

const char * name
 Name of the IPC backend. More...
 
int(* send )(struct ipc_ept *ept, const void *data, size_t len)
 Pointer to the function that will be used to send data to the endpoint. More...
 
int(* register_endpoint )(struct ipc_ept **ept, const struct ipc_ept_cfg *cfg)
 Pointer to the function that will be used to register endpoints. More...
 

Detailed Description

IPC Service backend.

IPC backend configuration structure.

This structure is used for configuration backend during registration.

Field Documentation

◆ name

const char* ipc_service_backend::name

Name of the IPC backend.

◆ register_endpoint

int(* ipc_service_backend::register_endpoint) (struct ipc_ept **ept, const struct ipc_ept_cfg *cfg)

Pointer to the function that will be used to register endpoints.

Parameters
eptEndpoint object.
cfgEndpoint configuration.
Return values
Statuscode.

◆ send

int(* ipc_service_backend::send) (struct ipc_ept *ept, const void *data, size_t len)

Pointer to the function that will be used to send data to the endpoint.

Parameters
eptRegistered endpoint.
dataPointer to the buffer to send.
lenNumber of bytes to send.
Return values
Statuscode.

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