From 5473c9c1b2dd376ad2c2f0cf704fac739e468656 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Wed, 16 Sep 1998 00:25:53 +0000 Subject: [PATCH] M include/net.h Adding two new url_struct attributes. uint32 localIP (can be set to specify a local ip address to bing the connecting socket to), boolean bypassProxy (can be set to skip over any proxies that would've been used. git-svn-id: svn://10.0.0.236/trunk@10101 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/include/net.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/include/net.h b/mozilla/include/net.h index cd66a261064..b576fbe72bb 100644 --- a/mozilla/include/net.h +++ b/mozilla/include/net.h @@ -354,7 +354,9 @@ struct URL_Struct_ { * to track loads by URL and not context */ #endif /* XP_WIN */ - + uint32 localIP; /* a local ip address that should be + * bound to the socket. */ + int history_num; /* == add this to history list * dflt TRUE */ @@ -404,6 +406,7 @@ struct URL_Struct_ { * buffer */ PRPackedBool + bypassProxy, /* should we bypass the proxy (if any) */ dontAllowDiffHostRedirect, /* Do we want to allow a redirect from host A to host B */ post_data_is_file, /* is the post_data field a filename? */ address_modified, /* was the address modified? */