diff options
author | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2002-04-23 16:41:31 +0000 |
---|---|---|
committer | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2002-04-23 16:41:31 +0000 |
commit | cf7d25d425bb83833c99ff88a73ea4838b50feb5 (patch) | |
tree | 500f5d7deee8c35c0360f39f994b32b78fda25d9 /src/ioPandaGH.h | |
parent | a1063cbd7ddb585ac878ce431bc929a5fd8271e9 (diff) |
Code cleanup before moving into production mode.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@29 38c3d835-c875-442e-b0fe-21c19ce1d001
Diffstat (limited to 'src/ioPandaGH.h')
-rw-r--r-- | src/ioPandaGH.h | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/src/ioPandaGH.h b/src/ioPandaGH.h index b4c20a8..d066d37 100644 --- a/src/ioPandaGH.h +++ b/src/ioPandaGH.h @@ -2,28 +2,47 @@ @header ioPandaGH.h @date 01 Oct 1999 @author Jonghyun Lee - @desc The extensions to the GH structure from IOPanda. - @history - @endhistory + @desc + The extensions to the GH structure from IOPanda. + @enddesc + @version $Header$ @@*/ -#include <string.h> +#ifndef _IOPANDA_IOPANDAGH_H_ +#define _IOPANDA_IOPANDAGH_H_ 1 #include "StoreNamedData.h" -typedef struct IOPandaGH { - +typedef struct IOPandaGH +{ /* the number of times to output */ - int out3D_every; + int out_every; - /* flags indicating output for var [i] */ - char *do_out3D; + /* flags indicating output for variable[i] */ + char *do_out; /* directory in which to output */ - char *outdir3D; - - /* the last iteration output for var [i] */ - int *out3D_last; + char *outdir; + /* the last iteration output for variable[i] */ + int *out_last; } pandaGH; + + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* prototypes of functions to be registered as IOPanda's IO method */ +int IOPanda_OutputGH (const cGH *GH); +int IOPanda_TriggerOutput (const cGH *GH, int); +int IOPanda_TimeFor (const cGH *GH, int); +int IOPanda_OutputVarAs (const cGH *GH, const char *var, const char *alias); + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif /* _IOPANDA_IOPANDAGH_H_ */ |