Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

child.c File Reference

Go to the source code of this file.

Typedefs

typedef 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.

References backend_t, child_s::be, child_s::birth, child_t, and child_s::pid.

int child_free child_t child  ) 
 

Definition at line 152 of file child.c.

References child_t.

Referenced by children_clear().

int children_add children_t cs,
child_t child
 

Definition at line 14 of file child.c.

References child_t, and children_t.

int children_clear children_t cs  ) 
 

Definition at line 43 of file child.c.

References child_free(), child_t, children_del(), and children_t.

Referenced by children_free().

size_t children_count children_t cs  ) 
 

Definition at line 36 of file child.c.

References children_t.

int children_create children_t **  pcs  ) 
 

Definition at line 114 of file child.c.

References children_t.

Referenced by server_create().

int children_del children_t cs,
child_t child
 

Definition at line 25 of file child.c.

References child_t, and children_t.

Referenced by children_clear().

int children_free children_t cs  ) 
 

Definition at line 102 of file child.c.

References children_clear(), and children_t.

Referenced by server_free().

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

Definition at line 82 of file child.c.

References child_t, children_t, and child_s::pid.

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

Definition at line 61 of file child.c.

References child_t, and children_t.

TAILQ_HEAD child_list_s  ,
child_s 
 


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved