From be8dcbcc2736c717df07675d3e83d4736c91a0bd Mon Sep 17 00:00:00 2001 From: Eric Lambert Date: Mon, 29 Sep 2014 13:24:50 -0700 Subject: Char * backend names are no longer supported. They have been replaced with elements of the ec_backend_id_t enum. --- README.md | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b2be7b5..eccac7e 100644 --- a/README.md +++ b/README.md @@ -97,34 +97,12 @@ 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); /** -- cgit v1.2.1