diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c
index 14f4a36..6439245 100644
a
|
b
|
|
34 | 34 | |
35 | 35 | #include "parser.h" |
36 | 36 | |
| 37 | enum { |
| 38 | FEED_TYPE_NONE, |
| 39 | FEED_TYPE_RDF, |
| 40 | FEED_TYPE_RSS_20, |
| 41 | FEED_TYPE_ATOM_03, |
| 42 | FEED_TYPE_ATOM_10, |
| 43 | FEED_TYPE_OPML |
| 44 | } FeedTypes; |
| 45 | |
37 | 46 | static void _handler_set(XML_Parser parser, guint type) |
38 | 47 | { |
39 | 48 | if( parser == NULL ) |
diff --git a/src/plugins/rssyl/libfeed/parser.h b/src/plugins/rssyl/libfeed/parser.h
index f8cbb9a..02cd0e5 100644
a
|
b
|
gchar *feed_parser_get_attribute_value(const gchar **attr, const gchar *name); |
32 | 32 | int feed_parser_unknown_encoding_handler(void *encdata, const XML_Char *name, |
33 | 33 | XML_Encoding *info); |
34 | 34 | |
35 | | |
36 | | enum { |
37 | | FEED_TYPE_NONE, |
38 | | FEED_TYPE_RDF, |
39 | | FEED_TYPE_RSS_20, |
40 | | FEED_TYPE_ATOM_03, |
41 | | FEED_TYPE_ATOM_10, |
42 | | FEED_TYPE_OPML |
43 | | } FeedTypes; |
44 | | |
45 | 35 | #endif /* __PARSER_H */ |
diff --git a/src/plugins/rssyl/libfeed/parser_atom10.c b/src/plugins/rssyl/libfeed/parser_atom10.c
index 9cf4ffa..8f9f4d6 100644
a
|
b
|
|
29 | 29 | #include "parser.h" |
30 | 30 | #include "parser_atom10.h" |
31 | 31 | |
| 32 | enum { |
| 33 | FEED_LOC_ATOM10_NONE, |
| 34 | FEED_LOC_ATOM10_ENTRY, |
| 35 | FEED_LOC_ATOM10_AUTHOR, |
| 36 | FEED_LOC_ATOM10_SOURCE, |
| 37 | FEED_LOC_ATOM10_CONTENT |
| 38 | } FeedAtom10Locations; |
| 39 | |
32 | 40 | void feed_parser_atom10_start(void *data, const gchar *el, const gchar **attr) |
33 | 41 | { |
34 | 42 | FeedParserCtx *ctx = (FeedParserCtx *)data; |
diff --git a/src/plugins/rssyl/libfeed/parser_atom10.h b/src/plugins/rssyl/libfeed/parser_atom10.h
index 85e95b4..e3c71fb 100644
a
|
b
|
|
23 | 23 | void feed_parser_atom10_start(void *data, const char *el, const char **attr); |
24 | 24 | void feed_parser_atom10_end(void *data, const char *el); |
25 | 25 | |
26 | | enum { |
27 | | FEED_LOC_ATOM10_NONE, |
28 | | FEED_LOC_ATOM10_ENTRY, |
29 | | FEED_LOC_ATOM10_AUTHOR, |
30 | | FEED_LOC_ATOM10_SOURCE, |
31 | | FEED_LOC_ATOM10_CONTENT |
32 | | } FeedAtom10Locations; |
33 | | |
34 | 26 | #endif /* __PARSER_ATOM03_H */ |
diff --git a/src/plugins/rssyl/libfeed/parser_rdf.c b/src/plugins/rssyl/libfeed/parser_rdf.c
index d514bf0..77e1df5 100644
a
|
b
|
|
28 | 28 | #include "date.h" |
29 | 29 | #include "parser_rdf.h" |
30 | 30 | |
| 31 | enum { |
| 32 | FEED_LOC_RDF_NONE, |
| 33 | FEED_LOC_RDF_CHANNEL, |
| 34 | FEED_LOC_RDF_ITEM |
| 35 | } FeedRdfLocations; |
| 36 | |
31 | 37 | void feed_parser_rdf_start(void *data, const gchar *el, const gchar **attr) |
32 | 38 | { |
33 | 39 | FeedParserCtx *ctx = (FeedParserCtx *)data; |
diff --git a/src/plugins/rssyl/libfeed/parser_rdf.h b/src/plugins/rssyl/libfeed/parser_rdf.h
index 1c3809f..66299cb 100644
a
|
b
|
|
23 | 23 | void feed_parser_rdf_start(void *data, const char *el, const char **attr); |
24 | 24 | void feed_parser_rdf_end(void *data, const char *el); |
25 | 25 | |
26 | | enum { |
27 | | FEED_LOC_RDF_NONE, |
28 | | FEED_LOC_RDF_CHANNEL, |
29 | | FEED_LOC_RDF_ITEM |
30 | | } FeedRdfLocations; |
31 | | |
32 | 26 | #endif /* __PARSER_RDF_H */ |