[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT/LWIP PATCH v2 5/5] netdb.h: Add getservbyname() and getservbyport() declarations
- To: minios-devel@xxxxxxxxxxxxx
- From: Costin Lupu <costin.lupu@xxxxxxxxx>
- Date: Fri, 16 Aug 2019 10:09:43 +0300
- Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx
- Delivery-date: Fri, 16 Aug 2019 07:10:02 +0000
- Ironport-phdr: 9a23:Jlr6FhKQb/JEBzWtO9mcpTZWNBhigK39O0sv0rFitYgeIv3xwZ3uMQTl6Ol3ixeRBMOHsqgC0rGM+Pm5BSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagf79+Ngi6oAvPusUZnIduN6k8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DoByvuQFxzYDXbo+SNvV+cLjQcc8GSWdbQspcTTBNDp+6YoASD+QBJ+FYr4zlqlYQqhu+HhWsBOLpyjRVgHH2wLU60/k8GgzBwAMgGMkOsGjVrNXzLqsSVf21zLHVzTjYc/xWwi3x6JDVch86u/2MR7VwfNPXxEIyFA3Flk2dpZHqMj+IzOgAsGiW4/B+We6xiWMrsQ98riCyysojl4XFnIEYx1De+Slnzos4K8e0RFN0bNK6FpZbqjuUOJFsQsw4RmFloCM6yrobtpGlZCUK05EnxwLHa/yAboiI/grvVOaPLjd8g3JoYKy/hxOo/kihzu3wTNW70E1Qoipdj9nDrWoB1wbU6sSfS/t9+Fmu2SqX2gzO5exIPFo4mKnbJpI73LI8iJgevV7NEyPunUX5lq6WdkEq+uiy7OTnZ63rqYObN49vlgH+M6Iulta7AeQlKggOQnOW9vin1LH55U35Xa5FgucskqneqJzaP9gUpralAw9J1YYu8xO/Dzag0NQZmnkHN0tJdw+ZgIj3JV7OJOv1DfO+g1S3jDdr3OrKP7L/DZXLNHTDl63hfbll4U5G1AUz1cxf545TCrwZLvL8REvxtN3ADhAnKQC0w/vnCNRh2YMfQm+PBLGWP7/WsVCS/e0jOfeDZJINsjbnN/cl/+LujWM+mVIFZqmp3J4XaHe+Hvh8IEWZfGTjgtEAEGgUpAozV+rqh0OeXj5XfXm9RLgw6S8mCNHuMYCWQ4GrgbuamSu2AJBSTmRHEUyXV2flccODQfhfRjiVJ5pKlScYVL7pb5I5yFn6vwjh17thaO7J4jAwvomlzMV/offUw0JhvQdoBtiQhjneB1p/mXkFEmc7
- Ironport-sdr: OAZEyA/ZhLBzqbRWQVpqS1r6jB21LZ9XF0Mxh4xvt7SOJ3HuEigc4KiVkWUB6E2UXPuXiA7DoE sdx4cC1WSw9w==
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
The stubs were already defined, but the declarations were missing.
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
include/netdb.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/netdb.h b/include/netdb.h
index d31624c..d650499 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -49,3 +49,6 @@ const char *gai_strerror(int errcode);
int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
char *host, socklen_t hostlen,
char *serv, socklen_t servlen, int flags);
+
+struct servent *getservbyname(const char *name, const char *proto);
+struct servent *getservbyport(int port, const char *proto);
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|