mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
Finished off the basic Link Ranking system.
* added serialiser types. * finished streaming on p3ranking. * removed Bandwidth limitations from BinFile / BinMem. * added bytecount() to BinInterface. * moved the CacheTransfer creation to Startup. * added ranking to CacheStrapper & server tick() system. * Tweaked LinksDialog for final touches. * enabled downloads from Messages. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
925b1a780e
commit
2c69fd7eaf
19 changed files with 744 additions and 112 deletions
|
@ -212,11 +212,10 @@ const std::string LOCAL_CACHE_FILE_KEY = "LCF_NAME";
|
|||
const std::string LOCAL_CACHE_HASH_KEY = "LCF_HASH";
|
||||
const std::string LOCAL_CACHE_SIZE_KEY = "LCF_SIZE";
|
||||
|
||||
void filedexserver::setFileCallback(std::string ownId, CacheStrapper *strapper, NotifyBase *cb)
|
||||
void filedexserver::setFileCallback(std::string ownId, CacheStrapper *strapper, ftfiler *ft, NotifyBase *cb)
|
||||
{
|
||||
mCacheStrapper = strapper;
|
||||
|
||||
ftFiler = new ftfiler(mCacheStrapper);
|
||||
ftFiler = ft;
|
||||
|
||||
/* setup FiStore/Monitor */
|
||||
std::string localcachedir = config_dir + "/cache/local";
|
||||
|
|
|
@ -155,7 +155,8 @@ int FileStoreTick();
|
|||
int FileCacheSave();
|
||||
|
||||
void initialiseFileStore();
|
||||
void setFileCallback(std::string ownId, CacheStrapper *cs, NotifyBase *cb);
|
||||
void setFileCallback(std::string ownId, CacheStrapper *strapper,
|
||||
ftfiler *ft, NotifyBase *cb);
|
||||
|
||||
int RequestDirDetails(std::string uid, std::string path, DirDetails &details);
|
||||
int RequestDirDetails(void *ref, DirDetails &details, uint32_t flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue