diff options
author | Eric Lambert <eric.lambert@seagate.com> | 2014-10-03 17:08:05 -0700 |
---|---|---|
committer | Eric Lambert <eric.lambert@seagate.com> | 2014-10-03 17:08:05 -0700 |
commit | 62fba6ba49ab216dbb19c7b7dcbd83804fe7f66e (patch) | |
tree | 888213525b42e0efe4357a2ee2653fb73d6cfeaf /include/erasurecode/erasurecode_helpers.h | |
parent | 581afe3199dcf1171f750a96ef4d83512ea1ba66 (diff) | |
download | liberasurecode-62fba6ba49ab216dbb19c7b7dcbd83804fe7f66e.tar.gz |
add backend_id and backend_version to fragment metadata
Diffstat (limited to 'include/erasurecode/erasurecode_helpers.h')
-rw-r--r-- | include/erasurecode/erasurecode_helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/erasurecode/erasurecode_helpers.h b/include/erasurecode/erasurecode_helpers.h index 0e53e63..5bef344 100644 --- a/include/erasurecode/erasurecode_helpers.h +++ b/include/erasurecode/erasurecode_helpers.h @@ -140,6 +140,10 @@ int set_checksum(ec_checksum_type_t ct, char *buf, int blocksize); int get_checksum(char *buf); int set_libec_version(char *fragment); int get_libec_version(char *fragment, uint32_t *ver); +int set_backend_id(char *buf, ec_backend_id_t id); +int get_backend_id(char *buf, ec_backend_id_t *id); +int set_backend_version(char *buf, uint32_t version); +int get_backend_version(char *buf, uint32_t *version); /* ==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~==~=*=~== */ |