Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
dlight/rss.h
Henrik Hautakoski b2df740514 Initial commit
2011-09-21 17:13:28 +02:00

25 lines
380 B
C

#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