TDAP: add facility to protect usetable entries from being deleted while still needed.
[citadel.git] / citadel / modules / rssclient / rss_atom_parser.h
index 71278c7c24e4d2b7da87b00ae18bb06754336ec2..07df846f434e4ae7dc43541daa0c51b4097c49f2 100644 (file)
@@ -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;