commit | f8c36c58accd5c53a472b5c289910565b3df9f9d | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Wed Jul 11 08:24:45 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Mon Jul 30 09:29:57 2012 -0700 |
tree | 905ff1a9df30c0200732af71b806c39145dcd641 | |
parent | ad4f232f28e8059fa1de51f3127d8a6a2759ef16 [diff] |
libceph: define ceph_extract_encoded_string() 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>