Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
38ba5d31
Commit
38ba5d31
authored
11 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Declare taxisUnpack in taxis.h.
parent
1f989e6c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/resource_unpack.c
+1
-2
1 addition, 2 deletions
src/resource_unpack.c
src/taxis.c
+2
-1
2 additions, 1 deletion
src/taxis.c
src/taxis.h
+3
-0
3 additions, 0 deletions
src/taxis.h
with
6 additions
and
3 deletions
src/resource_unpack.c
+
1
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
src/taxis.c
+
2
−
1
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
;
}
...
...
This diff is collapsed.
Click to expand it.
src/taxis.h
+
3
−
0
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 */
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment