aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Sql/ca/scasqlstr.h
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-04 22:50:16 -0700
committerRob Mensching <rob@firegiant.com>2021-05-04 22:50:16 -0700
commite713e6695bd531d1021482d454401b86c84f3f2d (patch)
treebf76f3a6a411edd1c4b47f3a54625f7f1023e95b /src/ext/Sql/ca/scasqlstr.h
parent2977d0ffabcd6d68790e711736d2edd1fe0cc0af (diff)
downloadwix-e713e6695bd531d1021482d454401b86c84f3f2d.tar.gz
wix-e713e6695bd531d1021482d454401b86c84f3f2d.tar.bz2
wix-e713e6695bd531d1021482d454401b86c84f3f2d.zip
Move Sql.wixext into ext
Diffstat (limited to 'src/ext/Sql/ca/scasqlstr.h')
-rw-r--r--src/ext/Sql/ca/scasqlstr.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/ext/Sql/ca/scasqlstr.h b/src/ext/Sql/ca/scasqlstr.h
new file mode 100644
index 00000000..72c1d770
--- /dev/null
+++ b/src/ext/Sql/ca/scasqlstr.h
@@ -0,0 +1,51 @@
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 "scadb.h"
6
7struct SCA_SQLSTR
8{
9 // darwin information
10 WCHAR wzKey[MAX_DARWIN_KEY + 1];
11 WCHAR wzComponent[MAX_DARWIN_KEY + 1];
12 INSTALLSTATE isInstalled, isAction;
13
14 WCHAR wzSqlDb[MAX_DARWIN_COLUMN + 1];
15
16 BOOL fHasUser;
17 SCA_USER scau;
18
19 LPWSTR pwzSql;
20 int iAttributes;
21 int iSequence; //used to sequence Wix4SqlString and Wix4SqlScript tables together
22
23 SCA_SQLSTR* psssNext;
24};
25
26
27// prototypes
28HRESULT ScaSqlStrsRead(
29 __inout SCA_SQLSTR** ppsssList,
30 __in SCA_ACTION saAction
31 );
32
33HRESULT ScaSqlStrsReadScripts(
34 __inout SCA_SQLSTR** ppsssList,
35 __in SCA_ACTION saAction
36 );
37
38HRESULT ScaSqlStrsInstall(
39 __in SCA_DB* psdList,
40 __in SCA_SQLSTR* psssList
41 );
42
43HRESULT ScaSqlStrsUninstall(
44 __in SCA_DB* psdList,
45 __in SCA_SQLSTR* psssList
46 );
47
48void ScaSqlStrsFreeList(
49 __in SCA_SQLSTR* psssList
50 );
51