diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-09 19:16:44 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-09 19:16:44 +0000 |
commit | 3bdf9aae5f7f4c5f47fc8f807ae4409dfe3bdd58 (patch) | |
tree | 39701f4ccf22d6842122baa1a27d92ff8040375f /StdLib/Include/resolv.h | |
parent | 5709e4e290f80aaf5ed6f1c7a9e3654a14e4ceb9 (diff) | |
download | edk2-platforms-3bdf9aae5f7f4c5f47fc8f807ae4409dfe3bdd58.tar.xz |
Merged socket development branch:
* Fixed bug report (Duane Voth: Python sockets test application not working) by starting the receive operations when a connection is established!
* Increased performance by extending the idle loop into the network stack with the Poll call.
* Added support for TCPv6 (SOCK_STREAM) and UDPv6 (SOCK_DGRAM).
* Added support for getaddrinfo and getnameinfo calls.
* Moved application PCD values into AppPkg
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13002 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/Include/resolv.h')
-rw-r--r-- | StdLib/Include/resolv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/StdLib/Include/resolv.h b/StdLib/Include/resolv.h index 818a0ea07f..d94b3cfb7f 100644 --- a/StdLib/Include/resolv.h +++ b/StdLib/Include/resolv.h @@ -112,6 +112,8 @@ struct __res_state { char pad[72]; /* on an i386 this means 512b total */
};
+typedef struct __res_state *res_state;
+
/*
* Resolver options (keep these in synch with res_debug.c, please)
*/
@@ -201,6 +203,7 @@ extern const struct res_sym __p_type_syms[]; #define hostalias __hostalias
#define putlong __putlong
#define putshort __putshort
+uint16_t _getshort(const u_char *);
#define p_class __p_class
#define p_time __p_time
#define p_type __p_type
@@ -288,6 +291,7 @@ int res_mkupdate __P((ns_updrec *, u_char *, int)); ns_updrec * res_mkupdrec __P((int, const char *, u_int, u_int, u_long));
void res_freeupdrec __P((ns_updrec *));
#endif
+
__END_DECLS
#endif /* !_RESOLV_H_ */
|