Changeset 42530 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Aug 2, 2012 12:11:44 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79703
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r42525 r42530 72 72 typedef std::vector <Utf8Str> ProcessArguments; 73 73 74 class GuestProcessStreamBlock; 75 74 76 75 77 /** … … 116 118 int mRC; 117 119 }; 120 118 121 119 122 /* … … 174 177 }; 175 178 179 176 180 /* 177 181 * Class representing a guest control process event. … … 207 211 }; 208 212 213 209 214 /** 210 215 * Simple structure mantaining guest credentials. … … 217 222 }; 218 223 224 219 225 typedef std::vector <Utf8Str> GuestEnvironmentArray; 220 226 class GuestEnvironment … … 259 265 260 266 std::map <Utf8Str, Utf8Str> mEnvironment; 267 }; 268 269 270 /** 271 * Structure representing information of a 272 * file system object. 273 */ 274 struct GuestFsObjData 275 { 276 /** Helper function to extract the data from 277 * a guest stream block. */ 278 int From(const GuestProcessStreamBlock &strmBlk); 279 280 int64_t mAccessTime; 281 int64_t mAllocatedSize; 282 int64_t mBirthTime; 283 int64_t mChangeTime; 284 uint32_t mDeviceNumber; 285 Utf8Str mFileAttrs; 286 uint32_t mGenerationID; 287 uint32_t mGID; 288 Utf8Str mGroupName; 289 uint32_t mNumHardLinks; 290 int64_t mModificationTime; 291 Utf8Str mName; 292 int64_t mNodeID; 293 uint32_t mNodeIDDevice; 294 int64_t mObjectSize; 295 FsObjType_T mType; 296 uint32_t mUID; 297 uint32_t mUserFlags; 298 Utf8Str mUserName; 299 Utf8Str mACL; 261 300 }; 262 301 … … 281 320 }; 282 321 322 283 323 /** 284 324 * Class representing the "value" side of a "key=value" pair. … … 313 353 public: 314 354 315 GuestProcessStreamBlock(); 316 317 //GuestProcessStreamBlock(GuestProcessStreamBlock &); 318 319 virtual ~GuestProcessStreamBlock(); 355 GuestProcessStreamBlock(void); 356 357 virtual ~GuestProcessStreamBlock(void); 320 358 321 359 public: … … 327 365 #endif 328 366 329 int GetInt64Ex(const char *pszKey, int64_t *piVal) ;330 331 int64_t GetInt64(const char *pszKey) ;332 333 size_t GetCount( );334 335 const char* GetString(const char *pszKey) ;336 337 int GetUInt32Ex(const char *pszKey, uint32_t *puVal) ;338 339 uint32_t GetUInt32(const char *pszKey) ;367 int GetInt64Ex(const char *pszKey, int64_t *piVal) const; 368 369 int64_t GetInt64(const char *pszKey) const; 370 371 size_t GetCount(void) const; 372 373 const char* GetString(const char *pszKey) const; 374 375 int GetUInt32Ex(const char *pszKey, uint32_t *puVal) const; 376 377 uint32_t GetUInt32(const char *pszKey) const; 340 378 341 379 int SetValue(const char *pszKey, const char *pszValue); -
trunk/src/VBox/Main/include/GuestFsObjInfoImpl.h
r42095 r42530 21 21 22 22 #include "VirtualBoxBase.h" 23 #include "GuestCtrlImplPrivate.h" 23 24 24 25 /** … … 78 79 private: 79 80 80 struct Data 81 { 82 LONG64 mAccessTime; 83 LONG64 mAllocatedSize; 84 LONG64 mBirthTime; 85 LONG64 mChangeTime; 86 ULONG mDeviceNumber; 87 Utf8Str mFileAttrs; 88 ULONG mGenerationID; 89 ULONG mGID; 90 Utf8Str mGroupName; 91 ULONG mNumHardLinks; 92 LONG64 mModificationTime; 93 Utf8Str mName; 94 LONG64 mNodeID; 95 ULONG mNodeIDDevice; 96 LONG64 mObjectSize; 97 FsObjType mType; 98 ULONG mUID; 99 ULONG mUserFlags; 100 Utf8Str mUserName; 101 Utf8Str mACL; 102 } mData; 81 GuestFsObjData mData; 103 82 }; 104 83 -
trunk/src/VBox/Main/include/GuestSessionImpl.h
r42525 r42530 127 127 int dispatchToProcess(uint32_t uContextID, uint32_t uFunction, void *pvData, size_t cbData); 128 128 int fileClose(ComObjPtr<GuestFile> pFile); 129 int fileQueryInfoInternal(const Utf8Str &strPath, GuestFsObjData &objData); 130 int fileQuerySizeInternal(const Utf8Str &strPath, int64_t *pllSize); 129 131 const GuestCredentials &getCredentials(void); 130 132 const GuestEnvironment &getEnvironment(void);
Note:
See TracChangeset
for help on using the changeset viewer.