|
@@ -218,8 +218,6 @@ struct CryptoDevBackendClass {
|
|
|
|
|
|
struct CryptoDevBackendClient {
|
|
struct CryptoDevBackendClient {
|
|
QCryptodevBackendType type;
|
|
QCryptodevBackendType type;
|
|
- char *model;
|
|
|
|
- char *name;
|
|
|
|
char *info_str;
|
|
char *info_str;
|
|
unsigned int queue_index;
|
|
unsigned int queue_index;
|
|
int vring_enable;
|
|
int vring_enable;
|
|
@@ -264,11 +262,8 @@ struct CryptoDevBackend {
|
|
|
|
|
|
/**
|
|
/**
|
|
* cryptodev_backend_new_client:
|
|
* cryptodev_backend_new_client:
|
|
- * @model: the cryptodev backend model
|
|
|
|
- * @name: the cryptodev backend name, can be NULL
|
|
|
|
*
|
|
*
|
|
- * Creates a new cryptodev backend client object
|
|
|
|
- * with the @name in the model @model.
|
|
|
|
|
|
+ * Creates a new cryptodev backend client object.
|
|
*
|
|
*
|
|
* The returned object must be released with
|
|
* The returned object must be released with
|
|
* cryptodev_backend_free_client() when no
|
|
* cryptodev_backend_free_client() when no
|
|
@@ -276,9 +271,8 @@ struct CryptoDevBackend {
|
|
*
|
|
*
|
|
* Returns: a new cryptodev backend client object
|
|
* Returns: a new cryptodev backend client object
|
|
*/
|
|
*/
|
|
-CryptoDevBackendClient *
|
|
|
|
-cryptodev_backend_new_client(const char *model,
|
|
|
|
- const char *name);
|
|
|
|
|
|
+CryptoDevBackendClient *cryptodev_backend_new_client(void);
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* cryptodev_backend_free_client:
|
|
* cryptodev_backend_free_client:
|
|
* @cc: the cryptodev backend client object
|
|
* @cc: the cryptodev backend client object
|