mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
Share Flags
- own directory browsing is now done through FileIndexMonitor. This allows: - to browse shared directories independently of their flags - to update files as they get hashed (yeah!) - still to do: - turtle requests should respect the share flags git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4157321000
commit
792ddf1d25
6 changed files with 228 additions and 47 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <list>
|
||||
#include <vector>
|
||||
#include <stdint.h>
|
||||
#include <rsiface/rstypes.h>
|
||||
|
||||
class ostream;
|
||||
|
||||
|
@ -225,6 +226,8 @@ class FileIndex
|
|||
int searchHash(std::string hash, std::list<FileEntry *> &results) const;
|
||||
int searchBoolExp(Expression * exp, std::list<FileEntry *> &results) const;
|
||||
|
||||
/* browse thru directories */
|
||||
int RequestDirDetails(void *ref, DirDetails &details, uint32_t flags) const;
|
||||
PersonEntry *root;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue