
#ifndef __PROCESS_WATCHER_ENTRY_H__
#define __PROCESS_WATCHER_ENTRY_H__

#include <signal.h>

#include "process_watcher.h"

typedef struct s_ProcessWatcherEntry ProcessWatcherEntry;

ProcessWatcherEntry * process_watcher_entry_new (int pid, ProcessWatcherDelegate delegate, void *context);
void process_watcher_entry_destroy (void *ptr);

void process_watcher_entry_invoke (ProcessWatcherEntry *instance, int status);

#endif
