rush
Revamped UNIX Shell
 All Data Structures Files Functions Variables Enumerations Enumerator Macros
plist.h
Go to the documentation of this file.
1 
22 #ifndef PLIST_H
23 #define PLIST_H
24 
25 
26 #include "shellutils.h"
27 
28 
49 const ProcInfo *plistAdd(pid_t pid, const char cmdLine[], bool background);
50 
62 const ProcInfo *plistGet(pid_t pid);
63 
75 int plistRemove(pid_t pid);
76 
95 int plistIterate(int (*callback)(const ProcInfo *));
96 
117 int plistNotifyEvent(pid_t pid, int event);
118 
145 int plistHandleEvents(int (*callback)(const ProcInfo *, int));
146 
147 
148 #endif /* PLIST_H */