aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/ca/scahttpheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Iis/ca/scahttpheader.h')
-rw-r--r--src/ext/Iis/ca/scahttpheader.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ext/Iis/ca/scahttpheader.h b/src/ext/Iis/ca/scahttpheader.h
new file mode 100644
index 00000000..a4c407a4
--- /dev/null
+++ b/src/ext/Iis/ca/scahttpheader.h
@@ -0,0 +1,40 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4
5enum eHttpHeaderParentType { hhptVDir = 1, hhptWeb };
6
7struct SCA_HTTP_HEADER
8{
9 int iParentType;
10 WCHAR wzParentValue[MAX_DARWIN_KEY + 1];
11
12 WCHAR wzName[MAX_PATH];
13 WCHAR wzValue[MAX_PATH];
14 int iAttributes;
15
16 SCA_HTTP_HEADER* pshhNext;
17};
18
19// prototypes
20HRESULT ScaHttpHeaderRead(
21 __in SCA_HTTP_HEADER **ppshhList,
22 __inout LPWSTR *ppwzCustomActionData
23 );
24void ScaHttpHeaderFreeList(
25 __in SCA_HTTP_HEADER *pshhList
26 );
27HRESULT ScaHttpHeaderCheckList(
28 __in SCA_HTTP_HEADER* pshhList
29 );
30HRESULT ScaGetHttpHeader(
31 __in int iParentType,
32 __in LPCWSTR wzParentValue,
33 __in SCA_HTTP_HEADER** ppshhList,
34 __out SCA_HTTP_HEADER** ppshhOut
35 );
36HRESULT ScaWriteHttpHeader(
37 __in IMSAdminBase* piMetabase,
38 LPCWSTR wzRoot,
39 SCA_HTTP_HEADER* pshhList
40 );