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