1 |
werner |
37 |
#ifndef WPT_UTIL_H |
2 |
|
|
#define WPT_UTIL_H |
3 |
|
|
|
4 |
twoaday |
247 |
#define IS_PATH 1 |
5 |
|
|
|
6 |
werner |
37 |
/* helpers */ |
7 |
|
|
char* strsep (char **stringp, const char *delim); |
8 |
|
|
const char *stristr (const char *buf, const char *sub); |
9 |
twoaday |
189 |
int check_email_address (const char *email); |
10 |
twoaday |
247 |
int check_file_name (const char *fname, int is_path); |
11 |
twoaday |
214 |
char* substr (const char *str, unsigned int begin, unsigned int end); |
12 |
twoaday |
217 |
void unhexify_buffer (const char *in, char **out); |
13 |
werner |
37 |
|
14 |
|
|
#endif |