Main Page | Modules | Data Structures | File List | Data Fields

XML Processing
[State Daemon]


Typedefs

typedef enum smd_xml_source_type_e smd_xml_source_type_e

Enumerations

enum  smd_xml_source_type_e { SMD_XML_SOURCE_PVD, SMD_XML_SOURCE_HTTPD, SMD_XML_SOURCE_POST }

Functions

sul_error_tsmd_xml_initialize (apr_pool_t *pool)
sul_error_tsmd_xml_distribute (sul_cfg_block_t *data, const char *source, sos_fs_txn_t *txn, apr_hash_t *properties, apr_pool_t *pool)

Typedef Documentation

typedef enum smd_xml_source_type_e smd_xml_source_type_e
 

Defines the source of a XML data in the system. This helps systems that have hooked the XML doc signal to determine if they'd like to operate on the data or just ignore the data.


Enumeration Type Documentation

enum smd_xml_source_type_e
 

Defines the source of a XML data in the system. This helps systems that have hooked the XML doc signal to determine if they'd like to operate on the data or just ignore the data.

Enumeration values:
SMD_XML_SOURCE_PVD  XML data is from a PVD probe done on a specific computer. See mod_pvd for more information.
SMD_XML_SOURCE_HTTPD  Posted from an external source. Much like a PVD probe but less frequent and containing more arbitrary data.
SMD_XML_SOURCE_POST  Posted from an external source. Much like a PVD probe but less frequent and containing more arbitrary data.


Function Documentation

sul_error_t* smd_xml_distribute sul_cfg_block_t data,
const char *  source,
sos_fs_txn_t txn,
apr_hash_t *  properties,
apr_pool_t *  pool
 

Signals smd_xml_doc with the given XML context. Please see the documentation of the smd_xml_context_t structure.

Parameters:
data 
source 
txn 
properties 
pool 
Returns:
An sul_error_t instance if an error occured and NULL otherwise.

sul_error_t* smd_xml_initialize apr_pool_t *  pool  ) 
 

Initializes the XML system for State. This function MUST be called before any attempts to hook smd_xml_doc signals or use any XML parser code.

Parameters:
pool Pool to allocate overhead from.
Returns:
An sul_error_t instance if an error occured and NULL otherwise.


Generated on Wed Apr 28 09:38:38 2004 for State by doxygen 1.3.5