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
f0dee09c
Commit
f0dee09c
authored
Jul 21, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
davclnt: Add stub implementations of DavRegisterAuthCallback and DavUnregisterAuthCallback.
parent
a4bcae0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
2 deletions
+96
-2
davclnt.spec
dlls/davclnt/davclnt.spec
+2
-2
main.c
dlls/davclnt/main.c
+22
-0
Makefile.in
include/Makefile.in
+1
-0
davclnt.h
include/davclnt.h
+71
-0
No files found.
dlls/davclnt/davclnt.spec
View file @
f0dee09c
...
...
@@ -3,8 +3,8 @@
@ stub DavGetDiskSpaceUsage
@ stub DavGetTheLockOwnerOfTheFile
@ stub DavInvalidateCache
@ st
ub DavRegisterAuthCallback
@ st
ub DavUnregisterAuthCallback
@ st
dcall DavRegisterAuthCallback(ptr long)
@ st
dcall DavUnregisterAuthCallback(long)
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr)
...
...
dlls/davclnt/main.c
View file @
f0dee09c
...
...
@@ -24,6 +24,11 @@
#include "windef.h"
#include "winbase.h"
#include "davclnt.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
davclnt
);
BOOL
WINAPI
DllMain
(
HINSTANCE
instance
,
DWORD
reason
,
LPVOID
reserved
)
{
...
...
@@ -38,3 +43,20 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return
TRUE
;
}
/***********************************************************************
* DavRegisterAuthCallback (davclnt.@)
*/
OPAQUE_HANDLE
WINAPI
DavRegisterAuthCallback
(
PFNDAVAUTHCALLBACK
cb
,
ULONG
version
)
{
FIXME
(
"%p, %u
\n
"
,
cb
,
version
);
return
0
;
}
/***********************************************************************
* DavUnregisterAuthCallback (davclnt.@)
*/
VOID
WINAPI
DavUnregisterAuthCallback
(
OPAQUE_HANDLE
handle
)
{
FIXME
(
"%u
\n
"
,
handle
);
}
include/Makefile.in
View file @
f0dee09c
...
...
@@ -236,6 +236,7 @@ SRCDIR_INCLUDES = \
d3dx9shape.h
\
d3dx9tex.h
\
d3dx9xof.h
\
davclnt.h
\
dbccmd.idl
\
dbcses.idl
\
dbdsad.idl
\
...
...
include/davclnt.h
0 → 100644
View file @
f0dee09c
/*
* Copyright 2015 Hans Leidekker for CodeWeavers
*
* 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 __WINE_DAVCLNT_H
#define __WINE_DAVCLNT_H
#define OPAQUE_HANDLE DWORD
#define DAV_AUTHN_SCHEME_BASIC 0x00000001
#define DAV_AUTHN_SCHEME_NTLM 0x00000002
#define DAV_AUTHN_SCHEME_PASSPORT 0x00000004
#define DAV_AUTHN_SCHEME_DIGEST 0x00000008
#define DAV_AUTHN_SCHEME_NEGOTIATE 0x00000010
#define DAV_AUTHN_SCHEME_CERT 0x00010000
#define DAV_AUTHN_SCHEME_FBA 0x00100000
typedef
enum
{
DefaultBehavior
,
RetryRequest
,
CancelRequest
}
AUTHNEXTSTEP
;
typedef
struct
_DAV_CALLBACK_AUTH_BLOB
{
PVOID
pBuffer
;
ULONG
ulSize
;
ULONG
ulType
;
}
DAV_CALLBACK_AUTH_BLOB
,
*
PDAV_CALLBACK_AUTH_BLOB
;
typedef
struct
_DAV_CALLBACK_AUTH_UNP
{
LPWSTR
pszUserName
;
ULONG
ulUserNameLength
;
LPWSTR
pszPassword
;
ULONG
ulPasswordLength
;
}
DAV_CALLBACK_AUTH_UNP
,
*
PDAV_CALLBACK_AUTH_UNP
;
typedef
struct
_DAV_CALLBACK_CRED
{
DAV_CALLBACK_AUTH_BLOB
AuthBlob
;
DAV_CALLBACK_AUTH_UNP
UNPBlob
;
BOOL
bAuthBlobValid
;
BOOL
bSave
;
}
DAV_CALLBACK_CRED
,
*
PDAV_CALLBACK_CRED
;
typedef
DWORD
(
*
PFNDAVAUTHCALLBACK_FREECRED
)
(
PVOID
);
typedef
DWORD
(
*
PFNDAVAUTHCALLBACK
)
(
LPWSTR
,
LPWSTR
,
DWORD
,
DWORD
,
PDAV_CALLBACK_CRED
,
AUTHNEXTSTEP
*
,
PFNDAVAUTHCALLBACK_FREECRED
*
);
OPAQUE_HANDLE
WINAPI
DavRegisterAuthCallback
(
PFNDAVAUTHCALLBACK
,
ULONG
);
VOID
WINAPI
DavUnregisterAuthCallback
(
OPAQUE_HANDLE
);
#endif
/* __WINE_DAVCLNT_H */
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