blob: 4151d601d0b1ffb8e5cd4660ca4788aafc1ce8d4 [file] [log] [blame]
Narayan Kamathfc74cb42017-09-13 12:53:52 +01001#ifndef STRLCPY_INTERNAL_H_INCLUDED_
2#define STRLCPY_INTERNAL_H_INCLUDED_
Christopher Wileye8679812015-07-01 13:36:18 -07003
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "event2/event-config.h"
Haibo Huangb2279672019-05-31 16:12:39 -07009#include "event2/visibility.h"
Narayan Kamathfc74cb42017-09-13 12:53:52 +010010#include "evconfig-private.h"
Christopher Wileye8679812015-07-01 13:36:18 -070011
Narayan Kamathfc74cb42017-09-13 12:53:52 +010012#ifndef EVENT__HAVE_STRLCPY
Christopher Wileye8679812015-07-01 13:36:18 -070013#include <string.h>
Haibo Huangb2279672019-05-31 16:12:39 -070014EVENT2_EXPORT_SYMBOL
Narayan Kamathfc74cb42017-09-13 12:53:52 +010015size_t event_strlcpy_(char *dst, const char *src, size_t siz);
16#define strlcpy event_strlcpy_
Christopher Wileye8679812015-07-01 13:36:18 -070017#endif
18
19#ifdef __cplusplus
20}
21#endif
22
23#endif
24