diff options
Diffstat (limited to 'src/include/util_Table.h')
-rw-r--r-- | src/include/util_Table.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/include/util_Table.h b/src/include/util_Table.h index 45e3cadc..abd83965 100644 --- a/src/include/util_Table.h +++ b/src/include/util_Table.h @@ -14,6 +14,10 @@ @version $Header$ @@*/ +#ifndef _UTIL_TABLE_H_ +#define _UTIL_TABLE_H_ 1 /* define to 1 is Cactus standard */ + /* n.b. usual standard is empty defn! */ + /* * Having this file (a "util_*" low-level file) include a "cctk_*" high-level * file is an ugly hack, but we need the CCTK_{INT,REAL,COMPLEX}_* types @@ -21,10 +25,6 @@ */ #include "cctk_Types.h" -#ifndef _UTIL_TABLE_H_ -#define _UTIL_TABLE_H_ 1 /* define to 1 is Cactus standard */ - /* n.b. usual standard is empty defn! */ - #ifdef __cplusplus extern "C" { @@ -128,6 +128,8 @@ extern "C" #ifdef CCODE +#include <stdio.h> + /* create/destroy */ int Util_TableCreate(int flags); int Util_TableClone(int handle); @@ -509,6 +511,15 @@ int Util_TableItResetToStart(int ihandle); int Util_TableItSetToNull(int ihandle); int Util_TableItSetToKey(int ihandle, const char *key); +/******************************************************************************/ +/***** Table Output API *******************************************************/ +/******************************************************************************/ + +int Util_TablePrintAll(FILE *stream); +int Util_TablePrint(FILE *stream, int handle); +int Util_TablePrintPretty(FILE *stream, int handle); +int Util_TablePrintAllIterators(FILE *stream); + #endif /* CCODE */ /******************************************************************************/ |