add tick fn

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2008-06-06 23:39:05 +00:00
parent 96ce0a8eff
commit 5a2c0a27a2

View File

@ -106,6 +106,11 @@ class RsQblogItem; /* to populate maps of blogs */
*/ */
bool sort(void); bool sort(void);
/**
* updates attributes of connected peers
*/
void tick();
// ?? // ??
pqistreamer *createStreamer(std::string file, std::string src, bool reading); pqistreamer *createStreamer(std::string file, std::string src, bool reading);
@ -141,12 +146,14 @@ class RsQblogItem; /* to populate maps of blogs */
std::map<std::string, std::string> mPeerStatusSet; std::map<std::string, std::string> mPeerStatusSet;
/// contain usr and their blogs /// contain usr and their blogs
std::map< std::string, std::multimap<long int, std:: string> > mUsrBlogSet; std::map< std::string, std::multimap<long int, std:: string> > mUsrBlogSet;
//fills up above sets ///fills up above sets
std::list<RsQblogItem*> mBlogItems; std::list<RsQblogItem*> mBlogItems;
//how long to keep posts ///how long to keep posts
uint32_t mStorePeriod; uint32_t mStorePeriod;
// to track updates /// to track updates
bool mUpdated; bool mUpdated; //possibly useless in light of bottom variable
/// to see whether to update
bool mRepost;
/* /*
* load dummy data * load dummy data