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
96c9fdb3
Commit
96c9fdb3
authored
Oct 23, 2015
by
Thomas Jahns
🤸
Browse files
Return buffer position from resource unpack function.
parent
10624329
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/resource_unpack.c
View file @
96c9fdb3
...
...
@@ -18,8 +18,8 @@
/*****************************************************************************/
void
reshUnpackResources
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
void
*
context
)
int
reshUnpackResources
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
void
*
context
)
{
int
updateType
,
resH
,
originNamespace
;
int
unpackBufferPos
=
0
;
...
...
@@ -97,6 +97,7 @@ void reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
originNamespace
));
}
Free
(
associations
);
return
unpackBufferPos
;
}
/*
...
...
src/resource_unpack.h
View file @
96c9fdb3
...
...
@@ -18,8 +18,8 @@ enum
END
=
99999999
};
void
reshUnpackResources
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
void
*
context
);
int
reshUnpackResources
(
char
*
unpackBuffer
,
int
unpackBufferSize
,
void
*
context
);
#endif
...
...
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