Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
563a50ab
Commit
563a50ab
authored
Oct 09, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make internal functions static.
parent
f721a24a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
17 deletions
+15
-17
action.c
dlls/msi/action.c
+1
-1
action.h
dlls/msi/action.h
+1
-0
custom.c
dlls/msi/custom.c
+1
-1
files.c
dlls/msi/files.c
+0
-2
helpers.c
dlls/msi/helpers.c
+1
-1
install.c
dlls/msi/install.c
+2
-2
msi.c
dlls/msi/msi.c
+6
-6
msipriv.h
dlls/msi/msipriv.h
+1
-0
package.c
dlls/msi/package.c
+0
-2
registry.c
dlls/msi/registry.c
+1
-1
select.c
dlls/msi/select.c
+1
-1
No files found.
dlls/msi/action.c
View file @
563a50ab
...
@@ -3850,7 +3850,7 @@ static UINT ACTION_ForceReboot(MSIPACKAGE *package)
...
@@ -3850,7 +3850,7 @@ static UINT ACTION_ForceReboot(MSIPACKAGE *package)
return
ERROR_INSTALL_SUSPEND
;
return
ERROR_INSTALL_SUSPEND
;
}
}
UINT
ACTION_ResolveSource
(
MSIPACKAGE
*
package
)
static
UINT
ACTION_ResolveSource
(
MSIPACKAGE
*
package
)
{
{
DWORD
attrib
;
DWORD
attrib
;
UINT
rc
;
UINT
rc
;
...
...
dlls/msi/action.h
View file @
563a50ab
...
@@ -289,6 +289,7 @@ extern UINT register_unique_action(MSIPACKAGE *, LPCWSTR);
...
@@ -289,6 +289,7 @@ extern UINT register_unique_action(MSIPACKAGE *, LPCWSTR);
extern
BOOL
check_unique_action
(
MSIPACKAGE
*
,
LPCWSTR
);
extern
BOOL
check_unique_action
(
MSIPACKAGE
*
,
LPCWSTR
);
extern
WCHAR
*
generate_error_string
(
MSIPACKAGE
*
,
UINT
,
DWORD
,
...
);
extern
WCHAR
*
generate_error_string
(
MSIPACKAGE
*
,
UINT
,
DWORD
,
...
);
extern
UINT
msi_create_component_directories
(
MSIPACKAGE
*
package
);
extern
UINT
msi_create_component_directories
(
MSIPACKAGE
*
package
);
extern
void
msi_ui_error
(
DWORD
msg_id
,
DWORD
type
);
/* control event stuff */
/* control event stuff */
...
...
dlls/msi/custom.c
View file @
563a50ab
...
@@ -120,7 +120,7 @@ static BOOL check_execution_scheduling_options(MSIPACKAGE *package, LPCWSTR acti
...
@@ -120,7 +120,7 @@ static BOOL check_execution_scheduling_options(MSIPACKAGE *package, LPCWSTR acti
/* stores the CustomActionData before the action:
/* stores the CustomActionData before the action:
* [CustomActionData]Action
* [CustomActionData]Action
*/
*/
LPWSTR
msi_get_deferred_action
(
LPCWSTR
action
,
LPWSTR
actiondata
)
static
LPWSTR
msi_get_deferred_action
(
LPCWSTR
action
,
LPWSTR
actiondata
)
{
{
LPWSTR
deferred
;
LPWSTR
deferred
;
DWORD
len
;
DWORD
len
;
...
...
dlls/msi/files.c
View file @
563a50ab
...
@@ -58,8 +58,6 @@ extern const WCHAR szRemoveFiles[];
...
@@ -58,8 +58,6 @@ extern const WCHAR szRemoveFiles[];
static
const
WCHAR
cszTempFolder
[]
=
{
'T'
,
'e'
,
'm'
,
'p'
,
'F'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
cszTempFolder
[]
=
{
'T'
,
'e'
,
'm'
,
'p'
,
'F'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
0
};
extern
LPCWSTR
msi_download_file
(
LPCWSTR
szUrl
,
LPWSTR
filename
);
/*
/*
* This is a helper function for handling embedded cabinet media
* This is a helper function for handling embedded cabinet media
*/
*/
...
...
dlls/msi/helpers.c
View file @
563a50ab
...
@@ -426,7 +426,7 @@ static void free_feature( MSIFEATURE *feature )
...
@@ -426,7 +426,7 @@ static void free_feature( MSIFEATURE *feature )
msi_free
(
feature
);
msi_free
(
feature
);
}
}
void
free_extension
(
MSIEXTENSION
*
ext
)
static
void
free_extension
(
MSIEXTENSION
*
ext
)
{
{
struct
list
*
item
,
*
cursor
;
struct
list
*
item
,
*
cursor
;
...
...
dlls/msi/install.c
View file @
563a50ab
...
@@ -150,8 +150,8 @@ UINT msi_strcpy_to_awstring( LPCWSTR str, awstring *awbuf, DWORD *sz )
...
@@ -150,8 +150,8 @@ UINT msi_strcpy_to_awstring( LPCWSTR str, awstring *awbuf, DWORD *sz )
/***********************************************************************
/***********************************************************************
* MsiGetTargetPath (internal)
* MsiGetTargetPath (internal)
*/
*/
UINT
WINAPI
MSI_GetTargetPath
(
MSIHANDLE
hInstall
,
LPCWSTR
szFolder
,
static
UINT
WINAPI
MSI_GetTargetPath
(
MSIHANDLE
hInstall
,
LPCWSTR
szFolder
,
awstring
*
szPathBuf
,
DWORD
*
pcchPathBuf
)
awstring
*
szPathBuf
,
DWORD
*
pcchPathBuf
)
{
{
MSIPACKAGE
*
package
;
MSIPACKAGE
*
package
;
LPWSTR
path
;
LPWSTR
path
;
...
...
dlls/msi/msi.c
View file @
563a50ab
...
@@ -431,8 +431,8 @@ UINT WINAPI MsiGetProductCodeW(LPCWSTR szComponent, LPWSTR szBuffer)
...
@@ -431,8 +431,8 @@ UINT WINAPI MsiGetProductCodeW(LPCWSTR szComponent, LPWSTR szBuffer)
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
UINT
WINAPI
MSI_GetProductInfo
(
LPCWSTR
szProduct
,
LPCWSTR
szAttribute
,
static
UINT
WINAPI
MSI_GetProductInfo
(
LPCWSTR
szProduct
,
LPCWSTR
szAttribute
,
awstring
*
szValue
,
DWORD
*
pcchValueBuf
)
awstring
*
szValue
,
DWORD
*
pcchValueBuf
)
{
{
UINT
r
;
UINT
r
;
HKEY
hkey
;
HKEY
hkey
;
...
@@ -960,8 +960,8 @@ UINT WINAPI MsiVerifyPackageW( LPCWSTR szPackage )
...
@@ -960,8 +960,8 @@ UINT WINAPI MsiVerifyPackageW( LPCWSTR szPackage )
return
r
;
return
r
;
}
}
INSTALLSTATE
WINAPI
MSI_GetComponentPath
(
LPCWSTR
szProduct
,
LPCWSTR
szComponent
,
static
INSTALLSTATE
WINAPI
MSI_GetComponentPath
(
LPCWSTR
szProduct
,
LPCWSTR
szComponent
,
awstring
*
lpPathBuf
,
DWORD
*
pcchBuf
)
awstring
*
lpPathBuf
,
DWORD
*
pcchBuf
)
{
{
WCHAR
squished_pc
[
GUID_SIZE
],
squished_comp
[
GUID_SIZE
];
WCHAR
squished_pc
[
GUID_SIZE
],
squished_comp
[
GUID_SIZE
];
UINT
rc
;
UINT
rc
;
...
@@ -1409,7 +1409,7 @@ INSTALLSTATE WINAPI MsiUseFeatureA( LPCSTR szProduct, LPCSTR szFeature )
...
@@ -1409,7 +1409,7 @@ INSTALLSTATE WINAPI MsiUseFeatureA( LPCSTR szProduct, LPCSTR szFeature )
/***********************************************************************
/***********************************************************************
* MSI_ProvideQualifiedComponentEx [internal]
* MSI_ProvideQualifiedComponentEx [internal]
*/
*/
UINT
WINAPI
MSI_ProvideQualifiedComponentEx
(
LPCWSTR
szComponent
,
static
UINT
WINAPI
MSI_ProvideQualifiedComponentEx
(
LPCWSTR
szComponent
,
LPCWSTR
szQualifier
,
DWORD
dwInstallMode
,
LPWSTR
szProduct
,
LPCWSTR
szQualifier
,
DWORD
dwInstallMode
,
LPWSTR
szProduct
,
DWORD
Unused1
,
DWORD
Unused2
,
awstring
*
lpPathBuf
,
DWORD
Unused1
,
DWORD
Unused2
,
awstring
*
lpPathBuf
,
DWORD
*
pcchPathBuf
)
DWORD
*
pcchPathBuf
)
...
@@ -1534,7 +1534,7 @@ UINT WINAPI MsiProvideQualifiedComponentA( LPCSTR szComponent,
...
@@ -1534,7 +1534,7 @@ UINT WINAPI MsiProvideQualifiedComponentA( LPCSTR szComponent,
/***********************************************************************
/***********************************************************************
* MSI_GetUserInfo [internal]
* MSI_GetUserInfo [internal]
*/
*/
USERINFOSTATE
WINAPI
MSI_GetUserInfo
(
LPCWSTR
szProduct
,
static
USERINFOSTATE
WINAPI
MSI_GetUserInfo
(
LPCWSTR
szProduct
,
awstring
*
lpUserNameBuf
,
DWORD
*
pcchUserNameBuf
,
awstring
*
lpUserNameBuf
,
DWORD
*
pcchUserNameBuf
,
awstring
*
lpOrgNameBuf
,
DWORD
*
pcchOrgNameBuf
,
awstring
*
lpOrgNameBuf
,
DWORD
*
pcchOrgNameBuf
,
awstring
*
lpSerialBuf
,
DWORD
*
pcchSerialBuf
)
awstring
*
lpSerialBuf
,
DWORD
*
pcchSerialBuf
)
...
...
dlls/msi/msipriv.h
View file @
563a50ab
...
@@ -416,6 +416,7 @@ extern MSICONDITION MSI_EvaluateConditionW( MSIPACKAGE *, LPCWSTR );
...
@@ -416,6 +416,7 @@ extern MSICONDITION MSI_EvaluateConditionW( MSIPACKAGE *, LPCWSTR );
extern
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetComponentStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
MSI_GetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
*
,
INSTALLSTATE
*
);
extern
UINT
WINAPI
MSI_SetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
);
extern
UINT
WINAPI
MSI_SetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
);
extern
LPCWSTR
msi_download_file
(
LPCWSTR
szUrl
,
LPWSTR
filename
);
/* for deformating */
/* for deformating */
extern
UINT
MSI_FormatRecordW
(
MSIPACKAGE
*
,
MSIRECORD
*
,
LPWSTR
,
DWORD
*
);
extern
UINT
MSI_FormatRecordW
(
MSIPACKAGE
*
,
MSIRECORD
*
,
LPWSTR
,
DWORD
*
);
...
...
dlls/msi/package.c
View file @
563a50ab
...
@@ -47,8 +47,6 @@
...
@@ -47,8 +47,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
extern
void
msi_ui_error
(
DWORD
msg_id
,
DWORD
type
);
static
void
msi_free_properties
(
MSIPACKAGE
*
package
);
static
void
msi_free_properties
(
MSIPACKAGE
*
package
);
static
void
MSI_FreePackage
(
MSIOBJECTHDR
*
arg
)
static
void
MSI_FreePackage
(
MSIOBJECTHDR
*
arg
)
...
...
dlls/msi/registry.c
View file @
563a50ab
...
@@ -855,7 +855,7 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
...
@@ -855,7 +855,7 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
return
r
;
return
r
;
}
}
UINT
WINAPI
MSI_EnumComponentQualifiers
(
LPCWSTR
szComponent
,
DWORD
iIndex
,
static
UINT
WINAPI
MSI_EnumComponentQualifiers
(
LPCWSTR
szComponent
,
DWORD
iIndex
,
awstring
*
lpQualBuf
,
DWORD
*
pcchQual
,
awstring
*
lpQualBuf
,
DWORD
*
pcchQual
,
awstring
*
lpAppBuf
,
DWORD
*
pcchAppBuf
)
awstring
*
lpAppBuf
,
DWORD
*
pcchAppBuf
)
{
{
...
...
dlls/msi/select.c
View file @
563a50ab
...
@@ -285,7 +285,7 @@ static UINT SELECT_AddColumn( MSISELECTVIEW *sv, LPCWSTR name )
...
@@ -285,7 +285,7 @@ static UINT SELECT_AddColumn( MSISELECTVIEW *sv, LPCWSTR name )
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
int
select_count_columns
(
column_info
*
col
)
static
int
select_count_columns
(
column_info
*
col
)
{
{
int
n
;
int
n
;
for
(
n
=
0
;
col
;
col
=
col
->
next
)
for
(
n
=
0
;
col
;
col
=
col
->
next
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment