22#ifndef PROTOCORE_NETADAPT_H
23#define PROTOCORE_NETADAPT_H
27#if PROTOCORE_ENABLE_NETADAPT
50 uint32_t max_attempts;
51} NetadaptDhcpFallbackArgs;
79 NetadaptWindowArgs window_args;
80 NetadaptDhcpFallbackArgs dhcp_fallback_args;
86extern NetadaptVars NetadaptV;
91 void (*
const window)(uint8_t *work);
92 void (*
const dhcp_fallback)(uint8_t *work);
97void protocore_netadapt_window(uint8_t *work);
98void protocore_netadapt_dhcp_fallback(uint8_t *work);
104static const NetadaptNs Netadapt __attribute__((unused)) = {
105 .window = protocore_netadapt_window,
106 .dhcp_fallback = protocore_netadapt_dhcp_fallback,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS