]> git.datanom.net - caldav.git/blame - src/xml.h
Add TODO
[caldav.git] / src / xml.h
CommitLineData
e1b22e2b
MR
1/*
2 * xml.h
3 *
4 * Copyright 2017 Michael Rasmussen <mir@datanom.net>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22#ifndef __XML_H__
23#define __XML_H__
24
25#include <glib.h>
26#include <libxml/parser.h>
27#include "caldav.h"
28
29G_BEGIN_DECLS
30
31GSList* find_element(const gchar* element, const gchar* xml, const gchar* prefix, const gchar* ns_url);
32xmlNodePtr find_node_by_name(xmlNodePtr rootnode, const xmlChar* nodename, GSList** nodes);
33GSList* find_node(const gchar* node, const gchar* xml);
34GSList* find_calendars(const gchar* host_part, const gchar* xml);
35void dump_node(FILE* f, xmlDocPtr doc, xmlNodePtr node);
36void dump_nodes(gpointer data, gpointer user_data);
37void get_props(gpointer data, gpointer user_data);
38void set_debug_mode(gboolean mode);
39
40G_END_DECLS
41
42#endif
This page took 0.034733 seconds and 6 git commands to generate.