Commit c7e3aad9 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

renamed getFiletype() to cdiGetFiletype()

parent 3f5ed5b4
......@@ -264,6 +264,8 @@ int cdiEncodeTime(int hour, int minute, int second);
/* STREAM control routines */
int cdiGetFiletype(const char *path, int *byteorder);
/* streamOpenRead: Open a dataset for reading */
int streamOpenRead(const char *path);
......
......@@ -81,8 +81,8 @@ int getByteorder(int byteswap)
return (byteorder);
}
static
int getFiletype(const char *filename, int *byteorder)
// used also in CDO
int cdiGetFiletype(const char *filename, int *byteorder)
{
int filetype = CDI_EUFTYPE;
int swap = 0;
......@@ -733,7 +733,7 @@ int streamOpenRead(const char *filename)
cdiInitialize();
int byteorder = 0;
int filetype = getFiletype(filename, &byteorder);
int filetype = cdiGetFiletype(filename, &byteorder);
if ( filetype < 0 ) return (filetype);
......@@ -754,7 +754,7 @@ int streamOpenAppend(const char *filename)
cdiInitialize();
int byteorder = 0;
int filetype = getFiletype(filename, &byteorder);
int filetype = cdiGetFiletype(filename, &byteorder);
if ( filetype < 0 ) return (filetype);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment