summaryrefslogtreecommitdiff
path: root/src/core/pidwait.h
blob: ae1ba01e2fe9e75cc3b149ecc052d12b01017db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __PIDWAIT_H
#define __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