summaryrefslogtreecommitdiff
path: root/src/burn/engine/dependency.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-08-03 15:41:34 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-08-04 10:03:57 -0500
commitce8acddf52bde840571535c3dfd56a2371d80684 (patch)
tree8c462caa2642bfddcb644f1353f321ecceeb2aca /src/burn/engine/dependency.h
parent6d7a275edafb3ae0f3cff94d66503a82dafb71f7 (diff)
downloadwix-ce8acddf52bde840571535c3dfd56a2371d80684.tar.gz
wix-ce8acddf52bde840571535c3dfd56a2371d80684.tar.bz2
wix-ce8acddf52bde840571535c3dfd56a2371d80684.zip
Add BURN_DEPENDENCIES struct to store Dependency state.
Diffstat (limited to 'src/burn/engine/dependency.h')
-rw-r--r--src/burn/engine/dependency.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/burn/engine/dependency.h b/src/burn/engine/dependency.h
index 06a01a20..3dacaf99 100644
--- a/src/burn/engine/dependency.h
+++ b/src/burn/engine/dependency.h
@@ -11,6 +11,18 @@ extern "C" {
11const LPCWSTR DEPENDENCY_IGNOREDEPENDENCIES = L"IGNOREDEPENDENCIES"; 11const LPCWSTR DEPENDENCY_IGNOREDEPENDENCIES = L"IGNOREDEPENDENCIES";
12 12
13 13
14typedef struct _BURN_DEPENDENCIES
15{
16 DEPENDENCY* rgIgnoredDependencies;
17 UINT cIgnoredDependencies;
18 LPCWSTR wzActiveParent;
19 LPCWSTR wzSelfDependent;
20 BOOL fIgnoreAllDependents;
21 BOOL fSelfDependent;
22 BOOL fActiveParent;
23} BURN_DEPENDENCIES;
24
25
14// function declarations 26// function declarations
15 27
16/******************************************************************** 28/********************************************************************
@@ -33,8 +45,13 @@ HRESULT DependencyParseProvidersFromXml(
33 ); 45 );
34 46
35HRESULT DependencyInitialize( 47HRESULT DependencyInitialize(
36 __in BURN_REGISTRATION* pRegistration, 48 __in BURN_ENGINE_COMMAND* pInternalCommand,
37 __in_z_opt LPCWSTR wzIgnoreDependencies 49 __in BURN_DEPENDENCIES* pDependencies,
50 __in BURN_REGISTRATION* pRegistration
51 );
52
53void DependencyUninitialize(
54 __in BURN_DEPENDENCIES* pDependencies
38 ); 55 );
39 56
40/******************************************************************** 57/********************************************************************
@@ -52,7 +69,9 @@ HRESULT DependencyDetectProviderKeyBundleId(
52 69
53*********************************************************************/ 70*********************************************************************/
54HRESULT DependencyDetect( 71HRESULT DependencyDetect(
55 __in BURN_ENGINE_STATE* pEngineState 72 __in BURN_DEPENDENCIES* pDependencies,
73 __in BURN_PACKAGES* pPackages,
74 __in BURN_REGISTRATION* pRegistration
56 ); 75 );
57 76
58/******************************************************************** 77/********************************************************************
@@ -60,7 +79,7 @@ HRESULT DependencyDetect(
60 79
61*********************************************************************/ 80*********************************************************************/
62HRESULT DependencyPlanInitialize( 81HRESULT DependencyPlanInitialize(
63 __in const BURN_REGISTRATION* pRegistration, 82 __in BURN_DEPENDENCIES* pDependencies,
64 __in BURN_PLAN* pPlan 83 __in BURN_PLAN* pPlan
65 ); 84 );
66 85