Home| base |src.lib|xml|xmldb| EntityDecodeBuffer Index

EntityDecodeBuffer

Syntax
struct XMLDBbuffer *EntityDecodeBuffer(struct Entitydata *ptr, struct XMLDBbuffer *src);
Header
base/entity.h
Library
rxmldb
Description

The EntityDecodeBuffer function decodes any entities found in a data stream and stores the processed data in a buffer.

The argument ptr points to the control structure. The data to process is stored in the text pointer to by the argument buf, and the number of bytes in the buffer is given by the argument sze.

Returns
Returns a pointer to the decoded buffer on success. On error, a NULL pointer is returned.
Errors
On error a NULL pointer is returned.
Example
None