| 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 |
| 9 | extern LPCWSTR vcsWebApplicationQuery; |
| 10 | const int MAX_APP_NAME = 255; |
| 11 | |
| 12 | // structs |
| 13 | struct 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 |
| 34 | HRESULT ScaGetWebApplication(MSIHANDLE hViewApplications, |
| 35 | LPCWSTR pwzApplication, |
| 36 | __in WCA_WRAPQUERY_HANDLE hWebAppQuery, |
| 37 | __in WCA_WRAPQUERY_HANDLE hWebAppExtQuery, |
| 38 | SCA_WEB_APPLICATION* pswapp); |
| 39 | |
| 40 | HRESULT ScaWriteWebApplication(IMSAdminBase* piMetabase, LPCWSTR wzRootOfWeb, |
| 41 | SCA_WEB_APPLICATION* pswapp, SCA_APPPOOL * psapList); |
| 42 |