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
230b52da
Commit
230b52da
authored
Jun 12, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmgr: Use winhttp for HTTP transfers instead of wininet.
parent
3b5991cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
Makefile.in
dlls/qmgr/Makefile.in
+1
-1
file.c
dlls/qmgr/file.c
+0
-0
qmgr.h
dlls/qmgr/qmgr.h
+4
-8
No files found.
dlls/qmgr/Makefile.in
View file @
230b52da
MODULE
=
qmgr.dll
MODULE
=
qmgr.dll
IMPORTS
=
uuid win
inet urlmon
ole32 advapi32
IMPORTS
=
uuid win
http
ole32 advapi32
C_SRCS
=
\
C_SRCS
=
\
enum_files.c
\
enum_files.c
\
...
...
dlls/qmgr/file.c
View file @
230b52da
This diff is collapsed.
Click to expand it.
dlls/qmgr/qmgr.h
View file @
230b52da
...
@@ -57,6 +57,9 @@ typedef struct
...
@@ -57,6 +57,9 @@ typedef struct
HRESULT
code
;
HRESULT
code
;
IBackgroundCopyFile2
*
file
;
IBackgroundCopyFile2
*
file
;
}
error
;
}
error
;
HANDLE
wait
;
HANDLE
cancel
;
HANDLE
done
;
}
BackgroundCopyJobImpl
;
}
BackgroundCopyJobImpl
;
/* Background copy file vtbl and related data */
/* Background copy file vtbl and related data */
...
@@ -69,6 +72,7 @@ typedef struct
...
@@ -69,6 +72,7 @@ typedef struct
WCHAR
tempFileName
[
MAX_PATH
];
WCHAR
tempFileName
[
MAX_PATH
];
struct
list
entryFromJob
;
struct
list
entryFromJob
;
BackgroundCopyJobImpl
*
owner
;
BackgroundCopyJobImpl
*
owner
;
DWORD
read_size
;
}
BackgroundCopyFileImpl
;
}
BackgroundCopyFileImpl
;
/* Background copy manager vtbl and related data */
/* Background copy manager vtbl and related data */
...
@@ -104,14 +108,6 @@ void processJob(BackgroundCopyJobImpl *job) DECLSPEC_HIDDEN;
...
@@ -104,14 +108,6 @@ void processJob(BackgroundCopyJobImpl *job) DECLSPEC_HIDDEN;
BOOL
processFile
(
BackgroundCopyFileImpl
*
file
,
BackgroundCopyJobImpl
*
job
)
DECLSPEC_HIDDEN
;
BOOL
processFile
(
BackgroundCopyFileImpl
*
file
,
BackgroundCopyJobImpl
*
job
)
DECLSPEC_HIDDEN
;
/* Little helper functions */
/* Little helper functions */
static
inline
char
*
qmgr_strdup
(
const
char
*
s
)
{
size_t
n
=
strlen
(
s
)
+
1
;
char
*
d
=
HeapAlloc
(
GetProcessHeap
(),
0
,
n
);
return
d
?
memcpy
(
d
,
s
,
n
)
:
NULL
;
}
static
inline
HRESULT
return_strval
(
const
WCHAR
*
str
,
WCHAR
**
ret
)
static
inline
HRESULT
return_strval
(
const
WCHAR
*
str
,
WCHAR
**
ret
)
{
{
int
len
;
int
len
;
...
...
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