wsdapi: Add wsdapi_internal.h for shared internal function and macro definitions.

Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Owen Rudge 2018-03-19 21:46:01 +00:00 committed by Alexandre Julliard
parent 670622b8fb
commit 597130d829
3 changed files with 37 additions and 11 deletions

View File

@ -22,12 +22,8 @@
#define COBJMACROS
#include "winsock2.h"
#include "ws2tcpip.h"
#include "windef.h"
#include "winbase.h"
#include "wsdapi_internal.h"
#include "wine/debug.h"
#include "wsdapi.h"
WINE_DEFAULT_DEBUG_CHANNEL(wsdapi);

View File

@ -0,0 +1,35 @@
/*
* Web Services on Devices
* Internal header
*
* Copyright 2017-2018 Owen Rudge 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_WSDAPI_INTERNAL_H
#define _WINE_WSDAPI_INTERNAL_H
#include "winsock2.h"
#include "ws2tcpip.h"
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "wsdapi.h"
#include "wine/list.h"
#define WSD_MAX_TEXT_LENGTH 8192
#endif

View File

@ -22,16 +22,11 @@
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "wsdapi_internal.h"
#include "wine/debug.h"
#include "wine/list.h"
#include "wsdapi.h"
WINE_DEFAULT_DEBUG_CHANNEL(wsdapi);
#define WSD_MAX_TEXT_LENGTH 8192
static LPWSTR duplicate_string(void *parentMemoryBlock, LPCWSTR value)
{
int valueLen;