GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Work.c
Go to the documentation of this file.
1
#include "
driver.h
"
2
#include "
driverlib.h
"
3
4
int
COM_Has_work
(
void
)
5
{
6
return
driver
->
Do_work
? 1 : 0;
7
}
8
9
int
COM_Work_stream
(
void
)
10
{
11
return
driver
->
Work_stream
? (*
driver
->
Work_stream
) ()
12
: -1;
13
}
14
15
void
COM_Do_work
(
int
opened)
16
{
17
if
(
driver
->
Do_work
)
18
(*
driver
->
Do_work
) (opened);
19
}
lib
driver
Work.c
Generated on Sun Sep 9 2012 18:55:35 for GRASS Programmer's Manual by
1.8.1.2