libceph: define ceph_extract_encoded_string()
authorAlex Elder <elder@inktank.com>
Wed, 11 Jul 2012 13:24:45 +0000 (08:24 -0500)
committerSage Weil <sage@inktank.com>
Mon, 30 Jul 2012 16:29:57 +0000 (09:29 -0700)
This adds a new utility routine which will return a dynamically-
allocated buffer containing a string that has been decoded from ceph
over-the-wire format.  It also returns the length of the string
if the address of a size variable is supplied to receive it.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>

No differences found