1/*****************************************************************************\ 2* _ _ _ _ ___ * 3* | || | ___ | |_ _ __ | | _ _ __ _ |_ ) * 4* | __ |/ _ \| _|| '_ \| || || |/ _` | / / * 5* |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___| * 6* |_| |___/ * 7\*****************************************************************************/ 8 9#ifndef CHILDLIST_H 10#define CHILDLIST_H 1 11 12struct hotplug2_child_t *add_child(struct hotplug2_child_t *, pid_t, event_seqnum_t); 13struct hotplug2_child_t *remove_child_by_pid(struct hotplug2_child_t *, pid_t, event_seqnum_t *, int *); 14 15struct hotplug2_child_t { 16 pid_t pid; 17 event_seqnum_t seqnum; 18 void *prev; 19 void *next; 20}; 21 22#endif /* ifndef CHILDLIST_H */ 23