summaryrefslogtreecommitdiffstats
path: root/server/parser/xmlparser.h
Commit message (Collapse)AuthorAgeFilesLines
* server/parser: Added a simple string tokeniserDavid Sommerseth2012-11-081-0/+22
| | | | | | | This will be used to easier process an array of tables, where this array comes from a comma separated list in the configuration file. Signed-off-by: David Sommerseth <davids@redhat.com>
* Moved PostgreSQL related array function into pgsql.cDavid Sommerseth2011-10-071-1/+3
| | | | | | | | This is to put all PostgreSQL related functions in one place. Using the init_xmlparser() the function needed to format arrays are provided to the xmlparser code paths. Signed-off-by: David Sommerseth <davids@redhat.com>
* Introduce init_xmlparser() processDavid Sommerseth2011-10-071-0/+9
| | | | | | | This is the first step towards moving PostgreSQL specific parts out of xmlparser.c to make the xmlparser database backend agnostic. Signed-off-by: David Sommerseth <davids@redhat.com>
* Added function to extract and parse the new //sqldata/@schemaver attributeDavid Sommerseth2009-12-081-0/+1
| | | | | | This attribute defines which version of the SQL database schema which is needed for the SQL data found in the <sqldata/> document. This is to avoid SQL failures when inserting data which the database is not prepared for.
* First cut at implementing a generic loggerDavid Sommerseth2009-10-211-5/+5
|
* Corrected missing or misleading doxygen commentsDavid Sommerseth2009-10-211-9/+19
|
* Extended rtevalruns table to contain a submid fieldDavid Sommerseth2009-10-211-0/+1
| | | | | This new field references submissionqueue.submid, to keep a link between parsed rtevalruns and the original submission.
* Added doxygen comments for xmlparser.[ch] and pgsql.cDavid Sommerseth2009-10-121-1/+0
|
* Added db_register_rtevalrun()David Sommerseth2009-10-121-2/+2
| | | | | Registers report XML data into the rtevalruns and rtevalruns_details tables in the database.
* Added sqldataGetHostInfo()David Sommerseth2009-10-121-1/+2
| | | | | | This function parses the input report XML through the xmlparser.xsl XSLT template. It returns hostname and IP address via the function arguments and an sqldata XML document as the return value. On errors, NULL is returned.
* Refactored sqldataGetFid() and sqldataGetValue() functionsDavid Sommerseth2009-10-121-2/+2
| | | | | | | | sqldataGetFid() now takes xmlNode instead of xmlDoc, and sqldataGetValue() takes field name instead of numeric field id (fid) to simpilfy the API. Fixed a double-free bug caused by a missing strdup() in sqldataValueHas().
* Added some more useful functions to xmlparserDavid Sommerseth2009-10-091-0/+4
|
* Added needed pieces to make the C based summary.xml parser workDavid Sommerseth2009-10-071-0/+33