Project Alice
Loading...
Searching...
No Matches
pcp_win_defines.h File Reference
#include <time.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <ws2ipdef.h>
#include <winbase.h>
#include "stdint.h"
Include dependency graph for pcp_win_defines.h:

Go to the source code of this file.

Macros

#define sleep(x)   Sleep((x) * 1000)
 
#define inet_ntop   pcp_inet_ntop
 
#define ssize_t   SSIZE_T
 
#define strdup   _strdup
 
#define getpid   GetCurrentProcessId
 
#define snprintf   _snprintf
 
#define MSG_DONTWAIT   0x0
 

Typedefs

typedef uint16_t in_port_t
 

Functions

int gettimeofday (struct timeval *tv, struct timezone *tz)
 

Macro Definition Documentation

◆ getpid

#define getpid   GetCurrentProcessId

Definition at line 77 of file pcp_win_defines.h.

◆ inet_ntop

#define inet_ntop   pcp_inet_ntop

Definition at line 71 of file pcp_win_defines.h.

◆ MSG_DONTWAIT

#define MSG_DONTWAIT   0x0

Definition at line 83 of file pcp_win_defines.h.

◆ sleep

#define sleep (   x)    Sleep((x) * 1000)

Definition at line 36 of file pcp_win_defines.h.

◆ snprintf

#define snprintf   _snprintf

Definition at line 79 of file pcp_win_defines.h.

◆ ssize_t

#define ssize_t   SSIZE_T

Definition at line 74 of file pcp_win_defines.h.

◆ strdup

#define strdup   _strdup

Definition at line 75 of file pcp_win_defines.h.

Typedef Documentation

◆ in_port_t

typedef uint16_t in_port_t

Definition at line 42 of file pcp_win_defines.h.

Function Documentation

◆ gettimeofday()

int gettimeofday ( struct timeval *  tv,
struct timezone tz 
)

Definition at line 49 of file pcp_gettimeofday.c.

Here is the caller graph for this function: