1 /* 2 * Copyright (C) 2006 Andrej Kacian <andrej@kacian.sk> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 of the 7 * License, or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public 15 * License along with this program; if not, write to the 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 * Boston, MA 02111-1307, USA. 18 */ 19 20 #ifndef __PARSER_H 21 22 #include "feed.h" 23 #include "parser_rss20.h" 24 #include "parser_rdf.h" 25 #include "parser_atom10.h" 26 27 void libfeed_expat_chparse(void *data, const gchar *s, gint len); 28 void feed_parser_set_expat_handlers(FeedParserCtx *ctx); 29 size_t feed_writefunc(void *ptr, size_t size, size_t nmemb, void *stream); 30 gchar *feed_parser_get_attribute_value(const gchar **attr, const gchar *name); 31 32 int feed_parser_unknown_encoding_handler(void *encdata, const XML_Char *name, 33 XML_Encoding *info); 34 35 #endif /* __PARSER_H */ 36