summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEric Lambert <eric.lambert@seagate.com>2014-09-29 13:24:50 -0700
committerEric Lambert <eric.lambert@seagate.com>2014-09-29 13:24:50 -0700
commitbe8dcbcc2736c717df07675d3e83d4736c91a0bd (patch)
treecc369eae9acfb9d118854801d91e1e9a07d4c4a9 /README.md
parent3a108f751cd522fb30f348ff8968caeef7f6f9b8 (diff)
downloadliberasurecode-be8dcbcc2736c717df07675d3e83d4736c91a0bd.tar.gz
Char * backend names are no longer supported. They have been replaced with elements of the ec_backend_id_t enum.
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 3 insertions, 25 deletions
diff --git a/README.md b/README.md
index b2be7b5..eccac7e 100644
--- a/README.md
+++ b/README.md
@@ -98,33 +98,11 @@ User-facing API Functions
/* liberasurecode frontend API functions */
/**
- * Returns a list of EC backends implemented/enabled - the user
- * should always rely on the return from this function as this
- * set of backends can be different from the names listed in
- * ec_backend_names above.
- *
- * @param num_backends - pointer to int, size of list returned
- *
- * @return list of EC backends implemented
- */
-const char ** liberasurecode_supported_backends(int *num_backends);
-
-/**
- * Returns a list of checksum types supported for fragment data, stored in
- * individual fragment headers as part of fragment metadata
- *
- * @param num_checksum_types - pointer to int, size of list returned
- *
- * @return list of checksum types supported for fragment data
- */
-const char ** liberasurecode_supported_checksum_types(int *num_checksum_types);
-
-/**
* Create a liberasurecode instance and return a descriptor
* for use with EC operations (encode, decode, reconstruct)
*
- * @param backend_name - one of the supported backends as
- * defined by ec_backend_names
+ * @param id - one of the supported backends as
+ * defined by ec_backend_id_t
* @param ec_args - arguments to the EC backend
* arguments common to all backends
* k - number of data fragments
@@ -138,7 +116,7 @@ const char ** liberasurecode_supported_checksum_types(int *num_checksum_types);
*
* @return liberasurecode instance descriptor (int > 0)
*/
-int liberasurecode_instance_create(const char *backend_name,
+int liberasurecode_instance_create(const ec_backend_id_t id,
struct ec_args *args);
/**