2004-06-08 23:54:24 +00:00
|
|
|
#ifndef foocorehfoo
|
|
|
|
|
#define foocorehfoo
|
|
|
|
|
|
|
|
|
|
#include "idxset.h"
|
2004-06-27 22:42:17 +00:00
|
|
|
#include "hashset.h"
|
2004-06-23 23:17:30 +00:00
|
|
|
#include "mainloop-api.h"
|
2004-06-08 23:54:24 +00:00
|
|
|
|
|
|
|
|
struct core {
|
2004-06-23 23:17:30 +00:00
|
|
|
struct pa_mainloop_api *mainloop;
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-06-15 17:05:03 +00:00
|
|
|
struct idxset *clients, *sinks, *sources, *sink_inputs, *source_outputs, *modules;
|
2004-06-08 23:54:24 +00:00
|
|
|
|
2004-06-27 22:42:17 +00:00
|
|
|
struct hashset *namereg;
|
|
|
|
|
|
2004-06-08 23:54:24 +00:00
|
|
|
uint32_t default_source_index, default_sink_index;
|
|
|
|
|
};
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
struct core* core_new(struct pa_mainloop_api *m);
|
2004-06-08 23:54:24 +00:00
|
|
|
void core_free(struct core*c);
|
|
|
|
|
|
|
|
|
|
#endif
|