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 / test / io / bmi / test-bmi.h < prev    next >
C/C++ Source or Header  |  2007-02-13  |  894b  |  48 lines

  1. /*
  2.  * (C) 2001 Clemson University and The University of Chicago
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */
  6.  
  7.  
  8. /*
  9.  * This is a common header file for both a client and server that use
  10.  * the BMI library 
  11.  */
  12.  
  13. #ifndef __TEST_BMI_H
  14. #define __TEST_BMI_H
  15.  
  16. #include "bmi.h"
  17.  
  18. /* default hostid of server when none is given */
  19. #define DEFAULT_HOSTID  "tcp://localhost:3334"
  20. #define DEFAULT_HOSTID_GM  "gm://playtoy:5"
  21. #define DEFAULT_HOSTID_MX  "mx://foo:0:3/"
  22. #define DEFAULT_SERVERID  "tcp://NULL:3334"
  23. #define DEFAULT_SERVERID_GM  "gm://NULL:5"
  24. #define DEFAULT_SERVERID_MX  "mx://foo:0:3/"
  25.  
  26. /* test server request format */
  27. struct server_request
  28. {
  29.     bmi_size_t size;
  30. };
  31.  
  32. /* test server acknowledgement format */
  33. struct server_ack
  34. {
  35.     int status;
  36. };
  37.  
  38. #endif /* __TEST_BMI_H */
  39.  
  40. /*
  41.  * Local variables:
  42.  *  c-indent-level: 4
  43.  *  c-basic-offset: 4
  44.  * End:
  45.  *
  46.  * vim: ts=8 sts=4 sw=4 expandtab
  47.  */
  48.