summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2014-07-22 22:07:17 -0700
committerTushar Gohad <tushar.gohad@intel.com>2014-07-22 22:07:17 -0700
commit779ff7402495b18d65e50d2a2e46e3c6b75568ef (patch)
treea0f28d55b9fb9bfcf1fedfebec2c307b30e620bb /include
parentf50e15dfa904a31a612965349dc8d213adcf9017 (diff)
downloadliberasurecode-779ff7402495b18d65e50d2a2e46e3c6b75568ef.tar.gz
null_code: First cut
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/erasurecode/erasurecode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/erasurecode/erasurecode.h b/include/erasurecode/erasurecode.h
index b994ba0..07cac3f 100644
--- a/include/erasurecode/erasurecode.h
+++ b/include/erasurecode/erasurecode.h
@@ -74,6 +74,9 @@ struct ec_args {
int hd; /* hamming distance (3 or 4) */
} flat_xor_hd_args; /* args specific to XOR codes */
struct {
+ uint64_t arg1; /* sample arg */
+ } null_args; /* args specific to the null codes */
+ struct {
uint64_t x, y; /* reserved for future expansion */
uint64_t z, a; /* reserved for future expansion */
} reserved;