From 131f5592347929c3d28a4a9406e242e2cfdd5db9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 19 Aug 2009 17:55:03 +0200 Subject: Write data to an XML file. File path for the XML file is read per channel from the 'xmlpath' option. --- channel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'channel.h') diff --git a/channel.h b/channel.h index 0335782..3f4e4cd 100644 --- a/channel.h +++ b/channel.h @@ -11,13 +11,14 @@ struct channel_file_t { struct channel_t { char *name; + char *xmlpath; struct channel_file_t *files; unsigned long hours[24*4]; }; void channel_init(); -struct channel_t *channel_add(const char *name); +struct channel_t *channel_add(const char *name, const char *xmlpath); struct channel_file_t *channel_file_add(struct channel_t *channel, const char *path, int rs_index); int channel_get_count(); struct channel_t *channel_get(int index); -- cgit v1.2.3