mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
add dependency script
fix some dependencies split off socket-util.c and clitext.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@60 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c7bd759cdb
commit
ccfd55420e
28 changed files with 456 additions and 368 deletions
19
src/module.c
19
src/module.c
|
|
@ -6,7 +6,6 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include "module.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
struct pa_module* pa_module_load(struct pa_core *c, const char *name, const char *argument) {
|
||||
struct pa_module *m = NULL;
|
||||
|
|
@ -112,24 +111,6 @@ void pa_module_unload_all(struct pa_core *c) {
|
|||
c->modules = NULL;
|
||||
}
|
||||
|
||||
char *pa_module_list_to_string(struct pa_core *c) {
|
||||
struct pa_strbuf *s;
|
||||
struct pa_module *m;
|
||||
uint32_t index = PA_IDXSET_INVALID;
|
||||
assert(c);
|
||||
|
||||
s = pa_strbuf_new();
|
||||
assert(s);
|
||||
|
||||
pa_strbuf_printf(s, "%u module(s) loaded.\n", pa_idxset_ncontents(c->modules));
|
||||
|
||||
for (m = pa_idxset_first(c->modules, &index); m; m = pa_idxset_next(c->modules, &index))
|
||||
pa_strbuf_printf(s, " index: %u\n\tname: <%s>\n\targument: <%s>\n", m->index, m->name, m->argument);
|
||||
|
||||
return pa_strbuf_tostring_free(s);
|
||||
}
|
||||
|
||||
|
||||
struct once_info {
|
||||
struct pa_core *core;
|
||||
uint32_t index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue