diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:18:39 +0000 |
commit | fff5217f02d91268ce90c8c05665602c059faaef (patch) | |
tree | 2ba24d32dc96eafe7ed0a85269548e76796d849d /src/core/pidwait.h | |
parent | Initial commit. (diff) | |
download | irssi-fff5217f02d91268ce90c8c05665602c059faaef.tar.xz irssi-fff5217f02d91268ce90c8c05665602c059faaef.zip |
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/core/pidwait.h')
-rw-r--r-- | src/core/pidwait.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/pidwait.h b/src/core/pidwait.h new file mode 100644 index 0000000..148c65d --- /dev/null +++ b/src/core/pidwait.h @@ -0,0 +1,16 @@ +#ifndef IRSSI_CORE_PIDWAIT_H +#define IRSSI_CORE_PIDWAIT_H + +void pidwait_init(void); +void pidwait_deinit(void); + +/* add a pid to wait list */ +void pidwait_add(int pid); +/* remove pid from wait list */ +void pidwait_remove(int pid); + +/* return list of pids that are being waited. + don't free the return value. */ +GSList *pidwait_get_pids(void); + +#endif |