239 static Flag* flags; |
239 static Flag* flags; |
240 |
240 |
241 // number of flags |
241 // number of flags |
242 static size_t numFlags; |
242 static size_t numFlags; |
243 |
243 |
244 static Flag* find_flag(const char* name, size_t length, bool allow_locked = false); |
244 static Flag* find_flag(const char* name, size_t length, bool allow_locked = false, bool return_flag = false); |
245 static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false); |
245 static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false); |
246 |
246 |
247 void check_writable(); |
247 void check_writable(); |
248 |
248 |
249 bool is_bool() const; |
249 bool is_bool() const; |