udapted vi.po
[rhythmbox.git] / podcast / rb-podcast-parse.h
blob96104715bfb10e845cca2b05554de228f8121917
1 /*
2 * arch-tag: Headfile of rss parse of podcast
4 * Copyright (C) 2005 Renato Araujo Oliveira Filho - INdT <renato.filho@indt.org.br>
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.
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.
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 St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef RB_PODCAST_PARSE_H
23 #define RB_PODCAST_PARSE_H
25 #include <glib.h>
27 typedef struct
29 xmlChar* title;
30 xmlChar* url;
31 xmlChar* description;
32 xmlChar* author;
33 uintmax_t pub_date;
34 gulong duration;
35 guint64 filesize;
36 }RBPodcastItem;
38 typedef struct
40 xmlChar* url;
41 xmlChar* title;
42 xmlChar* lang;
43 xmlChar* subtitle;
44 xmlChar* summary;
45 xmlChar* description;
46 xmlChar* author;
47 xmlChar* contact;
48 xmlChar* img;
49 uintmax_t pub_date;
50 xmlChar* copyright;
52 GList *posts;
53 }RBPodcastChannel;
55 gboolean rb_podcast_parse_load_feed (RBPodcastChannel *data, const char *file_name);
56 void rb_podcast_parse_channel_free (RBPodcastChannel *data);
57 void rb_podcast_parse_item_free (RBPodcastItem *data);
59 #endif /* RB_PODCAST_PARSE_H */