store load_once flag for module

This commit is contained in:
Lennart Poettering 2008-08-03 18:55:42 +02:00
parent 114f290be7
commit 9bfd67f70f
2 changed files with 9 additions and 4 deletions

View file

@ -43,10 +43,12 @@ struct pa_module {
void *userdata;
int n_used;
pa_bool_t auto_unload;
time_t last_used_time;
pa_bool_t unload_requested;
pa_bool_t auto_unload:1;
pa_bool_t load_once:1;
pa_bool_t unload_requested:1;
time_t last_used_time;
};
pa_module* pa_module_load(pa_core *c, const char *name, const char*argument);