xref: /freebsd/contrib/libevent/strlcpy-internal.h (revision b50261e21f39a6c7249a49e7b60aa878c98512a8)
1c43e99fdSEd Maste #ifndef STRLCPY_INTERNAL_H_INCLUDED_
2c43e99fdSEd Maste #define STRLCPY_INTERNAL_H_INCLUDED_
3c43e99fdSEd Maste 
4c43e99fdSEd Maste #ifdef __cplusplus
5c43e99fdSEd Maste extern "C" {
6c43e99fdSEd Maste #endif
7c43e99fdSEd Maste 
8c43e99fdSEd Maste #include "event2/event-config.h"
9*b50261e2SCy Schubert #include "event2/visibility.h"
10c43e99fdSEd Maste #include "evconfig-private.h"
11c43e99fdSEd Maste 
12c43e99fdSEd Maste #ifndef EVENT__HAVE_STRLCPY
13c43e99fdSEd Maste #include <string.h>
14*b50261e2SCy Schubert EVENT2_EXPORT_SYMBOL
15c43e99fdSEd Maste size_t event_strlcpy_(char *dst, const char *src, size_t siz);
16c43e99fdSEd Maste #define strlcpy event_strlcpy_
17c43e99fdSEd Maste #endif
18c43e99fdSEd Maste 
19c43e99fdSEd Maste #ifdef __cplusplus
20c43e99fdSEd Maste }
21c43e99fdSEd Maste #endif
22c43e99fdSEd Maste 
23c43e99fdSEd Maste #endif
24c43e99fdSEd Maste 
25