18 lines
415 B
C
18 lines
415 B
C
#ifndef __PERF_STRING_H_
|
|
#define __PERF_STRING_H_
|
|
|
|
#include <stdbool.h>
|
|
#include "types.h"
|
|
|
|
int hex2u64(const char *ptr, u64 *val);
|
|
char *strxfrchar(char *s, char from, char to);
|
|
s64 perf_atoll(const char *str);
|
|
char **argv_split(const char *str, int *argcp);
|
|
void argv_free(char **argv);
|
|
bool strglobmatch(const char *str, const char *pat);
|
|
|
|
#define _STR(x) #x
|
|
#define STR(x) _STR(x)
|
|
|
|
#endif /* __PERF_STRING_H */
|