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 / src / io / description / dist-varstrip-parser.h < prev    next >
C/C++ Source or Header  |  2005-07-14  |  653b  |  36 lines

  1. /*
  2.  * (C) 2005 Frederik Grⁿll <frederik.gruell@web.de>
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */
  6.  
  7. #ifndef PVFS_DIST_VARSTRIP_PARSER_H
  8. #define PVFS_DIST_VARSTRIP_PARSER_H
  9.  
  10. #include "pvfs2-types.h"
  11.  
  12. struct PINT_dist_strips_s
  13. {
  14.     unsigned int server_nr;
  15.     PVFS_offset offset;
  16.     PVFS_size size;
  17. };
  18.  
  19. typedef struct PINT_dist_strips_s PINT_dist_strips;
  20.  
  21. void PINT_dist_strips_free_mem(PINT_dist_strips **strip);
  22. int PINT_dist_strips_parse(
  23.     const char *input, PINT_dist_strips **strip, unsigned *count);
  24.  
  25. #endif
  26.  
  27. /*
  28.  * Local variables:
  29.  *  mode: c
  30.  *  c-indent-level: 4
  31.  *  c-basic-offset: 4
  32.  * End:
  33.  *
  34.  * vim: ft=c ts=8 sts=4 sw=4 expandtab
  35.  */
  36.