netdb.h 561 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @file
  3. * This file is a posix wrapper for lwip/netdb.h.
  4. */
  5. /*
  6. * SPDX-FileCopyrightText: 2001-2004 Swedish Institute of Computer Science
  7. *
  8. * SPDX-License-Identifier: BSD-3-Clause
  9. *
  10. * SPDX-FileContributor: 2018-2022 Espressif Systems (Shanghai) CO LTD
  11. */
  12. #include "lwip/netdb.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #ifdef ESP_PLATFORM
  17. int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
  18. char *host, socklen_t hostlen,
  19. char *serv, socklen_t servlen, int flags);
  20. #endif
  21. #ifdef __cplusplus
  22. }
  23. #endif