47 #ifndef CCXX_MISSING_H_
51 #ifndef CCXX_THREAD_H_
59 #ifdef CCXX_NAMESPACES
77 enum {
TAG, CDATA, COMMENT, DTD, AMP, NONE} state;
80 bool parseChunk(
const char *chunk,
size_t len);
99 virtual bool open(
const char *resource);
105 virtual void close(
void);
121 virtual void comment(
const unsigned char *text,
size_t len);
130 virtual int read(
unsigned char *buffer,
size_t len) = 0;
139 virtual void characters(
const unsigned char *text,
size_t len) = 0;
144 virtual void startDocument(
void);
149 virtual void endDocument(
void);
157 virtual void startElement(
const unsigned char *name,
const unsigned char **attr) = 0;
164 virtual void endElement(
const unsigned char *name) = 0;
172 bool parse(
const char *resource = NULL);
188 std::stringstream strBuf;
208 virtual bool post(
const char *resource,
const char *msg) = 0;
213 void begStruct(
void);
223 XMLRPC(
size_t bufferSize = 512);
245 void invoke(
const char *method);
252 void response(
bool fault);
259 void addParam(
bool value);
267 void addMember(
const char *name,
bool value);
274 void addParam(
long value);
282 void addMember(
const char *name,
long value);
289 void addParam(
const char *
string);
297 void addMember(
const char *name,
const char *value);
302 void endStruct(
void);
310 bool send(
const char *resource);
321 #ifdef CCXX_NAMESPACES
This class impliments a basic XML stream parser that can be used to examine an XML resource thru virt...
substitute functions which may be missing in target platform libc.
Synchronization and threading services.
std::strstream * oldStrBuf
This class impliments a core XMLRPC service without the underlying transports.
System logging facilities abstraction.