[pkg-wine-party] [wine] 302/314: davclnt: Add stub dll.

Michael Gilbert mgilbert at moszumanska.debian.org
Sat Jul 11 04:21:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit b8fc901d5c970a8441cea981261d1790d0ce798c
Author: Austin English <austinenglish at gmail.com>
Date:   Tue Jul 7 11:28:35 2015 -0500

    davclnt: Add stub dll.
---
 configure                 |  2 ++
 configure.ac              |  1 +
 dlls/davclnt/Makefile.in  |  4 ++++
 dlls/davclnt/davclnt.spec | 23 +++++++++++++++++++++++
 dlls/davclnt/main.c       | 40 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 70 insertions(+)

diff --git a/configure b/configure
index ebaa38c..91e1f67 100755
--- a/configure
+++ b/configure
@@ -1022,6 +1022,7 @@ enable_d3dx9_41
 enable_d3dx9_42
 enable_d3dx9_43
 enable_d3dxof
+enable_davclnt
 enable_dbgeng
 enable_dbghelp
 enable_dciman32
@@ -17197,6 +17198,7 @@ wine_fn_config_dll d3dx9_42 enable_d3dx9_42
 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
+wine_fn_config_dll davclnt enable_davclnt
 wine_fn_config_dll dbgeng enable_dbgeng implib
 wine_fn_config_dll dbghelp enable_dbghelp implib
 wine_fn_config_dll dciman32 enable_dciman32 implib
diff --git a/configure.ac b/configure.ac
index fa58592..3eaec29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2894,6 +2894,7 @@ WINE_CONFIG_DLL(d3dx9_42)
 WINE_CONFIG_DLL(d3dx9_43)
 WINE_CONFIG_DLL(d3dxof,,[clean,implib])
 WINE_CONFIG_TEST(dlls/d3dxof/tests)
+WINE_CONFIG_DLL(davclnt)
 WINE_CONFIG_DLL(dbgeng,,[implib])
 WINE_CONFIG_DLL(dbghelp,,[implib])
 WINE_CONFIG_DLL(dciman32,,[implib])
diff --git a/dlls/davclnt/Makefile.in b/dlls/davclnt/Makefile.in
new file mode 100644
index 0000000..73af482
--- /dev/null
+++ b/dlls/davclnt/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = davclnt.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/davclnt/davclnt.spec b/dlls/davclnt/davclnt.spec
new file mode 100644
index 0000000..996a595
--- /dev/null
+++ b/dlls/davclnt/davclnt.spec
@@ -0,0 +1,23 @@
+@ stub DavCancelConnectionsToServer
+@ stub DavFreeUsedDiskSpace
+@ stub DavGetDiskSpaceUsage
+@ stub DavGetTheLockOwnerOfTheFile
+@ stub DavInvalidateCache
+@ stub DavRegisterAuthCallback
+@ stub DavUnregisterAuthCallback
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stdcall -private DllMain(long long ptr)
+@ stub NPAddConnection3
+@ stub NPAddConnection
+@ stub NPCancelConnection
+@ stub NPCloseEnum
+@ stub NPEnumResource
+@ stub NPFormatNetworkName
+@ stub NPGetCaps
+@ stub NPGetConnection
+@ stub NPGetResourceInformation
+@ stub NPGetResourceParent
+@ stub NPGetUniversalName
+@ stub NPGetUser
+@ stub NPOpenEnum
diff --git a/dlls/davclnt/main.c b/dlls/davclnt/main.c
new file mode 100644
index 0000000..099b915
--- /dev/null
+++ b/dlls/davclnt/main.c
@@ -0,0 +1,40 @@
+/*
+ * WebDav Client
+ *
+ * Copyright 2015 Austin English
+ *
+ * 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
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(instance);
+            break;
+    }
+
+    return TRUE;
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list