Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)

git-svn-id: svn://10.0.0.236/trunk@10687 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1998-09-22 07:03:54 +00:00
parent 6cd03c57b9
commit fb2abb314f

View File

@@ -49,6 +49,7 @@ extern "C" {
void RL_Init();
PUBLIC NET_StreamClass *
NET_NGLayoutConverter(FO_Present_Types format_out,
void *converter_obj,
@@ -57,6 +58,10 @@ NET_NGLayoutConverter(FO_Present_Types format_out,
}; /* end of extern "C" */
#if defined(XP_PC)
void net_InitAsyncDNS();
#endif /* XP_PC */
/*
* Initialize our protocols
@@ -95,6 +100,10 @@ nsresult NS_InitNetlib(void)
NET_ChunkedDecoderStream);
RL_Init();
#if defined(XP_PC)
net_InitAsyncDNS();
#endif /* XP_PC */
return NS_OK;
}