wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
bitfield.h
Go to the documentation of this file.
1 
5 #ifndef BITFIELD_H
6 #define BITFIELD_H
7 
8 struct bitfield;
9 
10 struct bitfield * bitfield_alloc(size_t max_bits);
11 void bitfield_free(struct bitfield *bf);
12 void bitfield_set(struct bitfield *bf, size_t bit);
13 void bitfield_clear(struct bitfield *bf, size_t bit);
14 int bitfield_is_set(struct bitfield *bf, size_t bit);
15 int bitfield_get_first_zero(struct bitfield *bf);
16 
17 #endif /* BITFIELD_H */
Definition: bitfield.c:11