comparison dwt/internal/mozilla/nsIAuthInformation.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents ff6dd48f5248
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
9 9
10 const nsIID NS_IAUTHINFORMATION_IID = 10 const nsIID NS_IAUTHINFORMATION_IID =
11 {0x0d73639c, 0x2a92, 0x4518, 11 {0x0d73639c, 0x2a92, 0x4518,
12 [ 0x9f, 0x92, 0x28, 0xf7, 0x1f, 0xea, 0x5f, 0x20 ] }; 12 [ 0x9f, 0x92, 0x28, 0xf7, 0x1f, 0xea, 0x5f, 0x20 ] };
13 13
14 //extern(System)
15
16 interface nsIAuthInformation : nsISupports { 14 interface nsIAuthInformation : nsISupports {
17 15
18 static const char[] IID_STR = NS_IAUTHINFORMATION_IID_STR; 16 static const char[] IID_STR = NS_IAUTHINFORMATION_IID_STR;
19 static const nsIID IID = NS_IAUTHINFORMATION_IID; 17 static const nsIID IID = NS_IAUTHINFORMATION_IID;
20 18
21 enum { AUTH_HOST = 1U } 19 enum { AUTH_HOST = 1U }
22 enum { AUTH_PROXY = 2U } 20 enum { AUTH_PROXY = 2U }
23 enum { NEED_DOMAIN = 4U } 21 enum { NEED_DOMAIN = 4U }
24 enum { ONLY_PASSWORD = 8U } 22 enum { ONLY_PASSWORD = 8U }
25 23
24 extern(System):
26 nsresult GetFlags(PRUint32 *aFlags); 25 nsresult GetFlags(PRUint32 *aFlags);
27 nsresult GetRealm(nsAString * aRealm);; 26 nsresult GetRealm(nsAString * aRealm);;
28 nsresult GetAuthenticationScheme(nsACString * aAuthenticationScheme); 27 nsresult GetAuthenticationScheme(nsACString * aAuthenticationScheme);
29 nsresult GetUsername(nsAString * aUsername); 28 nsresult GetUsername(nsAString * aUsername);
30 nsresult SetUsername(nsAString * aUsername); 29 nsresult SetUsername(nsAString * aUsername);