GRASS GIS 7 Programmer's Manual
7.0.2(2015)-r00000
Main Page
Related Pages
Data Structures
Files
File List
Globals
gsx.c
Go to the documentation of this file.
1
19
#include <grass/ogsf.h>
20
21
void (*
Cxl_func
) ();
22
void (*
Swap_func
) ();
23
24
static
int
Cxl = 0;
25
31
int
GS_check_cancel
(
void
)
32
{
33
Cxl_func
();
34
35
return
(Cxl);
36
}
37
41
void
GS_set_cancel
(
int
c)
42
{
43
Cxl = c;
44
45
return
;
46
}
47
53
void
GS_set_cxl_func
(
void
(*f) (
void
))
54
{
55
Cxl_func
= f;
56
57
return
;
58
}
59
65
void
GS_set_swap_func
(
void
(*f) (
void
))
66
{
67
Swap_func
= f;
68
69
return
;
70
}
GS_check_cancel
int GS_check_cancel(void)
Check for cancel.
Definition:
gsx.c:31
GS_set_cxl_func
void GS_set_cxl_func(void(*f)(void))
Set cxl function.
Definition:
gsx.c:53
GS_set_swap_func
void GS_set_swap_func(void(*f)(void))
Set swap function.
Definition:
gsx.c:65
Swap_func
void(* Swap_func)()
Definition:
gsx.c:22
GS_set_cancel
void GS_set_cancel(int c)
Set cancel.
Definition:
gsx.c:41
Cxl_func
void(* Cxl_func)()
Definition:
gsx.c:21
ogsf
gsx.c
Generated on Thu Dec 3 2015 05:16:14 for GRASS GIS 7 Programmer's Manual by
1.8.9.1