diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/erasurecode.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/erasurecode.c b/src/erasurecode.c index d3b3cea..4f3419c 100644 --- a/src/erasurecode.c +++ b/src/erasurecode.c @@ -1232,6 +1232,16 @@ int liberasurecode_get_fragment_size(int desc, int data_len) return size; } + +/** + * This will return the liberasurecode version for the descriptor + */ + +uint32_t liberasurecode_get_version() +{ + return LIBERASURECODE_VERSION; +} + /* ==~=*=~==~=*=~==~=*=~==~=*=~==~=* misc *=~==~=*=~==~=*=~==~=*=~==~=*=~== */ #if 0 |