Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

mac_net.c File Reference

#include "../game/q_shared.h"
#include "../qcommon/qcommon.h"

Include dependency graph for mac_net.c:

Include dependency graph

Go to the source code of this file.

Functions

qboolean NET_StringToAdr (char *s, netadr_t *a)
qboolean Sys_GetPacket (netadr_t *net_from, msg_t *net_message)
void Sys_SendPacket (int length, void *data, netadr_t to)


Function Documentation

qboolean NET_StringToAdr char *  s,
netadr_t a
 

Definition at line 37 of file mac_net.c.

References a, memset(), qboolean, s, and strcmp().

00038 {   
00039     if (!strcmp (s, "localhost")) {
00040         memset (a, 0, sizeof(*a));
00041         a->type = NA_LOOPBACK;
00042         return true;
00043     }
00044 
00045     return false;
00046 }

Here is the call graph for this function:

qboolean Sys_GetPacket netadr_t net_from,
msg_t net_message
 

Definition at line 63 of file mac_net.c.

00063                                                                      {
00064     return false;
00065 }

void Sys_SendPacket int  length,
void *  data,
netadr_t  to
 

Definition at line 53 of file mac_net.c.

00053                                                            {
00054 }


Generated on Thu Aug 25 14:21:12 2005 for Quake III Arena by  doxygen 1.3.9.1