diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-23 22:56:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-23 22:56:47 +0100 |
commit | 83c60c9f0c7581b607dc5c0f84582978894e3d4a (patch) | |
tree | 9c6dc95ae4ca7e64ffc674cb45561dd52dcaa10f /manager.c | |
parent | 542563babda739f7aee468c3eaaab6315ffa4224 (diff) |
implement proper binding on ports
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -882,3 +882,13 @@ void manager_clear_jobs(Manager *m) { while ((j = hashmap_first(m->jobs))) job_free(j); } + +void manager_run_jobs(Manager *m) { + Job *j; + void *state; + int r; + + HASHMAP_FOREACH(j, m->jobs, state) { + r = job_run_and_invalidate(j); + } +} |