Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
e9771252
Commit
e9771252
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Make struct declaration for stream mapping public.
parent
14d5c6e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
e9771252
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment