File: return.h

package info (click to toggle)
notion 3%2B2012042300-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 4,724 kB
  • sloc: ansic: 45,614; makefile: 544; sh: 409; perl: 113
file content (31 lines) | stat: -rw-r--r-- 818 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * ion/ioncore/return.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2009. 
 *
 * See the included file LICENSE for details.
 */

#ifndef ION_IONCORE_RETURN_H
#define ION_IONCORE_RETURN_H

#include "region.h"
#include "pholder.h"

/* Note: 'ph' is under the control of this 'return' module after succesfully
 * (true return value) having been passed to this function and must no 
 * longer be destroyed by other code unless removed with unset_get.
 */
extern bool region_do_set_return(WRegion *reg, WPHolder *ph);

/*extern WPHolder *region_set_return(WRegion *reg);*/

extern WPHolder *region_get_return(WRegion *reg);

extern void region_unset_return(WRegion *reg);

extern WPHolder *region_unset_get_return(WRegion *reg);

extern WPHolder *region_make_return_pholder(WRegion *reg);

#endif /* ION_IONCORE_RETURN_H */