summaryrefslogtreecommitdiffstats
path: root/src/mainloop.h
blob: 7837636f94d02bf63971393739bae1a1e2d388ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef foomainloophfoo
#define foomainloophfoo

#include "mainloop-api.h"

struct pa_mainloop;

struct pa_mainloop *pa_mainloop_new(void);
void pa_mainloop_free(struct pa_mainloop* m);

int pa_mainloop_iterate(struct pa_mainloop *m, int block, int *retval);
int pa_mainloop_run(struct pa_mainloop *m, int *retval);

struct pa_mainloop_api* pa_mainloop_get_api(struct pa_mainloop*m);

#endif