main/ipclient.h File Reference

#include <stdio.h>
#include <stdarg.h>
#include "types.h"
#include "ipx.h"
#include "ipx_drv.h"

Defines

#define MSGHDR   "IPX_ip: "
#define FAIL(m...)   do { msg(#m); return -1; } while (0)

Functions

void ip_sendtoall (char *buf, int len)
int ip_connect_manual (char *textaddr)
int arch_ip_get_my_addr (ushort myport)
int arch_ip_open_socket (int port)
void arch_ip_close_socket (void)
int arch_ip_recvfrom (char *outbuf, int outbufsize, struct ipx_recv_data *rd)
int arch_ip_PacketReady (void)
int arch_ip_queryhost (ip_addr *addr, char *buf, ushort baseport)
int ipx_ip_GetMyAddress (void)
static void msg (const char *fmt,...)
static void chk (void *p)

Variables

int myport
int baseport

Define Documentation

#define FAIL m...   )     do { msg(#m); return -1; } while (0)
 

#define MSGHDR   "IPX_ip: "
 


Function Documentation

void arch_ip_close_socket void   ) 
 

int arch_ip_get_my_addr ushort  myport  ) 
 

int arch_ip_open_socket int  port  ) 
 

int arch_ip_PacketReady void   ) 
 

int arch_ip_queryhost ip_addr addr,
char *  buf,
ushort  baseport
 

int arch_ip_recvfrom char *  outbuf,
int  outbufsize,
struct ipx_recv_data rd
 

static void chk void *  p  )  [inline, static]
 

int ip_connect_manual char *  textaddr  ) 
 

void ip_sendtoall char *  buf,
int  len
 

int ipx_ip_GetMyAddress void   ) 
 

static void msg const char *  fmt,
  ...
[inline, static]
 


Variable Documentation

int baseport
 

int myport
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6