pbem-server-interaction.cpp File Reference

#include "pbem-server-interaction.h"

Include dependency graph for pbem-server-interaction.cpp:

Go to the source code of this file.

Functions

size_t ASC_PBEM_writeInternal (void *inboundData, size_t size, size_t nmemb, void *vector)
 file: ASC_PBEM.cpp author: Jade Rogalski license: GPL warranty: none
int ASC_PBEM_writeBuffer (char *buffer, const char *source, int startPos, int bufferSize, int sourceSize)
size_t ASC_PBEM_readInternal (char *outboundBuffer, size_t size, size_t nitems, void *infoStruct)
int nmain (int argc, char *argv[])


Function Documentation

size_t ASC_PBEM_readInternal ( char *  outboundBuffer,
size_t  size,
size_t  nitems,
void *  infoStruct 
)

Definition at line 47 of file pbem-server-interaction.cpp.

References ASC_PBEM_writeBuffer(), ASC_PBEM_FileUploadControl::boundary, ASC_PBEM_FileUploadControl::data, ASC_PBEM_FileUploadControl::fileName, ASC_PBEM_FileUploadControl::parameters, ASC_PBEM_FileUploadControl::sent_step, ASC_PBEM_FileUploadControl::size, and ASC_PBEM_FileUploadControl::step.

int ASC_PBEM_writeBuffer ( char *  buffer,
const char *  source,
int  startPos,
int  bufferSize,
int  sourceSize 
)

Definition at line 35 of file pbem-server-interaction.cpp.

Referenced by ASC_PBEM_readInternal(), and ASC_PBEM::downloadGame().

size_t ASC_PBEM_writeInternal ( void *  inboundData,
size_t  size,
size_t  nmemb,
void *  vector 
)

file: ASC_PBEM.cpp author: Jade Rogalski license: GPL warranty: none

interface between the game asc by Marting Bickel, and the asc pbem server by Jade Rogalski

Definition at line 20 of file pbem-server-interaction.cpp.

int nmain ( int  argc,
char *  argv[] 
)

Definition at line 710 of file pbem-server-interaction.cpp.

References ASC_PBEM::getBody(), ASC_PBEM::getCurrentGamesInfo(), ASC_PBEM::getHeader(), ASC_PBEM::getStatusCode(), ASC_PBEM::isUsable(), ASC_PBEM::login(), and ASC_PBEM::logout().


Generated on Mon May 21 01:41:00 2012 for Advanced Strategic Command by  doxygen 1.5.1