diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-19 17:55:03 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-19 17:55:03 +0200 |
commit | 131f5592347929c3d28a4a9406e242e2cfdd5db9 (patch) | |
tree | a7434fb93b1856665c34380a77f655a54bae0332 /channel.h | |
parent | 44f3e1486fb5fd45644683af83aaaf27047e4250 (diff) |
Write data to an XML file.
File path for the XML file is read per channel from the 'xmlpath'
option.
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |