summaryrefslogtreecommitdiffstats
path: root/src/polyp/mainloop.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-20 17:09:39 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-20 17:09:39 +0000
commit98cb6aa4a30a993ddf2c15f0a03cb4d94383d4d9 (patch)
treef55eec2774433bba2fa065260f60ced629a17b43 /src/polyp/mainloop.h
parent71e063a69533fedc283c55eed735332e5b00713e (diff)
* a lot of doxygen updates
* s/pa_operation_callback/pa_operation_callback_t/g * add more typedefs for function prototypes * add API to query the channel map used by a pa_stream git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@530 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/mainloop.h')
-rw-r--r--src/polyp/mainloop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/polyp/mainloop.h b/src/polyp/mainloop.h
index eeb23884..d0a40914 100644
--- a/src/polyp/mainloop.h
+++ b/src/polyp/mainloop.h
@@ -35,9 +35,7 @@ PA_C_DECL_BEGIN
* defined in \ref mainloop-api.h. This implementation is thread safe
* as long as you access the main loop object from a single thread only.*/
-/** \struct pa_mainloop
- * An opaque main loop object
- */
+/** An opaque main loop object */
typedef struct pa_mainloop pa_mainloop;
/** Allocate a new main loop object */
@@ -52,8 +50,10 @@ poll, or -1 for blocking behaviour. Defer events are also dispatched when this
function is called. On success returns the number of source dispatched in this
iteration.*/
int pa_mainloop_prepare(pa_mainloop *m, int timeout);
+
/** Execute the previously prepared poll. Returns a negative value on error.*/
int pa_mainloop_poll(pa_mainloop *m);
+
/** Dispatch timeout and io events from the previously executed poll. Returns
a negative value on error. On success returns the number of source dispatched. */
int pa_mainloop_dispatch(pa_mainloop *m);