operation.h File Reference

Asynchronous operations. More...

Go to the source code of this file.

Typedefs

typedef struct pa_operation pa_operation
 An asynchronous operation object.

Functions

pa_operationpa_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.


Detailed Description

Asynchronous operations.


Typedef Documentation

typedef struct pa_operation pa_operation

An asynchronous operation object.

Examples:
pacat.c, and paplay.c.


Function Documentation

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.

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.

Examples:
pacat.c, and paplay.c.


Generated on Mon Jun 14 16:31:37 2010 for PulseAudio by  doxygen 1.5.6