blob: 70058241666466024e255c60cef1beb0b0f3ed9e [file] [log] [blame]
John Kacur8b40f522009-09-24 18:02:18 +02001#ifndef __PERF_STRING_H_
2#define __PERF_STRING_H_
Arnaldo Carvalho de Meloea5cc872009-06-01 22:31:03 -03003
Masami Hiramatsubbbb5212009-12-15 10:32:10 -05004#include <stdbool.h>
Peter Zijlstra7c6a1c62009-06-25 17:05:54 +02005#include "types.h"
Arnaldo Carvalho de Meloea5cc872009-06-01 22:31:03 -03006
Hitoshi Mitaked2fb8b42009-11-15 20:36:53 +09007s64 perf_atoll(const char *str);
Masami Hiramatsue1c01d62009-11-30 19:20:05 -05008char **argv_split(const char *str, int *argcp);
9void argv_free(char **argv);
Masami Hiramatsubbbb5212009-12-15 10:32:10 -050010bool strglobmatch(const char *str, const char *pat);
Masami Hiramatsu2a9c8c32010-02-25 08:36:12 -050011bool strlazymatch(const char *str, const char *pat);
Arnaldo Carvalho de Meloea5cc872009-06-01 22:31:03 -030012
Jason Baron5beeded2009-07-21 14:16:29 -040013#define _STR(x) #x
14#define STR(x) _STR(x)
15
John Kacur8b40f522009-09-24 18:02:18 +020016#endif /* __PERF_STRING_H */