1 #ifndef foooperationhfoo
2 #define foooperationhfoo
23 #include <pulse/cdecl.h>
25 #include <pulse/version.h>
enum pa_operation_state pa_operation_state_t
The state of an operation.
void(* pa_operation_notify_cb_t)(pa_operation *o, void *userdata)
A callback for operation state changes.
Definition: operation.h:36
void pa_operation_cancel(pa_operation *o)
Cancel the operation.
pa_operation_state_t pa_operation_get_state(const pa_operation *o)
Return the current status of the operation.
struct pa_operation pa_operation
An asynchronous operation object.
Definition: operation.h:33
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_set_state_callback(pa_operation *o, pa_operation_notify_cb_t cb, void *userdata)
Set the callback function that is called when the operation state changes.