Branch: Tag:

1997-09-17

1997-09-17 10:31:52 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fork_child callback added

Rev: src/callback.c:1.10
Rev: src/callback.h:1.5
Rev: src/modules/files/efuns.c:1.36
Rev: src/modules/system/system.c:1.28

7:   #include "callback.h"   #include "error.h"    + struct callback_list fork_child_callback; +    /*    * This file is used to simplify the management of callbacks when certain    * events occur. The callbacks are managed as linked lists, allocated in
160:    l->call(l,l->arg, arg);    if(lst->num_calls != this_call) return;    } -  check_callback_chain(lst); +        if(!l->call)    {