minrss/xml.h
2021-08-02 11:41:15 -04:00

25 lines
464 B
C

typedef struct itemStruct itemStruct;
struct itemStruct {
char *title;
char *link;
char *description;
char *author;
char *categories;
char *comments;
char *enclosureUrl;
char *enclosureType;
unsigned long long enclosureLen;
char *guid;
char *pubDate;
char *sourceName;
char *sourceUrl;
itemStruct *next;
};
void freeItem(itemStruct *item);
int readDoc(
char *content,
const char *feedName,
void itemAction(itemStruct *, char const *chanTitle));