summaryrefslogtreecommitdiff
path: root/include/erasurecode/erasurecode.h
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2014-07-30 22:06:26 -0700
committerKevin Greenan <kmgreen2@gmail.com>2014-07-30 23:06:30 -0700
commit1bb14c6a3a56591d411ac7ec0ebf8a55f3be0554 (patch)
tree43614dd5dfaa1acf6f2cac9c033c096fad9a7bbf /include/erasurecode/erasurecode.h
parentd6613f4e909749a878fe5c9b190f9935c8c0738c (diff)
downloadliberasurecode-1bb14c6a3a56591d411ac7ec0ebf8a55f3be0554.tar.gz
Stubbing the metadata functions and updating their interfaces.
Diffstat (limited to 'include/erasurecode/erasurecode.h')
-rw-r--r--include/erasurecode/erasurecode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/erasurecode/erasurecode.h b/include/erasurecode/erasurecode.h
index 4088ef8..a1d8c1a 100644
--- a/include/erasurecode/erasurecode.h
+++ b/include/erasurecode/erasurecode.h
@@ -209,13 +209,15 @@ int liberasurecode_fragments_needed(int desc,
* client, but meaningful to the underlying library. It is used to verify
* stripes in verify_stripe_metadata().
*/
-int liberasurecode_get_fragment_metadata(char *fragment);
+int liberasurecode_get_fragment_metadata(char *fragment,
+ char **fragment_metadata, int *fragment_metadata_len);
/**
* Verify a subset of fragments generated by encode()
*/
-int liberasurecode_verify_stripe_metadata(char **fragments);
+int liberasurecode_verify_stripe_metadata(char **fragment_metadata,
+ int num_fragments, int fragment_metadata_len);
/**
* This computes the aligned size of a buffer passed into