Go to the source code of this file.
Macros | |
#define | IS_SET(mask, index) (mask & (1 << index)) |
Functions | |
int | tesla_key_matches (const struct tesla_key *pattern, const struct tesla_key *k) |
Check to see if a key matches a pattern. More... | |
int32_t | tesla_key_union (tesla_key *dest, const tesla_key *source) |
#define IS_SET | ( | mask, | |
index | |||
) | (mask & (1 << index)) |
Definition at line 41 of file tesla_key.c.
Referenced by tesla_key_union().
Definition at line 69 of file tesla_key.c.
References IS_SET, TESLA_ERROR_EINVAL, TESLA_KEY_SIZE, TESLA_SUCCESS, tesla_key::tk_keys, and tesla_key::tk_mask.