Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

palm/beam.h File Reference

interface to beaming functions More...

#include <appconfig.h>
#include <sections.h>

Go to the source code of this file.

Functions

int BeamSend (UInt8 *map_ptr) BEAM_SECTION
 beam a city record

void BeamRegister (void) BEAM_SECTION
 register to receive city records

Err BeamReceive (ExgSocketType *ptr)
 receive the city


Detailed Description

interface to beaming functions

Definition in file beam.h.


Function Documentation

Err BeamReceive ExgSocketType *    ptr
 

receive the city

Parameters:
ptr  the exchange manager data handle
Must be in the first code section, which is the reason for not having the section attribute.

Definition at line 75 of file beam.c.

References Char, _game_struct06a::cityname, CloseMyDB(), FindGameByName(), OpenMyDB(), SAVEGAMEVERSION, SetAutoSave(), UInt16, UInt32, UInt8, and _game_struct06a::version.

int BeamSend UInt8   map_ptr
 

beam a city record

Parameters:
map_ptr  a read only pointer to the city record
Returns:
-1 if the beaming failed

Definition at line 29 of file beam.c.

References _game_struct06a::cityname, GetCreatorID(), gMemSet, Int32, UInt32, and UInt8.

Referenced by BeamCityByName().


Generated on Mon Aug 30 19:44:17 2004 for pocketcity by doxygen1.2.18