aboutsummaryrefslogtreecommitdiff
path: root/src/ioStreamedHDF5GH.h
diff options
context:
space:
mode:
authortradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2002-05-14 19:19:08 +0000
committertradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46>2002-05-14 19:19:08 +0000
commit82c17d742b4f5e237725e271e86da7a396d86270 (patch)
tree02a62682f710aa11f567bca8e0273dd3ee176ea9 /src/ioStreamedHDF5GH.h
parent6fdc9aa98ad8bf864590189506e7675b0540b406 (diff)
Routines from thorn Socket slighly changed. Added port hunting for IOStreamedHDF5.
You must also update thorn CactusConnect/Socket now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@85 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'src/ioStreamedHDF5GH.h')
-rw-r--r--src/ioStreamedHDF5GH.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ioStreamedHDF5GH.h b/src/ioStreamedHDF5GH.h
index f8dc2c7..874610a 100644
--- a/src/ioStreamedHDF5GH.h
+++ b/src/ioStreamedHDF5GH.h
@@ -10,6 +10,7 @@
#ifndef _IOSTREAMEDHDF5_IOSTREAMEDHDF5GH_H_
#define _IOSTREAMEDHDF5_IOSTREAMEDHDF5GH_H_
+#include "SocketUtils.h"
#include "CactusPUGHIO/IOHDF5Util/src/ioHDF5UtilGH.h"
@@ -23,11 +24,13 @@ typedef struct
ioRequest **requests;
/* the last iteration output */
- int *out_last;
+ int *out_last;
+
+ /* ports to output data and checkpoint files to */
+ unsigned int data_port, checkpoint_port;
/* sockets to output data and checkpoint files to */
- int data_socket;
- int checkpoint_socket;
+ SOCKET data_socket, checkpoint_socket;
/* file access property list used to write checkpoint files */
hid_t checkpoint_fapl;