uci: complete option/setoption

- eval-defs.c: add parameter type in ev_params
- util.c:
  - new str_eq_case()
  - new str_skip_word
  - str_token(): split string before token
This commit is contained in:
2024-07-28 15:14:07 +02:00
parent 2cd1289cd6
commit a6a21626c7
7 changed files with 197 additions and 42 deletions

View File

@@ -53,8 +53,9 @@ void rand_init(u64 seed);
u64 rand64(void);
bool str_eq_case(char *str1, char *str2);
char *str_trim(char *str);
char *str_token(const char *str, const char *token);
char *str_token(char *str, const char *token);
char *str_skip_word(char *str);
#endif /* UTIL_H */