17#ifndef PROTOCORE_AUTH_LOCKOUT_H
18#define PROTOCORE_AUTH_LOCKOUT_H
22#if PROTOCORE_ENABLE_AUTH_LOCKOUT
76extern AuthLockoutVars AuthLockoutV;
81 void (*
const remaining)(uint8_t *work);
82 void (*
const fail)(uint8_t *work);
83 void (*
const succeed)(uint8_t *work);
84 void (*
const reset)(uint8_t *work);
89void protocore_auth_lockout_remaining(uint8_t *work);
90void protocore_auth_lockout_fail(uint8_t *work);
91void protocore_auth_lockout_succeed(uint8_t *work);
92void protocore_auth_lockout_reset(uint8_t *work);
98static const AuthLockoutNs AuthLockout __attribute__((unused)) = {
99 .remaining = protocore_auth_lockout_remaining,
100 .fail = protocore_auth_lockout_fail,
101 .succeed = protocore_auth_lockout_succeed,
102 .reset = protocore_auth_lockout_reset,
114uint8_t *protocore_auth_lockout_span(
void);
A v4 or v6 address in network (big-endian) byte order.
#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