GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
driver/graph.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include "
driver.h
"
3
#include "
driverlib.h
"
4
5
int
COM_Graph_set
(
void
)
6
{
7
if
(
driver
->
Graph_set
)
8
return
(*
driver
->
Graph_set
) ();
9
return
0;
10
}
11
12
void
COM_Graph_close
(
void
)
13
{
14
if
(
driver
->
Graph_close
)
15
(*
driver
->
Graph_close
) ();
16
}
17
18
const
char
*
COM_Graph_get_file
(
void
)
19
{
20
if
(
driver
->
Graph_get_file
)
21
return
(*
driver
->
Graph_get_file
) ();
22
23
return
NULL
;
24
}
driver::Graph_set
int(* Graph_set)(void)
Definition:
driver.h:28
driver.h
COM_Graph_get_file
const char * COM_Graph_get_file(void)
Definition:
driver/graph.c:18
NULL
#define NULL
Definition:
ccmath.h:32
COM_Graph_close
void COM_Graph_close(void)
Definition:
driver/graph.c:12
driver::Graph_close
void(* Graph_close)(void)
Definition:
driver.h:29
COM_Graph_set
int COM_Graph_set(void)
Definition:
driver/graph.c:5
driver::Graph_get_file
const char *(* Graph_get_file)(void)
Definition:
driver.h:30
driver
Definition:
driver.h:22
driverlib.h
lib
driver
graph.c
Generated on Mon May 31 2021 05:21:29 for GRASS GIS 7 Programmer's Manual by
1.8.13