forked from jbittel/httpry
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathutility.h
More file actions
22 lines (16 loc) · 659 Bytes
/
utility.h
File metadata and controls
22 lines (16 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
----------------------------------------------------
httpry - HTTP logging and information retrieval tool
----------------------------------------------------
Copyright (c) 2005-2014 Jason Bittel <jason.bittel@gmail.com>
Licensed under GPLv2. For further information, see COPYING file.
*/
#ifndef _HAVE_UTILITY_H
#define _HAVE_UTILITY_H
char *str_strip_whitespace(char *str);
char *str_tolower(char *str);
int str_compare(const char *str1, const char *str2);
int str_copy(char *dest, const char *src, size_t len);
char *str_duplicate(const char *str);
unsigned int hash_str(char *key, unsigned int hashsize);
#endif /* ! _HAVE_UTILITY_H */