From 7c8e34de56b3348c5a421cd0cced183e1394c5c7 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 4 May 2021 22:48:12 -0700 Subject: Move Iis.wixext into ext --- src/ext/Iis/ca/scahttpheader.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/ext/Iis/ca/scahttpheader.h (limited to 'src/ext/Iis/ca/scahttpheader.h') 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 @@ +#pragma once +// 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. + + +enum eHttpHeaderParentType { hhptVDir = 1, hhptWeb }; + +struct SCA_HTTP_HEADER +{ + int iParentType; + WCHAR wzParentValue[MAX_DARWIN_KEY + 1]; + + WCHAR wzName[MAX_PATH]; + WCHAR wzValue[MAX_PATH]; + int iAttributes; + + SCA_HTTP_HEADER* pshhNext; +}; + +// prototypes +HRESULT ScaHttpHeaderRead( + __in SCA_HTTP_HEADER **ppshhList, + __inout LPWSTR *ppwzCustomActionData + ); +void ScaHttpHeaderFreeList( + __in SCA_HTTP_HEADER *pshhList + ); +HRESULT ScaHttpHeaderCheckList( + __in SCA_HTTP_HEADER* pshhList + ); +HRESULT ScaGetHttpHeader( + __in int iParentType, + __in LPCWSTR wzParentValue, + __in SCA_HTTP_HEADER** ppshhList, + __out SCA_HTTP_HEADER** ppshhOut + ); +HRESULT ScaWriteHttpHeader( + __in IMSAdminBase* piMetabase, + LPCWSTR wzRoot, + SCA_HTTP_HEADER* pshhList + ); -- cgit v1.2.3-55-g6feb