home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / include / pvfs2-dist-varstrip.h < prev    next >
C/C++ Source or Header  |  2005-07-13  |  871b  |  38 lines

  1. /*
  2.  * (C) 2005 Tobias Eberle <tobias.eberle@gmx.de>
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */       
  6.  
  7. #ifndef  __PVFS2_DIST_VARSTRIP_H 
  8. #define  __PVFS2_DIST_VARSTRIP_H 
  9.  
  10. /* Identifier to use when looking up this distribution */
  11. #define PVFS_DIST_VARSTRIP_NAME "varstrip_dist"
  12. #define PVFS_DIST_VARSTRIP_NAME_SIZE 14
  13.  
  14. #define PVFS_DIST_VARSTRIP_MAX_STRIPS_STRING_LENGTH 1025
  15. struct PVFS_varstrip_params_s {
  16.     /*
  17.      * format:
  18.      * "node number:size;node number:size"
  19.      * example: "0:512;1:512"
  20.      * results in: node number 0: 0-511
  21.      *             node number 1: 512-1023
  22.      * size is in bytes
  23.      */
  24.     char strips[PVFS_DIST_VARSTRIP_MAX_STRIPS_STRING_LENGTH];
  25. };
  26. typedef struct PVFS_varstrip_params_s PVFS_varstrip_params;
  27.  
  28. #endif
  29.  
  30. /*
  31.  * Local variables:
  32.  *  c-indent-level: 4
  33.  *  c-basic-offset: 4
  34.  * End:
  35.  *
  36.  * vim: ts=8 sts=4 sw=4 expandtab
  37.  */
  38.