- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Nebulous/nebclient/src/nebclient.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/Nebulous/nebclient/src/nebclient.h
r24289 r27839 38 38 39 39 typedef struct { 40 char so_id[256];///< storage object ID41 char ext_id[256];///< storage object key (name)42 char read_lock[256];///< read lock value40 long so_id; ///< storage object ID 41 long ext_id; ///< storage object key (name) 42 int read_lock; ///< read lock value 43 43 char write_lock[256]; ///< write lock value 44 44 char epoch[256]; ///< creation time stamp 45 45 char mtime[256]; ///< modification time stamp 46 int instances; ///< number of instances 46 int available; ///< number of available instances 47 int instances; ///< total number of instances 47 48 } nebObjectStat; 48 49 … … 295 296 nebObjectStat *nebStat( 296 297 nebServer *server, ///< nebServer object 297 const char *key /// storage object key (name) 298 const char *key ///< storage object key (name) 299 ); 300 301 302 /** Deallocates a stat object 303 */ 304 void nebObjectStatFree( 305 nebObjectStat *stat ///< nebObjectStat object 298 306 ); 299 307 … … 308 316 int nebChmod( 309 317 nebServer *server, ///< nebServer object 310 const char *key, /// storage object key (name) 311 mode_t mode /// chmod(2) compatible mode (mode_t) 318 const char *key, ///< storage object key (name) 319 mode_t mode ///< chmod(2) compatible mode (mode_t) 320 ); 321 322 /** Removes all of the inaccessible instances from an object 323 * 324 * @return the number of inaccessible instances removed 325 */ 326 327 int nebPrune( 328 nebServer *server, ///< nebServer object 329 const char *key ///< storage object key (name) 330 ); 331 332 /** Removes all but one instances of an object 333 * 334 * @return the number of available instances removed 335 */ 336 337 int nebThereCanBeOnlyOne( 338 nebServer *server, ///< nebServer object 339 const char *key, ///< storage object key (name) 340 const char *volume ///< leave remain instance on this volume 312 341 ); 313 342
Note:
See TracChangeset
for help on using the changeset viewer.
