Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 #ifndef _STRLCPY_INTERNAL_H_
2 #define _STRLCPY_INTERNAL_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include "event2/event-config.h"
10 #ifndef _EVENT_HAVE_STRLCPY
11 #include <string.h>
12 size_t _event_strlcpy(char *dst, const char *src, size_t siz);
13 #define strlcpy _event_strlcpy
14 #endif
16 #ifdef __cplusplus
17 }
18 #endif
20 #endif