1 | /*
|
---|
2 | * Copyright (C) 2010 Alistair Leslie-Hughes
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "unknwn.idl";
|
---|
29 | import "objidl.idl";
|
---|
30 | import "oaidl.idl";
|
---|
31 |
|
---|
32 | [
|
---|
33 | object,
|
---|
34 | dual,
|
---|
35 | uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
|
---|
36 | ]
|
---|
37 | interface IRequestDictionary : IDispatch
|
---|
38 | {
|
---|
39 | [propget]
|
---|
40 | HRESULT Item(IRequestDictionary *iface, [in, optional] VARIANT Var,
|
---|
41 | [retval, out] VARIANT *pVariantReturn);
|
---|
42 |
|
---|
43 | [restricted, propget]
|
---|
44 | HRESULT _NewEnum(IRequestDictionary *iface, [retval, out] IUnknown **ppEnumReturn);
|
---|
45 |
|
---|
46 | [propget]
|
---|
47 | HRESULT Count(IRequestDictionary *iface, [retval, out] int *cStrRet);
|
---|
48 |
|
---|
49 | [propget]
|
---|
50 | HRESULT Key(IRequestDictionary *iface, [in] VARIANT VarKey, [retval, out]VARIANT *pvar);
|
---|
51 | };
|
---|
52 |
|
---|
53 | [
|
---|
54 | object,
|
---|
55 | dual,
|
---|
56 | uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
|
---|
57 | ]
|
---|
58 | interface IResponse : IDispatch
|
---|
59 | {
|
---|
60 | [propget]
|
---|
61 | HRESULT Buffer(IResponse *iface, [retval, out] VARIANT_BOOL *fIsBuffering);
|
---|
62 |
|
---|
63 | [propput]
|
---|
64 | HRESULT Buffer(IResponse *iface, [in] VARIANT_BOOL fIsBuffering);
|
---|
65 |
|
---|
66 | [propget]
|
---|
67 | HRESULT ContentType(IResponse *iface, [retval, out] BSTR *pbstrContentTypeRet);
|
---|
68 |
|
---|
69 | [propput]
|
---|
70 | HRESULT ContentType(IResponse *iface, [in] BSTR bstrContentType);
|
---|
71 |
|
---|
72 | [propget]
|
---|
73 | HRESULT Expires(IResponse *iface, [retval, out] VARIANT *pvarExpiresMinutesRet);
|
---|
74 |
|
---|
75 | [propput]
|
---|
76 | HRESULT Expires(IResponse *iface, [in] long lExpiresMinutes);
|
---|
77 |
|
---|
78 | [propget]
|
---|
79 | HRESULT ExpiresAbsolute(IResponse *iface, [retval, out] VARIANT *pvarExpiresRet);
|
---|
80 |
|
---|
81 | [propput]
|
---|
82 | HRESULT ExpiresAbsolute(IResponse *iface, [in] DATE dtExpires);
|
---|
83 |
|
---|
84 | [propget]
|
---|
85 | HRESULT Cookies(IResponse *iface, [retval, out] IRequestDictionary **ppCookies);
|
---|
86 |
|
---|
87 | [propget]
|
---|
88 | HRESULT Status(IResponse *iface, [retval][out] BSTR *pbstrStatusRet);
|
---|
89 |
|
---|
90 | [propput]
|
---|
91 | HRESULT Status(IResponse *iface, [in] BSTR bstrStatus);
|
---|
92 |
|
---|
93 | [hidden]
|
---|
94 | HRESULT Add(IResponse *iface, [in] BSTR bstrHeaderValue, [in] BSTR bstrHeaderName);
|
---|
95 |
|
---|
96 | HRESULT AddHeader(IResponse *iface, [in] BSTR bstrHeaderName, [in] BSTR bstrHeaderValue);
|
---|
97 |
|
---|
98 | HRESULT AppendToLog(IResponse *iface, [in] BSTR bstrLogEntry);
|
---|
99 |
|
---|
100 | HRESULT BinaryWrite(IResponse *iface, [in] VARIANT varInput);
|
---|
101 |
|
---|
102 | HRESULT Clear(IResponse *iface);
|
---|
103 |
|
---|
104 | HRESULT End(IResponse *iface);
|
---|
105 |
|
---|
106 | HRESULT Flush(IResponse *iface);
|
---|
107 |
|
---|
108 | HRESULT Redirect(IResponse *iface, [in] BSTR bstrURL);
|
---|
109 |
|
---|
110 | HRESULT Write(IResponse *iface, [in] VARIANT varText);
|
---|
111 |
|
---|
112 | [hidden]
|
---|
113 | HRESULT WriteBlock(IResponse *iface, [in] short iBlockNumber);
|
---|
114 |
|
---|
115 | HRESULT IsClientConnected(IResponse *iface, [retval, out] VARIANT_BOOL *pfIsClientConnected);
|
---|
116 |
|
---|
117 | [propget]
|
---|
118 | HRESULT get_CharSet( IResponse *iface, [retval, out] BSTR *pbstrCharSetRet);
|
---|
119 |
|
---|
120 | [propput]
|
---|
121 | HRESULT put_CharSet(IResponse *iface, [in] BSTR bstrCharSet);
|
---|
122 |
|
---|
123 | HRESULT Pics(IResponse *iface, [in] BSTR bstrHeaderValue);
|
---|
124 |
|
---|
125 | [propget]
|
---|
126 | HRESULT get_CacheControl(IResponse *iface, [retval, out] BSTR *pbstrCacheControl);
|
---|
127 |
|
---|
128 | [propput]
|
---|
129 | HRESULT put_CacheControl(IResponse *iface, [in] BSTR bstrCacheControl);
|
---|
130 |
|
---|
131 | [propget]
|
---|
132 | HRESULT get_CodePage(IResponse *iface, [retval, out] long *plvar);
|
---|
133 |
|
---|
134 | [propput]
|
---|
135 | HRESULT put_CodePage(IResponse *iface, [in] long lvar);
|
---|
136 |
|
---|
137 | [propget]
|
---|
138 | HRESULT get_LCID(IResponse *iface, [retval, out] long *plvar);
|
---|
139 |
|
---|
140 | [propput]
|
---|
141 | HRESULT put_LCID(IResponse *iface, [in] long lvar);
|
---|
142 | };
|
---|