blob: 92e81a1503873e6694944682e605b2e0305ae8d8 [file] [log] [blame]
Stefan Leichter73db9002001-01-12 23:15:54 +00001/* NSPAPI.H -- winsock 1.1
2 * not supported on win95
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00003 *
4 * Copyright (C) 2001 Stefan Leichter
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Stefan Leichter73db9002001-01-12 23:15:54 +000019 */
20
21#ifndef _WINE_NSPAPI_
22#define _WINE_NSPAPI_
23
24#include "windef.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif /* defined(__cplusplus) */
29/*
30 * constants
31 */
32#define XP_CONNECTIONLESS 0x00000001
33#define XP_GUARANTEED_DELIVERY 0x00000002
34#define XP_GUARANTEED_ORDER 0x00000004
35#define XP_MESSAGE_ORIENTED 0x00000008
36#define XP_PSEUDO_STREAM 0x00000010
37#define XP_GRACEFUL_CLOSE 0x00000020
38#define XP_EXPEDITED_DATA 0x00000040
39#define XP_CONNECT_DATA 0x00000080
40#define XP_DISCONNECT_DATA 0x00000100
41#define XP_SUPPORTS_BROADCAST 0x00000200
42#define XP_SUPPORTS_MULTICAST 0x00000400
43#define XP_BANDWITH_ALLOCATION 0x00000800
44#define XP_FRAGMENTATION 0x00001000
45#define XP_ENCRYPTS 0x00002000
46
47/*
48 * structures
49 */
Vincent Béron9a624912002-05-31 23:06:46 +000050typedef struct _PROTOCOL_INFOA
Stefan Leichter73db9002001-01-12 23:15:54 +000051{
52 DWORD dwServiceFlags;
53 INT iAddressFamily;
54 INT iMaxSockAddr;
55 INT iMinSockAddr;
56 INT iSocketType;
57 INT iProtocol;
58 DWORD dwMessageSize;
59 LPSTR lpProtocol;
60} PROTOCOL_INFOA;
61
Vincent Béron9a624912002-05-31 23:06:46 +000062typedef struct _PROTOCOL_INFOW
Stefan Leichter73db9002001-01-12 23:15:54 +000063{
64 DWORD dwServiceFlags;
65 INT iAddressFamily;
66 INT iMaxSockAddr;
67 INT iMinSockAddr;
68 INT iSocketType;
69 INT iProtocol;
70 DWORD dwMessageSize;
71 LPWSTR lpProtocol;
72} PROTOCOL_INFOW;
73
74
75/*
76 * function prototypes
77 */
78
79
80
81#ifdef __cplusplus
82} /* extern "C" */
83#endif /* defined(__cplusplus) */
84
85#endif /* _WINE_NSPAPI_ */