Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6f73ac33
Commit
6f73ac33
authored
Feb 01, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: In unixlib, don't use Windows long type.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4d0c3f7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
unixlib.c
dlls/netapi32/unixlib.c
+6
-6
No files found.
dlls/netapi32/unixlib.c
View file @
6f73ac33
...
...
@@ -132,7 +132,7 @@ static NET_API_STATUS server_info_101_from_samba( const unsigned char *buf, void
return
NERR_Success
;
}
static
NET_API_STATUS
server_info_from_samba
(
DWORD
level
,
const
unsigned
char
*
buf
,
void
*
buffer
,
ULONG
*
size
)
static
NET_API_STATUS
server_info_from_samba
(
unsigned
int
level
,
const
unsigned
char
*
buf
,
void
*
buffer
,
ULONG
*
size
)
{
switch
(
level
)
{
...
...
@@ -438,9 +438,9 @@ static unsigned char ace_flags_to_samba( BYTE flags )
#define GENERIC_WRITE_ACCESS (1u << 30)
#define GENERIC_READ_ACCESS (1u << 31)
static
unsigned
int
access_mask_to_samba
(
DWORD
mask
)
static
unsigned
int
access_mask_to_samba
(
unsigned
int
mask
)
{
static
const
DWORD
known_rights
=
static
const
unsigned
int
known_rights
=
GENERIC_ALL
|
GENERIC_EXECUTE
|
GENERIC_WRITE
|
GENERIC_READ
;
unsigned
int
ret
=
0
;
...
...
@@ -692,7 +692,7 @@ static NET_API_STATUS share_info_502_to_samba( const BYTE *buf, unsigned char **
return
NERR_Success
;
}
static
NET_API_STATUS
share_info_to_samba
(
DWORD
level
,
const
BYTE
*
buf
,
unsigned
char
**
bufptr
)
static
NET_API_STATUS
share_info_to_samba
(
unsigned
int
level
,
const
BYTE
*
buf
,
unsigned
char
**
bufptr
)
{
switch
(
level
)
{
...
...
@@ -793,7 +793,7 @@ static NET_API_STATUS wksta_info_100_from_samba( const unsigned char *buf, void
return
NERR_Success
;
}
static
NET_API_STATUS
wksta_info_from_samba
(
DWORD
level
,
const
unsigned
char
*
buf
,
void
*
buffer
,
ULONG
*
size
)
static
NET_API_STATUS
wksta_info_from_samba
(
unsigned
int
level
,
const
unsigned
char
*
buf
,
void
*
buffer
,
ULONG
*
size
)
{
switch
(
level
)
{
...
...
@@ -826,7 +826,7 @@ static NTSTATUS wksta_getinfo( void *args )
static
NTSTATUS
netapi_init
(
void
*
args
)
{
DWORD
status
;
unsigned
int
status
;
void
*
ctx
;
if
(
!
(
libnetapi_handle
=
dlopen
(
SONAME_LIBNETAPI
,
RTLD_NOW
)))
...
...
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