diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
commit | 1f0961368f58a9fec319d86c79a86a9f0d008cf5 (patch) | |
tree | c712a897bb34ade3c03a06ba754264153ac3bc16 /polyp/polyplib-operation.h | |
parent | 6c512fb5a3fdb578179be79672c5096de1a1d25b (diff) |
* remove a lot of compiler warnings introduced by using some new GCC flags
* add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-operation.h')
-rw-r--r-- | polyp/polyplib-operation.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/polyp/polyplib-operation.h b/polyp/polyplib-operation.h index 5c3af49c..63dcbc9f 100644 --- a/polyp/polyplib-operation.h +++ b/polyp/polyplib-operation.h @@ -30,21 +30,21 @@ PA_C_DECL_BEGIN -/** \struct pa_operation +/** \pa_operation * An asynchronous operation object */ -struct pa_operation; +typedef struct pa_operation pa_operation; /** Increase the reference count by one */ -struct pa_operation *pa_operation_ref(struct pa_operation *o); +pa_operation *pa_operation_ref(pa_operation *o); /** Decrease the reference count by one */ -void pa_operation_unref(struct pa_operation *o); +void pa_operation_unref(pa_operation *o); /** Cancel the operation. Beware! This will not necessarily cancel the execution of the operation on the server side. */ -void pa_operation_cancel(struct pa_operation *o); +void pa_operation_cancel(pa_operation *o); /** Return the current status of the operation */ -enum pa_operation_state pa_operation_get_state(struct pa_operation *o); +pa_operation_state pa_operation_get_state(pa_operation *o); PA_C_DECL_END |