string.h 381 B

12345678910111213141516
  1. #ifndef __PERF_STRING_H_
  2. #define __PERF_STRING_H_
  3. #include <stdbool.h>
  4. #include "types.h"
  5. s64 perf_atoll(const char *str);
  6. char **argv_split(const char *str, int *argcp);
  7. void argv_free(char **argv);
  8. bool strglobmatch(const char *str, const char *pat);
  9. bool strlazymatch(const char *str, const char *pat);
  10. #define _STR(x) #x
  11. #define STR(x) _STR(x)
  12. #endif /* __PERF_STRING_H */