owntone-server/src/misc.h

26 lines
362 B
C
Raw Normal View History

2009-04-30 08:25:52 -04:00
#ifndef __MISC_H__
#define __MISC_H__
#include <stdint.h>
2009-04-30 08:25:52 -04:00
int
safe_atoi(const char *str, int *val);
int
safe_atol(const char *str, long *val);
char *
m_realpath(const char *pathname);
uint32_t
djb_hash(void *data, size_t len);
2009-05-01 14:56:22 -04:00
char *
b64_decode(const char *b64);
uint64_t
murmur_hash64(const void *key, int len, uint32_t seed);
2009-04-30 08:25:52 -04:00
#endif /* !__MISC_H__ */