GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
rowio.h
Go to the documentation of this file.
1
#ifndef GRASS_ROWIO_H
2
#define GRASS_ROWIO_H
3
4
typedef
struct
5
{
6
int
fd
;
/* file descriptor for reading */
7
int
nrows
;
/* number of rows to be held in memory */
8
int
len
;
/* buffer length */
9
int
cur
;
/* current row in memory */
10
void
*
buf
;
/* current data buf */
11
int (*getrow) (int,
void
*, int, int);
/* routine to do the row reads */
12
int (*putrow) (int,
const
void
*, int, int);
/* routine to do the row writes */
13
14
struct
ROWIO_RCB
15
{
16
void
*
buf
;
/* data buffer */
17
int
age
;
/* for order of access */
18
int
row
;
/* row number */
19
int
dirty
;
20
} *rcb;
21
}
ROWIO
;
22
23
#include <
grass/defs/rowio.h
>
24
25
#endif
ROWIO::ROWIO_RCB
Definition:
rowio.h:14
ROWIO::ROWIO_RCB::buf
void * buf
Definition:
rowio.h:16
ROWIO::ROWIO_RCB::row
int row
Definition:
rowio.h:18
ROWIO::cur
int cur
Definition:
rowio.h:9
ROWIO::ROWIO_RCB::age
int age
Definition:
rowio.h:17
rowio.h
ROWIO::len
int len
Definition:
rowio.h:8
ROWIO::buf
void * buf
Definition:
rowio.h:10
ROWIO
Definition:
rowio.h:4
ROWIO::fd
int fd
Definition:
rowio.h:6
ROWIO::nrows
int nrows
Definition:
rowio.h:7
ROWIO::ROWIO_RCB::dirty
int dirty
Definition:
rowio.h:19
include
grass
rowio.h
Generated on Tue Feb 14 2023 05:56:01 for GRASS GIS 8 Programmer's Manual by
1.8.13