Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / hotplug2 / childlist.h
blob1bd523224b3d253303c23fbf471d8ca8e527e774
1 /*****************************************************************************\
2 * _ _ _ _ ___ *
3 * | || | ___ | |_ _ __ | | _ _ __ _ |_ ) *
4 * | __ |/ _ \| _|| '_ \| || || |/ _` | / / *
5 * |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___| *
6 * |_| |___/ *
7 \*****************************************************************************/
9 #ifndef CHILDLIST_H
10 #define CHILDLIST_H 1
12 struct hotplug2_child_t *add_child(struct hotplug2_child_t *, pid_t, event_seqnum_t);
13 struct hotplug2_child_t *remove_child_by_pid(struct hotplug2_child_t *, pid_t, event_seqnum_t *, int *);
15 struct hotplug2_child_t {
16 pid_t pid;
17 event_seqnum_t seqnum;
18 void *prev;
19 void *next;
22 #endif /* ifndef CHILDLIST_H */