X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Frssclient%2Frss_atom_parser.h;h=07df846f434e4ae7dc43541daa0c51b4097c49f2;hb=d262741cce924786b2de5f3f10f5470e5d45743e;hp=71278c7c24e4d2b7da87b00ae18bb06754336ec2;hpb=d04e4ad0b8ab9e5b71310030704d61b6eceb530b;p=citadel.git diff --git a/citadel/modules/rssclient/rss_atom_parser.h b/citadel/modules/rssclient/rss_atom_parser.h index 71278c7c2..07df846f4 100644 --- a/citadel/modules/rssclient/rss_atom_parser.h +++ b/citadel/modules/rssclient/rss_atom_parser.h @@ -66,9 +66,31 @@ typedef struct __networker_save_message { struct CtdlMessage Msg; StrBuf *MsgGUID; StrBuf *Message; - struct UseTable ut; + + StrBuf *author_email; + StrBuf *author_or_creator; + StrBuf *title; + StrBuf *description; + + StrBuf *link; + StrBuf *linkTitle; + + StrBuf *reLink; + StrBuf *reLinkTitle; } networker_save_message; +typedef struct RSSCfgLine RSSCfgLine; +struct RSSCfgLine { + StrBuf *Url; + time_t last_known_good; + RSSCfgLine *Next; +}; + +typedef struct __pRSSConfig { + const RSSCfgLine *pCfg; + long QRnumber; +}pRSSConfig; + struct rss_aggregator { AsyncIO IO; XML_Parser xp; @@ -80,7 +102,7 @@ struct rss_aggregator { time_t next_poll; StrBuf *Url; StrBuf *rooms; - long QRnumber; + pRSSConfig Cfg; HashList *OtherQRnumbers; StrBuf *CData;