Archived
1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2011-06-08 18:46:58 +02:00
commit b2df740514
19 changed files with 1640 additions and 0 deletions

25
rss.h Normal file
View file

@ -0,0 +1,25 @@
#ifndef RSS_ITEM_H
#define RSS_ITEM_H
#include <stddef.h>
typedef struct __rss* rss_t;
typedef struct __walk_info* rss_walk_info;
struct rss_item {
const char *title;
const char *link;
};
rss_t rss_parse(void *buf, size_t size);
void rss_free(rss_t r);
/* walking interface */
int rss_walk_next(rss_t rss, struct rss_item *item);
int rss_walk_reset(rss_t rss);
#endif