OSDLUtils.cc File Reference

#include "OSDLUtils.h"
#include "OSDLEmbeddedFileSystemManager.h"
#include "Ceylan.h"
#include <cstdio>
Include dependency graph for OSDLUtils.cc:

Go to the source code of this file.

Functions

static int seekCallback (DataStream *datastream, int offset, int whence)
 Callback section for all kinds of Ceylan::System::File.
static int readCallback (DataStream *datastream, void *buffer, int chunkSize, int chunkCount)
 Callback for read operations.
static int writeCallback (DataStream *datastream, const void *buffer, int chunkSize, int chunkCount)
 Callback for write operations.
static int closeCallback (DataStream *datastream)
 Callback for close operations.

Function Documentation

static int closeCallback ( DataStream *  datastream  )  [static]

Callback for close operations.

Note:
No exception can be raised here, only using LogPlug.

Definition at line 380 of file OSDLUtils.cc.

Referenced by OSDL::Utils::createDataStreamFrom().

static int readCallback ( DataStream *  datastream,
void *  buffer,
int  chunkSize,
int  chunkCount 
) [static]

Callback for read operations.

Note:
No exception can be raised here, only using LogPlug.

Definition at line 278 of file OSDLUtils.cc.

Referenced by OSDL::Utils::createDataStreamFrom().

static int seekCallback ( DataStream *  datastream,
int  offset,
int  whence 
) [static]

Callback section for all kinds of Ceylan::System::File.

Useful to integrate to specific libraries.

Note:
Not in Ceylan as this library must not depend on SDL, and SDL_RWops is needed here. Callback for seek operations.
No exception can be raised here, only using LogPlug.

Definition at line 190 of file OSDLUtils.cc.

Referenced by OSDL::Utils::createDataStreamFrom().

static int writeCallback ( DataStream *  datastream,
const void *  buffer,
int  chunkSize,
int  chunkCount 
) [static]

Callback for write operations.

Note:
No exception can be raised here, only using LogPlug.

Definition at line 332 of file OSDLUtils.cc.

Referenced by OSDL::Utils::createDataStreamFrom().

Generated on Mon Nov 29 14:05:04 2010 for OSDL by  doxygen 1.6.3