* include/winsock2.h (int32): Remove typedef.
(SEVICETYPE): Add typedef. (struct _flowspec):Revise struct definition, Comment on types used for members.
This commit is contained in:
parent
335c87f94d
commit
c218361efa
@ -1,3 +1,10 @@
|
|||||||
|
2002-06-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/winsock2.h (int32): Remove typedef.
|
||||||
|
(SEVICETYPE): Add typedef.
|
||||||
|
(struct _flowspec):Revise struct definition, Comment
|
||||||
|
on types used for members.
|
||||||
|
|
||||||
2002-05-02 Danny Smith <dannysmith@users.sourceforge.net>
|
2002-05-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* include/winnt.h (EVENT_*, SEMAPHORE_*,MUTEX_*): Remove
|
* include/winnt.h (EVENT_*, SEMAPHORE_*,MUTEX_*): Remove
|
||||||
|
@ -659,19 +659,28 @@ typedef enum
|
|||||||
GuaranteedService
|
GuaranteedService
|
||||||
} GUARANTEE;
|
} GUARANTEE;
|
||||||
|
|
||||||
typedef long int32;
|
/* TODO: FLOWSPEC and related definitions belong in qos.h */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Windows Sockets 2 Application Programming Interface,
|
||||||
|
revision 2.2.2 (1997) uses the type uint32 for SERVICETYPE
|
||||||
|
and the elements of _flowspec, but the type uint32 is not defined
|
||||||
|
or used anywhere else in the w32api. For now, just use
|
||||||
|
unsigned int, which is 32 bits on _WIN32 and _WIN64.
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef unsigned int SERVICETYPE;
|
||||||
typedef struct _flowspec
|
typedef struct _flowspec
|
||||||
{
|
{
|
||||||
int32 TokenRate;
|
unsigned int TokenRate;
|
||||||
int32 TokenBucketSize;
|
unsigned int TokenBucketSize;
|
||||||
int32 PeakBandwidth;
|
unsigned int PeakBandwidth;
|
||||||
int32 Latency;
|
unsigned int Latency;
|
||||||
int32 DelayVariation;
|
unsigned int DelayVariation;
|
||||||
GUARANTEE LevelOfGuarantee;
|
SERVICETYPE ServiceType;
|
||||||
int32 CostOfCall;
|
unsigned int MaxSduSize;
|
||||||
int32 NetworkAvailability;
|
unsigned int MinimumPolicedSize;
|
||||||
} FLOWSPEC, *LPFLOWSPEC;
|
} FLOWSPEC, *PFLOWSPEC, *LPFLOWSPEC;
|
||||||
|
|
||||||
typedef struct _QualityOfService
|
typedef struct _QualityOfService
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user