Asynchronous operations. More...
Go to the source code of this file.
Typedefs | |
typedef struct pa_operation | pa_operation |
An asynchronous operation object. | |
Functions | |
pa_operation * | pa_operation_ref (pa_operation *o) |
Increase the reference count by one. | |
void | pa_operation_unref (pa_operation *o) |
Decrease the reference count by one. | |
void | pa_operation_cancel (pa_operation *o) |
Cancel the operation. | |
pa_operation_state_t | pa_operation_get_state (pa_operation *o) |
Return the current status of the operation. |
Asynchronous operations.
typedef struct pa_operation pa_operation |
An asynchronous operation object.
void pa_operation_cancel | ( | pa_operation * | o ) |
Cancel the operation.
Beware! This will not necessarily cancel the execution of the operation on the server side. However it will make sure that the callback associated with this operation will not be called anymore, effectively disabling the operation from the client side's view.
pa_operation_state_t pa_operation_get_state | ( | pa_operation * | o ) |
Return the current status of the operation.
pa_operation* pa_operation_ref | ( | pa_operation * | o ) |
Increase the reference count by one.
void pa_operation_unref | ( | pa_operation * | o ) |
Decrease the reference count by one.