Logo Search packages:      
Sourcecode: yubikey-server-c version File versions  Download package

util.h

#ifndef ysc_util_h__
#define ysc_util_h__

#include <sys/types.h>

void *ysc_memdup(void *p, size_t len);
size_t ysc_nstrstr(const char *haystack, const char *needle);

size_t ysc_strftime(char *s, size_t max, const char *format,
                const struct timeval *tv);

char *ysc_b64_encode(char *s, ssize_t len);
ssize_t ysc_b64_decode(const char *s, char **r);


#endif /* ysc_util_h */

Generated by  Doxygen 1.6.0   Back to index