diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-24 00:39:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-24 00:39:29 +0100 |
commit | 9152c765065184d0c1267ed2499e3fe4cac53755 (patch) | |
tree | 70047967e77e502779d1febc6209a4f7b67a1bbf /manager.h | |
parent | 476fe607ecbabc5beffafc8efb0778e3d9e1030a (diff) |
add simple event loop
Diffstat (limited to 'manager.h')
-rw-r--r-- | manager.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |