2
* ADIOS is freely available under the terms of the BSD license described
3
* in the COPYING file in the top level directory of this source distribution.
5
* Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved.
11
/** Copy a C string into a Fortran CHARACTER array (of max length flen).
12
Fortran array must already be allocated in Fortran */
13
void futils_cstr_to_fstr(const char *cs, char *fs, int flen);
15
/** Trim a Fortran string and allocate a C string and copy content to it and add '\0'
16
* Need to free() the string later.
18
char * futils_fstr_to_cstr(const char * fs, int flen);
20
/* Indicate to ADIOS that we are calling from Fortran.
21
It is used in the read API to know what ordering of dimensions the caller expects.
23
void futils_called_from_fortran_set(void);
24
void futils_called_from_fortran_unset(void);
25
/* Read API asks if the caller is Fortran by this function call */
26
int futils_is_called_from_fortran(void);