summaryrefslogtreecommitdiff
path: root/xml-parser.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 14:30:23 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 14:30:23 +0200
commit3462576fd6bc883c41042fb7ae93ebabb12718d8 (patch)
tree3a6e85717d93b375c5b46674894f4b44d2c961b3 /xml-parser.h
parentee8d3aa3f337cef3faae8d45c6e23ab05f380db8 (diff)
downloadcataract-3462576fd6bc883c41042fb7ae93ebabb12718d8.tar.xz
Support for different preview image borders
Strip trailing whitespaces
Diffstat (limited to 'xml-parser.h')
-rw-r--r--xml-parser.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/xml-parser.h b/xml-parser.h
index e130e5b..031bf6b 100644
--- a/xml-parser.h
+++ b/xml-parser.h
@@ -1,16 +1,16 @@
/* Cataract - Static web photo gallery generator
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
- *
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@@ -23,25 +23,25 @@
typedef struct {
xmlDocPtr doc;
- xmlXPathContextPtr xpathCtx;
+ xmlXPathContextPtr xpathCtx;
} TXMLFile;
/*
- * xml_parser_load: initialize and load the XML document
- */
+ * xml_parser_load: initialize and load the XML document
+ */
TXMLFile * xml_parser_load (const char *filename);
/*
- * xml_parser_close: close the XML document parser
- */
+ * xml_parser_close: close the XML document parser
+ */
void xml_parser_close (TXMLFile *file);
/*
* xml_file_get_node_value: retrieve string value from XPath node
- * - multiple matched nodes will be concatenated into one string
- * - otherwise please use [0], [1] etc. quantificators
+ * - multiple matched nodes will be concatenated into one string
+ * - otherwise please use [0], [1] etc. quantificators
*/
char * xml_file_get_node_value (TXMLFile *file, const char *x_path);