work_queue_watcher.h
00001
00002
00003
00004
00005
00006
00007 #ifndef WORK_QUEUE_WATCH_H
00008 #define WORK_QUEUE_WATCH_H
00009
00010 #include "work_queue_process.h"
00011 #include "link.h"
00012
00013 struct work_queue_watcher * work_queue_watcher_create();
00014 void work_queue_watcher_delete( struct work_queue_watcher *w );
00015
00016 void work_queue_watcher_add_process( struct work_queue_watcher *w, struct work_queue_process *p );
00017 void work_queue_watcher_remove_process( struct work_queue_watcher *w, struct work_queue_process *p );
00018 int work_queue_watcher_check( struct work_queue_watcher *w );
00019 int work_queue_watcher_send_changes( struct work_queue_watcher *w, struct link *master, time_t stoptime );
00020
00021 #endif