Applying for a Queue
Prepare the memory for the struct wd_queue queue, which can be set using a local variable. Pay attention to the restrictions on the local variable and memory clearing.
1 2 3 4 | struct wd_queue q; memset(&q, 0, sizeof(q)); q.capa.alg = "cipher"; wd_request_queue(&q); |
Parent topic: Cipher Synchronization Interface Usage Examples