diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-11-05 15:00:23 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2001-11-05 15:00:23 +0000 |
commit | ecc925d2e5bc7f33289f6f40ca5f911050e8971c (patch) | |
tree | 70d1ed815cc71892e11f932966729865925eff1f /src/ioutil_CheckpointRecovery.h | |
parent | 18d93aaa1c56d58a6ceb60d225a886ebab4ac014 (diff) |
Added const qualifier to the 'cGH *' argument of some more IO functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@135 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/ioutil_CheckpointRecovery.h')
-rw-r--r-- | src/ioutil_CheckpointRecovery.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/ioutil_CheckpointRecovery.h b/src/ioutil_CheckpointRecovery.h index 0cbd949..8f9cde5 100644 --- a/src/ioutil_CheckpointRecovery.h +++ b/src/ioutil_CheckpointRecovery.h @@ -31,43 +31,43 @@ enum {CP_INITIAL_DATA, CP_EVOLUTION_DATA, CP_RECOVER_PARAMETERS, ************************************************************************/ /* create a checkpoint filename */ -void IOUtil_PrepareFilename (cGH *GH, - const char *basefilename, - char *fname, - int called_from, - int ioproc, - int file_unchunked); +void IOUtil_PrepareFilename (const cGH *GH, + const char *basefilename, + char *fname, + int called_from, + int ioproc, + int file_unchunked); /* register a new recovery method */ -int IOUtil_RegisterRecover (const char *name, - int (*func) (cGH *, const char *, int)); +int IOUtil_RegisterRecover (const char *name, + int (*func) (cGH *, const char *, int)); /* recover variables from a list of data files */ -void IOUtil_RecoverVarsFromDatafiles (cGH *GH, - const char *in_files, - const char *in_vars); +void IOUtil_RecoverVarsFromDatafiles (cGH *GH, + const char *in_files, + const char *in_vars); /* generic recovery routine called by other IO thorns */ -int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH, - const char *basefilename, - int called_from), - const char *fileExtension, - const char *fileType); +int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH, + const char *basefilename, + int called_from), + const char *fileExtension, + const char *fileType); /* return the parameter database as one single string */ -char *IOUtil_GetAllParameters (cGH *GH); +char *IOUtil_GetAllParameters (const cGH *GH); /* set all parameters contained in the given string */ -void IOUtil_SetAllParameters (char *parameters); +void IOUtil_SetAllParameters (const char *parameters); /* return true if this run was restarted from recovery, otherwise false */ -int IOUtil_RestartFromRecovery (const cGH *GH); +int IOUtil_RestartFromRecovery (const cGH *GH); /* print the checkpoint/recovery timings to stdout */ -void IOUtil_PrintTimings (const char *description, - int ntimers, - const int *timers, - const char *const *const timer_descriptions); +void IOUtil_PrintTimings (const char *description, + int ntimers, + const int *timers, + const char *const *const timer_descriptions); #ifdef __cplusplus } |