nspapi.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
/* NSPAPI.H -- winsock 1.1
* not supported on win95
*
* Copyright (C) 2001 Stefan Leichter
*
* 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
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef _WINE_NSPAPI_
#define _WINE_NSPAPI_
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/*
* constants
*/
#define XP_CONNECTIONLESS 0x00000001
#define XP_GUARANTEED_DELIVERY 0x00000002
#define XP_GUARANTEED_ORDER 0x00000004
#define XP_MESSAGE_ORIENTED 0x00000008
#define XP_PSEUDO_STREAM 0x00000010
#define XP_GRACEFUL_CLOSE 0x00000020
#define XP_EXPEDITED_DATA 0x00000040
#define XP_CONNECT_DATA 0x00000080
#define XP_DISCONNECT_DATA 0x00000100
#define XP_SUPPORTS_BROADCAST 0x00000200
#define XP_SUPPORTS_MULTICAST 0x00000400
#define XP_BANDWITH_ALLOCATION 0x00000800
#define XP_FRAGMENTATION 0x00001000
#define XP_ENCRYPTS 0x00002000
/*
* structures
*/
typedef struct _PROTOCOL_INFOA
{
typedef struct _PROTOCOL_INFOW
{
typedef struct _SERVICE_ADDRESS
{
typedef struct _SERVICE_ADDRESSES
{
typedef struct _SERVICE_INFOA
{
typedef struct _SERVICE_INFOW
{
typedef struct _SERVICE_TYPE_VALUE_ABSA
{
typedef struct _SERVICE_TYPE_VALUE_ABSW
{
typedef struct _SERVICE_TYPE_INFO_ABSA
{
typedef struct _SERVICE_TYPE_INFO_ABSW
{
typedef struct _SERVICE_ASYNC_INFO
{
/*
* function prototypes
*/
INT WINAPI SetServiceA(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSERVICE_INFOA lpServiceInfo,
INT WINAPI SetServiceW(DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSERVICE_INFOW lpServiceInfo,
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* _WINE_NSPAPI_ */