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
d664c276
Commit
d664c276
authored
Mar 19, 2008
by
Dan Hipschman
Committed by
Alexandre Julliard
Mar 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmgr: Add a stub implementation of IBackgroundCopyJob2.
parent
764cf334
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
215 additions
and
43 deletions
+215
-43
.gitignore
.gitignore
+1
-0
enum_files.c
dlls/qmgr/enum_files.c
+1
-1
job.c
dlls/qmgr/job.c
+113
-37
qmgr.h
dlls/qmgr/qmgr.h
+3
-3
qmgr_local.idl
dlls/qmgr/qmgr_local.idl
+4
-1
qmgrprxy.idl
dlls/qmgrprxy/qmgrprxy.idl
+4
-1
Makefile.in
include/Makefile.in
+1
-0
bits1_5.idl
include/bits1_5.idl
+88
-0
No files found.
.gitignore
View file @
d664c276
...
...
@@ -473,6 +473,7 @@ include/amstream.h
include/amvideo.h
include/austream.h
include/bits.h
include/bits1_5.h
include/comcat.h
include/config.h
include/control.h
...
...
dlls/qmgr/enum_files.c
View file @
d664c276
...
...
@@ -168,7 +168,7 @@ static const IEnumBackgroundCopyFilesVtbl BITS_IEnumBackgroundCopyFiles_Vtbl =
BITS_IEnumBackgroundCopyFiles_GetCount
};
HRESULT
EnumBackgroundCopyFilesConstructor
(
LPVOID
*
ppObj
,
IBackgroundCopyJob
*
iCopyJob
)
HRESULT
EnumBackgroundCopyFilesConstructor
(
LPVOID
*
ppObj
,
IBackgroundCopyJob
2
*
iCopyJob
)
{
EnumBackgroundCopyFilesImpl
*
This
;
BackgroundCopyFileImpl
*
file
;
...
...
dlls/qmgr/job.c
View file @
d664c276
This diff is collapsed.
Click to expand it.
dlls/qmgr/qmgr.h
View file @
d664c276
...
...
@@ -25,7 +25,7 @@
#include "objbase.h"
#define COBJMACROS
#include "bits.h"
#include "bits
1_5
.h"
#include <string.h>
#include "wine/list.h"
...
...
@@ -33,7 +33,7 @@
/* Background copy job vtbl and related data */
typedef
struct
{
const
IBackgroundCopyJobVtbl
*
lpVtbl
;
const
IBackgroundCopyJob
2
Vtbl
*
lpVtbl
;
LONG
ref
;
LPWSTR
displayName
;
BG_JOB_TYPE
type
;
...
...
@@ -106,7 +106,7 @@ HRESULT BackgroundCopyFileConstructor(BackgroundCopyJobImpl *owner,
LPCWSTR
remoteName
,
LPCWSTR
localName
,
LPVOID
*
ppObj
);
HRESULT
EnumBackgroundCopyFilesConstructor
(
LPVOID
*
ppObj
,
IBackgroundCopyJob
*
copyJob
);
IBackgroundCopyJob
2
*
copyJob
);
DWORD
WINAPI
fileTransfer
(
void
*
param
);
void
processJob
(
BackgroundCopyJobImpl
*
job
);
BOOL
processFile
(
BackgroundCopyFileImpl
*
file
,
BackgroundCopyJobImpl
*
job
);
...
...
dlls/qmgr/qmgr_local.idl
View file @
d664c276
/*
*
Copyright
(
C
)
2007
Google
(
Roy
Shea
)
*
Copyright
(
C
)
2007
,
2008
Google
(
Roy
Shea
,
Dan
Hipschman
)
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
...
...
@@ -17,3 +17,6 @@
*/
#
include
"bits.idl"
#
define
DO_NO_IMPORTS
#
include
"bits1_5.idl"
dlls/qmgrprxy/qmgrprxy.idl
View file @
d664c276
/*
*
Copyright
2007
Google
(
Roy
Shea
)
*
Copyright
2007
,
2008
Google
(
Roy
Shea
,
Dan
Hipschman
)
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
...
...
@@ -17,3 +17,6 @@
*/
#
include
"bits.idl"
#
define
DO_NO_IMPORTS
#
include
"bits1_5.idl"
include/Makefile.in
View file @
d664c276
...
...
@@ -11,6 +11,7 @@ IDL_H_SRCS = \
amvideo.idl
\
austream.idl
\
bits.idl
\
bits1_5.idl
\
comcat.idl
\
control.idl
\
d3d10.idl
\
...
...
include/bits1_5.idl
0 → 100644
View file @
d664c276
/*
*
Background
Intelligent
Transfer
Service
(
BITS
)
1.5
interface
*
*
Copyright
2008
Google
(
Dan
Hipschman
)
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*
*/
#
ifndef
DO_NO_IMPORTS
import
"bits.idl"
;
#
endif
[
uuid
(
54b50739
-
686
f
-
45
eb
-
9
dff
-
d6a9a0faa9af
),
odl
]
interface
IBackgroundCopyJob2
:
IBackgroundCopyJob
{
HRESULT
SetNotifyCmdLine
(
[
unique
]
LPCWSTR
prog
,
[
unique
]
LPCWSTR
params
)
;
HRESULT
GetNotifyCmdLine
(
[
out
]
LPWSTR
prog
,
[
out
]
LPWSTR
params
)
;
typedef
struct
_BG_JOB_REPLY_PROGRESS
{
UINT64
BytesTotal
;
UINT64
BytesTransferred
;
}
BG_JOB_REPLY_PROGRESS
;
HRESULT
GetReplyProgress
(
[
in
,
out
]
BG_JOB_REPLY_PROGRESS
*
progress
)
;
HRESULT
GetReplyData
(
[
out
,
size_is
(
,
(
unsigned
long
)
*
pLength
)
]
byte
**
pBuffer
,
[
in
,
out
,
unique
]
UINT64
*
pLength
)
;
HRESULT
SetReplyFileName
(
[
unique
]
LPCWSTR
filename
)
;
HRESULT
GetReplyFileName
(
[
out
]
LPWSTR
*
pFilename
)
;
typedef
enum
{
BG_AUTH_TARGET_SERVER
=
1
,
BG_AUTH_TARGET_PROXY
}
BG_AUTH_TARGET
;
typedef
enum
{
BG_AUTH_SCHEME_BASIC
=
1
,
BG_AUTH_SCHEME_DIGEST
,
BG_AUTH_SCHEME_NTLM
,
BG_AUTH_SCHEME_NEGOTIATE
,
BG_AUTH_SCHEME_PASSPORT
}
BG_AUTH_SCHEME
;
typedef
struct
{
LPWSTR
UserName
;
LPWSTR
Password
;
}
BG_BASIC_CREDENTIALS
;
typedef
BG_BASIC_CREDENTIALS
*
PBG_BASIC_CREDENTIALS
;
typedef
[
switch_type
(
BG_AUTH_SCHEME
)
]
union
{
[
case
(
BG_AUTH_SCHEME_BASIC
,
BG_AUTH_SCHEME_DIGEST
,
BG_AUTH_SCHEME_NTLM
,
BG_AUTH_SCHEME_NEGOTIATE
,
BG_AUTH_SCHEME_PASSPORT
)
]
BG_BASIC_CREDENTIALS
Basic
;
[
default
]
;
}
BG_AUTH_CREDENTIALS_UNION
;
typedef
struct
{
BG_AUTH_TARGET
Target
;
BG_AUTH_SCHEME
Scheme
;
[
switch_is
(
Scheme
)
]
BG_AUTH_CREDENTIALS_UNION
Credentials
;
}
BG_AUTH_CREDENTIALS
;
typedef
BG_AUTH_CREDENTIALS
*
PBG_AUTH_CREDENTIALS
;
HRESULT
SetCredentials
(
BG_AUTH_CREDENTIALS
*
cred
)
;
HRESULT
RemoveCredentials
(
BG_AUTH_TARGET
target
,
BG_AUTH_SCHEME
scheme
)
;
}
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