summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/include/socket/netdb.h
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-02-19 11:07:45 -0500
committerGitHub <[email protected]>2022-02-20 00:07:45 +0800
commit6895da53071358cdd4da8f15f32c977dfedfbe89 (patch)
treec65401f29a630222c0928487415b1d0346b0488b /components/net/sal_socket/include/socket/netdb.h
parent5a61304a09bb2341565407d8fdc0a14f03c50aa3 (diff)
[net] adjust folder structure (#5587)
* [net] adjust folder structure - 将lwip相关的文件夹,移入lwip文件夹 - Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
Diffstat (limited to 'components/net/sal_socket/include/socket/netdb.h')
-rw-r--r--components/net/sal_socket/include/socket/netdb.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/components/net/sal_socket/include/socket/netdb.h b/components/net/sal_socket/include/socket/netdb.h
deleted file mode 100644
index 8394fddea5..0000000000
--- a/components/net/sal_socket/include/socket/netdb.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2015-02-17 Bernard First version
- * 2018-05-24 ChenYong Add socket abstraction layer
- */
-
-#ifndef NETDB_H__
-#define NETDB_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <stddef.h>
-#include <sal_netdb.h>
-
-struct hostent *gethostbyname(const char *name);
-
-int gethostbyname_r(const char *name, struct hostent *ret, char *buf,
- size_t buflen, struct hostent **result, int *h_errnop);
-void freeaddrinfo(struct addrinfo *ai);
-int getaddrinfo(const char *nodename,
- const char *servname,
- const struct addrinfo *hints,
- struct addrinfo **res);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif