summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-24 00:39:29 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-24 00:39:29 +0100
commit9152c765065184d0c1267ed2499e3fe4cac53755 (patch)
tree70047967e77e502779d1febc6209a4f7b67a1bbf /manager.h
parent476fe607ecbabc5beffafc8efb0778e3d9e1030a (diff)
add simple event loop
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/manager.h b/manager.h
index 68f0dd94f8..6e0b500e5b 100644
--- a/manager.h
+++ b/manager.h
@@ -35,7 +35,10 @@ struct Manager {
bool dispatching_load_queue:1;
- Hashmap *pids; /* pid => Name object n:1 */
+ Hashmap *watch_pids; /* pid => Name object n:1 */
+
+ int epoll_fd;
+ int signal_fd;
};
Manager* manager_new(void);
@@ -55,5 +58,6 @@ void manager_transaction_unlink_job(Manager *m, Job *j);
void manager_clear_jobs(Manager *m);
void manager_run_jobs(Manager *m);
+int manager_loop(Manager *m);
#endif