strlcpy-internal.h 418 B

123456789101112131415161718192021222324
  1. #ifndef STRLCPY_INTERNAL_H_INCLUDED_
  2. #define STRLCPY_INTERNAL_H_INCLUDED_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "event2/event-config.h"
  7. #include "event2/visibility.h"
  8. #include "evconfig-private.h"
  9. #ifndef EVENT__HAVE_STRLCPY
  10. #include <string.h>
  11. EVENT2_EXPORT_SYMBOL
  12. size_t event_strlcpy_(char *dst, const char *src, size_t siz);
  13. #define strlcpy event_strlcpy_
  14. #endif
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif