Changeset 2283 for box/trunk/bin/bbackupquery/BackupQueries.h
- Timestamp:
- 13/09/2008 16:31:26 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbackupquery/BackupQueries.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupquery/BackupQueries.h
r2263 r2283 31 31 { 32 32 public: 33 BackupQueries(BackupProtocolClient &rConnection, const Configuration &rConfiguration); 33 BackupQueries(BackupProtocolClient &rConnection, 34 const Configuration &rConfiguration, 35 bool readWrite); 34 36 ~BackupQueries(); 35 37 private: … … 55 57 void CommandRestore(const std::vector<std::string> &args, const bool *opts); 56 58 void CommandUndelete(const std::vector<std::string> &args, const bool *opts); 59 void CommandDelete(const std::vector<std::string> &args, 60 const bool *opts); 57 61 void CommandUsage(); 58 void CommandUsageDisplayEntry(const char *Name, int64_t Size, int64_t HardLimit, int32_t BlockSize); 62 void CommandUsageDisplayEntry(const char *Name, int64_t Size, 63 int64_t HardLimit, int32_t BlockSize); 59 64 void CommandHelp(const std::vector<std::string> &args); 60 65 61 66 // Implementations 62 void List(int64_t DirID, const std::string &rListRoot, const bool *opts, bool FirstLevel); 67 void List(int64_t DirID, const std::string &rListRoot, const bool *opts, 68 bool FirstLevel); 63 69 64 70 public: … … 106 112 107 113 // Utility functions 108 int64_t FindDirectoryObjectID(const std::string &rDirName, bool AllowOldVersion = false, 109 bool AllowDeletedDirs = false, std::vector<std::pair<std::string, int64_t> > *pStack = 0); 114 int64_t FindDirectoryObjectID(const std::string &rDirName, 115 bool AllowOldVersion = false, bool AllowDeletedDirs = false, 116 std::vector<std::pair<std::string, int64_t> > *pStack = 0); 117 int64_t FindFileID(const std::string& rNameOrIdString, 118 const bool *opts, int64_t *pDirIdOut, 119 std::string* pFileNameOut, int16_t flagsInclude, 120 int16_t flagsExclude, int16_t* pFlagsOut); 110 121 int64_t GetCurrentDirectoryID(); 111 122 std::string GetCurrentDirectoryName(); … … 113 124 114 125 private: 126 bool mReadWrite; 115 127 BackupProtocolClient &mrConnection; 116 128 const Configuration &mrConfiguration;
Note: See TracChangeset
for help on using the changeset viewer.
