caffeine-sal 0.1.17
Header-only polymorphic middleware services layer for the Caffeine Framework
Loading...
Searching...
No Matches
cfn_sal_types.h
Go to the documentation of this file.
1
6#ifndef CAFFEINE_SAL_CFN_SAL_TYPES_H
7#define CAFFEINE_SAL_CFN_SAL_TYPES_H
8
9#ifdef __cplusplus
10extern "C"
11{
12#endif
13
14#include <stdint.h>
15#include <stdbool.h>
16#include "cfn_hal.h"
17
25typedef struct
26{
27 void *handle;
28 void *instance;
29 uint32_t type;
30 void *user_arg;
32
33#define CFN_SAL_PHY_INITIALIZER(_handle, _instance, _type, _user_arg) \
34 { \
35 .handle = (_handle), .instance = (_instance), .type = (_type), .user_arg = (_user_arg) \
36 }
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* CAFFEINE_SAL_CFN_SAL_TYPES_H */
Generic physical mapping for services.
Definition cfn_sal_types.h:26
void * handle
Definition cfn_sal_types.h:27
void * instance
Definition cfn_sal_types.h:28
uint32_t type
Definition cfn_sal_types.h:29
void * user_arg
Definition cfn_sal_types.h:30