4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_RETURN_H
13 #define ION_IONCORE_RETURN_H
18 /* Note: 'ph' is under the control of this 'return' module after succesfully
19 * (true return value) having been passed to this function and must no
20 * longer be destroyed by other code unless removed with unset_get.
22 extern bool region_do_set_return(WRegion *reg, WPHolder *ph);
24 /*extern WPHolder *region_set_return(WRegion *reg);*/
26 extern WPHolder *region_get_return(WRegion *reg);
28 extern void region_unset_return(WRegion *reg);
30 extern WPHolder *region_unset_get_return(WRegion *reg);
32 extern WPHolder *region_make_return_pholder(WRegion *reg);
34 #endif /* ION_IONCORE_RETURN_H */