child.c File Reference

Go to the source code of this file.

Typedefs

typedef struct child_list_s child_list_t

Functions

 TAILQ_HEAD (child_list_s, child_s)
int children_add (children_t *cs, child_t *child)
int children_del (children_t *cs, child_t *child)
size_t children_count (children_t *cs)
int children_clear (children_t *cs)
int children_getn (children_t *cs, size_t i, child_t **pc)
int children_get_by_pid (children_t *cs, pid_t pid, child_t **pc)
int children_free (children_t *cs)
int children_create (children_t **pcs)
int child_create (pid_t pid, backend_t *be, child_t **pchild)
int child_free (child_t *child)

Typedef Documentation

typedef struct child_list_s child_list_t

Definition at line 6 of file child.c.


Function Documentation

int child_create ( pid_t  pid,
backend_t be,
child_t **  pchild 
)

Definition at line 132 of file child.c.

int child_free ( child_t child  ) 

Definition at line 152 of file child.c.

int children_add ( children_t cs,
child_t child 
)

Definition at line 14 of file child.c.

int children_clear ( children_t cs  ) 

Definition at line 43 of file child.c.

size_t children_count ( children_t cs  ) 

Definition at line 36 of file child.c.

int children_create ( children_t **  pcs  ) 

Definition at line 114 of file child.c.

int children_del ( children_t cs,
child_t child 
)

Definition at line 25 of file child.c.

int children_free ( children_t cs  ) 

Definition at line 102 of file child.c.

int children_get_by_pid ( children_t cs,
pid_t  pid,
child_t **  pc 
)

Definition at line 82 of file child.c.

int children_getn ( children_t cs,
size_t  i,
child_t **  pc 
)

Definition at line 61 of file child.c.

TAILQ_HEAD ( child_list_s  ,
child_s   
)