*
*/
+#include "internet_addressing.h"
#define RSS_UNSET (1<<0)
#define RSS_RSS (1<<1)
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 {
+ RSSCfgLine *next;
+ StrBuf *Url;
+ time_t last_known_good;
+};
+
+typedef struct __pRSSConfig {
+ const RSSCfgLine *pCfg;
+ long QRnumber;
+}pRSSConfig;
+
struct rss_aggregator {
AsyncIO IO;
XML_Parser xp;
time_t next_poll;
StrBuf *Url;
StrBuf *rooms;
- long QRnumber;
+ pRSSConfig Cfg;
HashList *OtherQRnumbers;
StrBuf *CData;
StrBuf *Key;
rss_item *Item;
- struct recptypes recp;
+ recptypes recp;
HashPos *Pos;
HashList *Messages;
networker_save_message *ThisMsg;