src/client/sysdep_w32.h File Reference

#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#include <signal.h>

Include dependency graph for sysdep_w32.h:

Go to the source code of this file.

Data Structures

struct  passwd
struct  iovec
struct  sigaction

Defines

#define recv(sock, buffer, buf_size, flags)   w32_recv((sock), (buffer), (buf_size), (flags))
#define socket(family, sock_type, protocol)   w32_socket((family), (sock_type), (protocol))
#define connect(sock, addr, addrlen)   w32_connect((sock), (addr), (addrlen))
#define pclose   _pclose
#define popen   _popen
#define snprintf   _snprintf
#define getsose()   ((void)0)
#define putso()   ((void)0)
#define putse()   ((void)0)

Functions

int getopt (int, char *const [], const char *)
int w32_recv (int socket, char *buffer, size_t buf_size, int flags)
int w32_send (int socket, char *buffer, size_t buf_size, int flags)
int w32_close_socket (int fd)
int w32_socket (int family, int sock_type, int protocol)
int w32_connect (int sock, struct sockaddr *addr, int addrlen)
int w32_close_handle (int fd)
ssize_t w32_readv_handle (int fd, const struct iovec *iov, int iovcnt)
ssize_t w32_writev_socket (int fd, const struct iovec *iov, int iovcnt)
int w32_openfd (const char *fname, int oflag,...)
int w32_openhandle (const char *fname, int oflag)
passwdw32_getpw (void)
char * getpass (char *prompt)
void sysdep_init (void)

Variables

char * optarg
int optind
int opterr
int optopt


Define Documentation

#define connect ( sock,
addr,
addrlen   )     w32_connect((sock), (addr), (addrlen))

Definition at line 85 of file sysdep_w32.h.

Referenced by hostconnect().

#define getsose ( void   )     ((void)0)

Definition at line 91 of file sysdep_w32.h.

Referenced by main().

#define pclose   _pclose

Definition at line 88 of file sysdep_w32.h.

Referenced by servercmd().

#define popen   _popen

Definition at line 89 of file sysdep_w32.h.

Referenced by dopipe().

#define putse ( void   )     ((void)0)

Definition at line 93 of file sysdep_w32.h.

Referenced by outch().

#define putso ( void   )     ((void)0)

Definition at line 92 of file sysdep_w32.h.

Referenced by outch().

#define recv ( sock,
buffer,
buf_size,
flags   )     w32_recv((sock), (buffer), (buf_size), (flags))

Definition at line 81 of file sysdep_w32.h.

Referenced by posix_read().

#define snprintf   _snprintf

Definition at line 90 of file sysdep_w32.h.

Referenced by apro(), arm(), disarm(), info(), install_service(), sendcmd(), and servercmd().

#define socket ( family,
sock_type,
protocol   )     w32_socket((family), (sock_type), (protocol))

Definition at line 83 of file sysdep_w32.h.

Referenced by hostconnect(), posix_socket(), and tcp_listen().


Function Documentation

int getopt ( int  ,
char *  const[],
const char *   
)

Referenced by main().

char* getpass ( char *  prompt  ) 

Referenced by login().

void sysdep_init ( void   ) 

int w32_close_handle ( int  fd  ) 

int w32_close_socket ( int  fd  ) 

int w32_connect ( int  sock,
struct sockaddr *  addr,
int  addrlen 
)

struct passwd* w32_getpw ( void   )  [read]

int w32_openfd ( const char *  fname,
int  oflag,
  ... 
)

int w32_openhandle ( const char *  fname,
int  oflag 
)

ssize_t w32_readv_handle ( int  fd,
const struct iovec iov,
int  iovcnt 
)

int w32_recv ( int  socket,
char *  buffer,
size_t  buf_size,
int  flags 
)

int w32_send ( int  socket,
char *  buffer,
size_t  buf_size,
int  flags 
)

int w32_socket ( int  family,
int  sock_type,
int  protocol 
)

ssize_t w32_writev_socket ( int  fd,
const struct iovec iov,
int  iovcnt 
)


Variable Documentation

char* optarg

Referenced by main().

int opterr

int optind

Referenced by main().

int optopt


Generated on Fri Mar 28 11:01:34 2008 for empserver by  doxygen 1.5.2