SafeAPI Backend POSIX
POSIX/Linux OAL backend for safeAPIFreamwork
Loading...
Searching...
No Matches
sapi_posix_backend_channel_service.h
Go to the documentation of this file.
1#ifndef SAPI_POSIX_BACKEND_CHANNEL_SERVICE_H
2#define SAPI_POSIX_BACKEND_CHANNEL_SERVICE_H
3
5
6#include "safeapi/redundancy/channel_service/sapi_channel_service.h"
7#include "safeapi/oal/netlink/sapi_netlink.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef sapi_status_t (*sapi_posix_channel_resolve_fn)(const char *channel_name,
14 sapi_netlink_config_t *out_config,
15 void *context);
16
17sapi_status_t sapi_posix_backend_channel_service_register_resolver(sapi_posix_channel_resolve_fn resolver,
18 void *context);
19const sapi_channel_service_backend_t *sapi_posix_backend_channel_service(void);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif