blob: 7a3ae5c9bb5391886016c9473da58feabcd6435a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#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.
#include "scauser.h"
// global sql queries provided for optimization
extern LPCWSTR vcsWebDirPropertiesQuery;
// structs
struct SCA_WEB_PROPERTIES
{
WCHAR wzKey[MAX_DARWIN_KEY + 1];
int iAccess;
int iAuthorization;
BOOL fHasUser;
SCA_USER scau;
BOOL fIIsControlledPassword;
BOOL fLogVisits;
BOOL fIndex;
BOOL fHasDefaultDoc;
WCHAR wzDefaultDoc[MAX_DARWIN_COLUMN + 1];
BOOL fHasHttpExp;
WCHAR wzHttpExp[MAX_DARWIN_COLUMN + 1];
BOOL fAspDetailedError;
int iCacheControlMaxAge;
BOOL fHasCacheControlCustom;
WCHAR wzCacheControlCustom[MAX_DARWIN_COLUMN + 1];
BOOL fNoCustomError;
int iAccessSSLFlags;
WCHAR wzAuthenticationProviders[MAX_DARWIN_COLUMN + 1];
};
// prototypes
HRESULT ScaGetWebDirProperties(
__in LPCWSTR pwzProperties,
__in WCA_WRAPQUERY_HANDLE hUserQuery,
__in WCA_WRAPQUERY_HANDLE hWebDirPropQuery,
__inout SCA_WEB_PROPERTIES* pswp
);
HRESULT ScaWriteWebDirProperties(
__in IMSAdminBase* piMetabase,
__in LPCWSTR wzRootOfWeb,
__inout SCA_WEB_PROPERTIES* pswp
);
|