summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKota Tsuyuzaki <bloodeagle40234@gmail.com>2015-08-18 08:16:07 +0000
committerTushar Gohad <tushar.gohad@intel.com>2015-08-18 08:30:34 +0000
commitc9ce822825a55e3254c2f9e74a139fc89310ddc0 (patch)
treef74557392be088077f23b7af2f8568b128303555 /include
parent63829197d588c536898b6499a58639ae8029ac50 (diff)
downloadliberasurecode-c9ce822825a55e3254c2f9e74a139fc89310ddc0.tar.gz
Enforce the (k + m < 32) limit, add unit tests
Diffstat (limited to 'include')
-rw-r--r--include/erasurecode/erasurecode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/erasurecode/erasurecode.h b/include/erasurecode/erasurecode.h
index cfceb7b..7bdad5d 100644
--- a/include/erasurecode/erasurecode.h
+++ b/include/erasurecode/erasurecode.h
@@ -33,6 +33,8 @@
#include "erasurecode_stdinc.h"
#include "erasurecode_version.h"
+#define EC_MAX_FRAGMENTS 32
+
#ifdef __cplusplus
extern "C" {
#endif