Add comments to fork() logic for readibility
[notion/jeffpc.git] / ioncore / return.h
blob0f37a8045c67d3d67e66b5e42aceaff1182c40dc
1 /*
2 * ion/ioncore/return.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_RETURN_H
10 #define ION_IONCORE_RETURN_H
12 #include "region.h"
13 #include "pholder.h"
15 /* Note: 'ph' is under the control of this 'return' module after succesfully
16 * (true return value) having been passed to this function and must no
17 * longer be destroyed by other code unless removed with unset_get.
19 extern bool region_do_set_return(WRegion *reg, WPHolder *ph);
21 /*extern WPHolder *region_set_return(WRegion *reg);*/
23 extern WPHolder *region_get_return(WRegion *reg);
25 extern void region_unset_return(WRegion *reg);
27 extern WPHolder *region_unset_get_return(WRegion *reg);
29 extern WPHolder *region_make_return_pholder(WRegion *reg);
31 #endif /* ION_IONCORE_RETURN_H */