Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_CxSchemeOps Struct Reference

Scheme operations structure. More...

#include <libcomprex/module.h>


Data Fields

CxStatus(* get )(const char *scheme, const char *path, const char *outFilename)
 Retrieves a file from a non-local source.

char(* supports )(const char *scheme)
 Determines if the module supports the specified scheme.


Detailed Description

Scheme operations structure.

This structure is to be filled out by all modules that handle the retrieval of files from non-local locations.

See also:
CxModuleType

CxArchiveOps


Field Documentation

CxStatus(* _CxSchemeOps::get)(const char *scheme, const char *path, const char *outFilename)
 

Retrieves a file from a non-local source.

Parameters:
scheme The scheme part of the URI.
path The path part of the URI.
outFilename The destination filename.
Returns:
The status of the operation.

char(* _CxSchemeOps::supports)(const char *scheme)
 

Determines if the module supports the specified scheme.

Parameters:
scheme The URI scheme to check.
Returns:
1 if the scheme is supported; 0 otherwise.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 5 20:47:44 2003 for libcomprex by doxygen1.2.18-20021020