13f8c7cd0SNick Mathewson #ifndef STRLCPY_INTERNAL_H_INCLUDED_ 23f8c7cd0SNick Mathewson #define STRLCPY_INTERNAL_H_INCLUDED_ 30db257b8SNiels Provos 40db257b8SNiels Provos #ifdef __cplusplus 50db257b8SNiels Provos extern "C" { 60db257b8SNiels Provos #endif 70db257b8SNiels Provos 8ec347b92SNick Mathewson #include "event2/event-config.h" 9*9806b126SAzat Khuzhin #include "event2/visibility.h" 100915ca0aSKevin Bowling #include "evconfig-private.h" 110db257b8SNiels Provos 1268120d9bSNick Mathewson #ifndef EVENT__HAVE_STRLCPY 130db257b8SNiels Provos #include <string.h> 14*9806b126SAzat Khuzhin EVENT2_EXPORT_SYMBOL 15cb9da0bfSNick Mathewson size_t event_strlcpy_(char *dst, const char *src, size_t siz); 16cb9da0bfSNick Mathewson #define strlcpy event_strlcpy_ 170db257b8SNiels Provos #endif 180db257b8SNiels Provos 190db257b8SNiels Provos #ifdef __cplusplus 200db257b8SNiels Provos } 210db257b8SNiels Provos #endif 220db257b8SNiels Provos 230db257b8SNiels Provos #endif 240db257b8SNiels Provos 25