ejurgensen
65110a9f39
Fix FreeBSD sound timing problems
2014-09-27 22:59:19 +02:00
ejurgensen
21cf3ab7d3
Add trimwhitespace(), keyval sorting and alloc to misc functions
...
- features required by the LastFM module
2014-08-15 22:56:39 +02:00
ejurgensen
258163e6ce
hi-res timer commit broke FreeBSD. This attempts to go back to the
...
old code for FreeBSD.
2014-02-08 22:59:07 +01:00
Anthony Doko
949cf3808d
Add support for embedded platforms that don't have high-res timers.
2014-02-05 18:11:10 -08:00
Julien BLACHE
33d51f0652
Add key/value functions & data types
2010-09-18 17:24:33 +02:00
Julien BLACHE
da0c10a392
Add unicode_fixup_string() to check & reencode UTF-8 strings
2010-06-21 17:50:09 +02:00
Julien BLACHE
f38ff924d7
Add safe_hextou32()
2010-05-05 19:13:15 +02:00
Julien BLACHE
49b7a96eec
Add safe_hextou64()
2010-05-02 11:44:43 +02:00
Julien BLACHE
7a02215d0d
Add Base64 encoding routines
2010-05-02 11:44:43 +02:00
Ace Jones
20d08d8a49
Add safe_atou32() and safe_atou64()
2010-02-10 18:21:32 +01:00
Julien BLACHE
58faeaceca
Integer types cleanup
...
Try to be a bit more strict about integer types, use off_t or int64_t for
file size and file offsets.
Replace safe_ato*() by safe_atoi32() and safe_atoi64(), fix integer types
at call sites to match.
2010-02-02 21:09:56 +01:00
Ace Jones
e948f69d0d
Add safe_atoull()
2010-01-10 12:09:29 +01:00
Julien BLACHE
b9d8a5880a
Introduce m_realpath() to replace realpath(path, NULL)
2010-01-09 13:43:29 +01:00
Julien BLACHE
8ef57bbb41
Add the MurmurHash2, 64bit version
...
Hash algorithm by Austin Appleby, <http://murmurhash.googlepages.com >
2010-01-04 17:58:28 +01:00
Julien BLACHE
cd636cf42d
Add base64 decoding routine
2009-05-03 11:16:57 +02:00
Julien BLACHE
e5cc417e96
Add DJB hash function to misc.[ch] and use it
2009-05-03 11:16:51 +02:00
Julien BLACHE
0a1c4545dc
Move safe_ato[il]() to misc.[ch]
2009-04-30 14:46:37 +02:00