aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/ca/scawebapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Iis/ca/scawebapp.h')
-rw-r--r--src/ext/Iis/ca/scawebapp.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/ext/Iis/ca/scawebapp.h b/src/ext/Iis/ca/scawebapp.h
new file mode 100644
index 00000000..a4152116
--- /dev/null
+++ b/src/ext/Iis/ca/scawebapp.h
@@ -0,0 +1,42 @@
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
5#include "scaapppool.h"
6#include "scawebappext.h"
7
8// global sql queries provided for optimization
9extern LPCWSTR vcsWebApplicationQuery;
10const int MAX_APP_NAME = 255;
11
12// structs
13struct SCA_WEB_APPLICATION
14{
15 WCHAR wzName[MAX_APP_NAME + 1];
16
17 int iIsolation;
18 BOOL fAllowSessionState;
19 int iSessionTimeout;
20 BOOL fBuffer;
21 BOOL fParentPaths;
22
23 WCHAR wzDefaultScript[MAX_DARWIN_COLUMN + 1];
24 int iScriptTimeout;
25 BOOL fServerDebugging;
26 BOOL fClientDebugging;
27 WCHAR wzAppPool[MAX_DARWIN_COLUMN + 1];
28
29 SCA_WEB_APPLICATION_EXTENSION* pswappextList;
30};
31
32
33// prototypes
34HRESULT ScaGetWebApplication(MSIHANDLE hViewApplications,
35 LPCWSTR pwzApplication,
36 __in WCA_WRAPQUERY_HANDLE hWebAppQuery,
37 __in WCA_WRAPQUERY_HANDLE hWebAppExtQuery,
38 SCA_WEB_APPLICATION* pswapp);
39
40HRESULT ScaWriteWebApplication(IMSAdminBase* piMetabase, LPCWSTR wzRootOfWeb,
41 SCA_WEB_APPLICATION* pswapp, SCA_APPPOOL * psapList);
42