Skip to content
GitLab
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
38ba5d31
Commit
38ba5d31
authored
Aug 08, 2013
by
Thomas Jahns
🤸
Browse files
Declare taxisUnpack in taxis.h.
parent
1f989e6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/resource_unpack.c
View file @
38ba5d31
...
...
@@ -11,11 +11,10 @@
#include
"namespace.h"
#include
"serialize.h"
#include
"resource_unpack.h"
#include
"taxis.h"
extern
void
gridUnpack
(
char
*
,
int
,
int
*
,
int
,
void
*
context
);
extern
void
zaxisUnpack
(
char
*
,
int
,
int
*
,
int
,
void
*
context
);
extern
void
taxisUnpack
(
char
*
,
int
,
int
*
,
int
,
void
*
context
);
extern
int
streamNint
;
...
...
src/taxis.c
View file @
38ba5d31
...
...
@@ -1315,7 +1315,7 @@ taxisGetPackSize(void *p, void *context)
return
packBufferSize
;
}
void
int
taxisUnpack
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
int
*
unpackBufferPos
,
int
nspTarget
,
void
*
context
)
{
...
...
@@ -1369,6 +1369,7 @@ taxisUnpack(char * unpackBuffer, int unpackBufferSize, int * unpackBufferPos,
longname
[
len
]
=
'\0'
;
taxisP
->
longname
=
longname
;
}
return
taxisP
->
self
;
}
...
...
src/taxis.h
View file @
38ba5d31
...
...
@@ -33,6 +33,9 @@ double cdiEncodeTimeval(int date, int time, taxis_t *taxis);
void
timeval2vtime
(
double
timevalue
,
taxis_t
*
taxis
,
int
*
vdate
,
int
*
vtime
);
double
vtime2timeval
(
int
vdate
,
int
vtime
,
taxis_t
*
taxis
);
int
taxisUnpack
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
int
*
unpackBufferPos
,
int
nspTarget
,
void
*
context
);
#endif
/* _TAXIS_H */
/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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