summaryrefslogtreecommitdiff
path: root/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-23 22:56:47 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-23 22:56:47 +0100
commit83c60c9f0c7581b607dc5c0f84582978894e3d4a (patch)
tree9c6dc95ae4ca7e64ffc674cb45561dd52dcaa10f /manager.c
parent542563babda739f7aee468c3eaaab6315ffa4224 (diff)
implement proper binding on ports
Diffstat (limited to 'manager.c')
-rw-r--r--manager.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index 27b740e58a..7941d89a75 100644
--- a/manager.c
+++ b/manager.c
@@ -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);
+ }
+}