]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/resolv.h
Fix TCP4/TCP6 connections. Connections were transitioning into the connected state...
[mirror_edk2.git] / StdLib / Include / resolv.h
index 818a0ea07f3153ec01063127c268b7437cdb9fde..d94b3cfb7fecabffd293d1b956aa92e08daa06b7 100644 (file)
@@ -112,6 +112,8 @@ struct __res_state {
        char    pad[72];                /* on an i386 this means 512b total */\r
 };\r
 \r
+typedef struct __res_state *res_state;\r
+\r
 /*\r
  * Resolver options (keep these in synch with res_debug.c, please)\r
  */\r
@@ -201,6 +203,7 @@ extern const struct res_sym __p_type_syms[];
 #define        hostalias       __hostalias\r
 #define        putlong         __putlong\r
 #define        putshort        __putshort\r
+uint16_t       _getshort(const u_char *);\r
 #define        p_class         __p_class\r
 #define        p_time          __p_time\r
 #define        p_type          __p_type\r
@@ -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));\r
 void           res_freeupdrec __P((ns_updrec *));\r
 #endif\r
+\r
 __END_DECLS\r
 \r
 #endif /* !_RESOLV_H_ */\r