aboutsummaryrefslogtreecommitdiff
path: root/src/be/utilsearch.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-03-30 19:46:56 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-03-30 21:57:49 +1000
commit0afd76e4c5d46f237591d860e7d445e267522187 (patch)
tree9f3b648da7733464c83ba6e253a65a18d17f5583 /src/be/utilsearch.h
parentd74e3dd4bcc573d0c4b1fb5c36c8bf0115cc21a1 (diff)
downloadwix-0afd76e4c5d46f237591d860e7d445e267522187.tar.gz
wix-0afd76e4c5d46f237591d860e7d445e267522187.tar.bz2
wix-0afd76e4c5d46f237591d860e7d445e267522187.zip
Add DetectSHA2Support "search".
Diffstat (limited to 'src/be/utilsearch.h')
-rw-r--r--src/be/utilsearch.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/be/utilsearch.h b/src/be/utilsearch.h
new file mode 100644
index 00000000..1e0ca96d
--- /dev/null
+++ b/src/be/utilsearch.h
@@ -0,0 +1,52 @@
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// constants
6
7enum UTIL_SEARCH_TYPE
8{
9 UTIL_SEARCH_TYPE_NONE,
10 UTIL_SEARCH_TYPE_DETECT_SHA2_SUPPORT,
11};
12
13
14// structs
15
16typedef struct _UTIL_SEARCH
17{
18 LPWSTR sczId;
19
20 UTIL_SEARCH_TYPE Type;
21} UTIL_SEARCH;
22
23typedef struct _UTIL_SEARCHES
24{
25 UTIL_SEARCH* rgSearches;
26 DWORD cSearches;
27} UTIL_SEARCHES;
28
29
30// function declarations
31
32STDMETHODIMP UtilSearchParseFromXml(
33 __in UTIL_SEARCHES* pSearches,
34 __in IXMLDOMNode* pixnBundleExtension
35 );
36
37void UtilSearchUninitialize(
38 __in UTIL_SEARCHES* pSearches
39 );
40
41STDMETHODIMP UtilSearchExecute(
42 __in UTIL_SEARCHES* pSearches,
43 __in LPCWSTR wzSearchId,
44 __in LPCWSTR wzVariable,
45 __in IBundleExtensionEngine* pEngine
46 );
47
48STDMETHODIMP UtilSearchFindById(
49 __in UTIL_SEARCHES* pSearches,
50 __in LPCWSTR wzId,
51 __out UTIL_SEARCH** ppSearch
52 );