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
fb1695a2
Commit
fb1695a2
authored
Apr 12, 2019
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add missing includes, functions to qos2.h.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bfa5f38d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
qos2.h
include/qos2.h
+25
-1
No files found.
include/qos2.h
View file @
fb1695a2
...
@@ -19,11 +19,14 @@
...
@@ -19,11 +19,14 @@
#ifndef __WINE_QOS2_H__
#ifndef __WINE_QOS2_H__
#define __WINE_QOS2_H__
#define __WINE_QOS2_H__
#include <ws2tcpip.h>
#include <mstcpip.h>
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
typedef
U
INT32
QOS_FLOWID
;
typedef
U
LONG
QOS_FLOWID
,
*
P
QOS_FLOWID
;
typedef
enum
_QOS_SHAPING
{
typedef
enum
_QOS_SHAPING
{
QOSShapeOnly
,
QOSShapeOnly
,
...
@@ -93,6 +96,27 @@ typedef struct _QOS_VERSION {
...
@@ -93,6 +96,27 @@ typedef struct _QOS_VERSION {
USHORT
MinorVersion
;
USHORT
MinorVersion
;
}
QOS_VERSION
,
*
PQOS_VERSION
;
}
QOS_VERSION
,
*
PQOS_VERSION
;
#define QOS_OUTGOING_DEFAULT_MINIMUM_BANDWIDTH 0xFFFFFFFF
#define QOS_QUERYFLOW_FRESH 0x00000001
#define QOS_NON_ADAPTIVE_FLOW 0x00000002
BOOL
WINAPI
QOSAddSocketToFlow
(
HANDLE
handle
,
SOCKET
socket
,
PSOCKADDR
addr
,
QOS_TRAFFIC_TYPE
traffictype
,
DWORD
flags
,
PQOS_FLOWID
flowid
);
BOOL
WINAPI
QOSCancel
(
HANDLE
handle
,
LPOVERLAPPED
overlap
);
BOOL
WINAPI
QOSCloseHandle
(
HANDLE
handle
);
BOOL
WINAPI
QOSCreateHandle
(
PQOS_VERSION
version
,
PHANDLE
handle
);
BOOL
WINAPI
QOSEnumerateFlows
(
HANDLE
handle
,
PULONG
size
,
PVOID
buffer
);
BOOL
WINAPI
QOSNotifyFlow
(
HANDLE
handle
,
QOS_FLOWID
flowid
,
QOS_NOTIFY_FLOW
op
,
PULONG
size
,
PVOID
buffer
,
DWORD
flags
,
LPOVERLAPPED
overlap
);
BOOL
WINAPI
QOSQueryFlow
(
HANDLE
handle
,
QOS_FLOWID
flowid
,
QOS_QUERY_FLOW
op
,
PULONG
size
,
PVOID
buffer
,
DWORD
flags
,
LPOVERLAPPED
overlap
);
BOOL
WINAPI
QOSRemoveSocketFromFlow
(
HANDLE
handle
,
SOCKET
socket
,
QOS_FLOWID
flowid
,
DWORD
flags
);
BOOL
WINAPI
QOSSetFlow
(
HANDLE
handle
,
QOS_FLOWID
flowid
,
QOS_SET_FLOW
op
,
ULONG
size
,
PVOID
buffer
,
DWORD
flags
,
LPOVERLAPPED
overlap
);
BOOL
WINAPI
QOSStartTrackingClient
(
HANDLE
handle
,
PSOCKADDR
addr
,
DWORD
flags
);
BOOL
WINAPI
QOSStopTrackingClient
(
HANDLE
handle
,
PSOCKADDR
addr
,
DWORD
flags
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
...
...
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