aboutsummaryrefslogtreecommitdiffstats
path: root/src/string_util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* string_util: add fallback for strnlen()Max Kellermann2013-01-271-0/+8
| | | | | Usually, when strndup() is not available, strndup() isn't either, because both are POSIX 2008.
* string_util.c: provide fallback strndup() implementationDenis Krjuchkov2013-01-111-0/+26
| | | | | This patch also adds extern "C" { } wrapper around string_util.h to allow its usage in C++ code
* string_util: use const_cast in C++ modeMax Kellermann2013-01-021-0/+4
|
* gcc.h: re-add gcc_const and gcc_pureMax Kellermann2012-08-021-4/+4
| | | | Remove GLib dependency from some headers.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* string_util: add function strchug_fast()Max Kellermann2010-12-231-0/+41
| | | | Replace g_strchug() calls with a cheaper implementation.
* utils: move string_array_contains() to string_util.cMax Kellermann2010-12-231-0/+36