Commit e9771252 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Make struct declaration for stream mapping public.

parent 14d5c6e5
......@@ -463,6 +463,12 @@ cdiPioServerCdfDefVars(stream_t *streamptr)
#endif
struct streamMapping {
int streamID, filetype;
int firstHeaderIdx, lastHeaderIdx;
int numVars, *varMap;
};
static void readGetBuffers()
{
int nProcsModel = commInqNProcsModel ();
......@@ -498,11 +504,7 @@ static void readGetBuffers()
{
int numDataEntries = winDict[0].headerSize.numDataEntries;
int streamIdx;
struct {
int streamID, filetype;
int firstHeaderIdx, lastHeaderIdx;
int numVars, *varMap;
} *streamMap;
struct streamMapping *streamMap;
int numStreamIDs = 0, sizeStreamMap = 16;
streamMap = xmalloc(sizeStreamMap * sizeof (streamMap[0]));
int streamIDOld = CDI_UNDEFID;
......
Supports Markdown
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