Function
GckModuleinitialize_async
Declaration [src]
void
gck_module_initialize_async (
const gchar* path,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously load and initialize a PKCS#11 module represented by a
GckModule
object.
This function completes asynchronously. Use gck_module_initialize_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
path
-
Type:
const gchar*
The file system path to the PKCS#11 module to load.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. cancellable
-
Type:
GCancellable
Optional cancellation object.
The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
A callback which will be called when the operation completes.
user_data
-
Type:
gpointer
Data to pass to the callback.
The argument can be NULL
.The data is owned by the caller of the function.