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

child.h File Reference

Go to the source code of this file.

Data Structures

struct  child_s

Typedefs

typedef child_s child_t
typedef children_s children_t

Functions

int child_create (pid_t pid, backend_t *be, child_t **pchild)
int child_free (child_t *child)
backend_tchild_backend (child_t *child)
pid_t * child_pid (child_t *child)
time_t * child_birth (child_t *child)
int children_create (children_t **pcs)
int children_free (children_t *cs)
int children_clear (children_t *cs)
size_t children_count (children_t *cs)
int children_del (children_t *cs, child_t *child)
int children_add (children_t *cs, child_t *child)
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)


Typedef Documentation

typedef struct child_s child_t
 

Definition at line 16 of file child.h.

Referenced by child_create(), child_free(), children_add(), children_clear(), children_del(), children_get_by_pid(), and children_getn().

typedef struct children_s children_t
 

Definition at line 19 of file child.h.

Referenced by children_add(), children_clear(), children_count(), children_create(), children_del(), children_free(), children_get_by_pid(), and children_getn().


Function Documentation

backend_t* child_backend child_t child  ) 
 

time_t* child_birth child_t child  ) 
 

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().

pid_t* child_pid child_t child  ) 
 

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.


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