GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
Loading...
Searching...
No Matches
defs/segment.h
Go to the documentation of this file.
1#ifndef GRASS_SEGMENTDEFS_H
2#define GRASS_SEGMENTDEFS_H
3
4int Segment_open(SEGMENT *, char *, off_t, off_t, int, int, int, int);
7int Segment_format(int, off_t, off_t, int, int, int);
8int Segment_format_nofill(int, off_t, off_t, int, int, int);
9int Segment_get(SEGMENT *, void *, off_t, off_t);
10int Segment_get_row(const SEGMENT *, void *, off_t);
11int Segment_init(SEGMENT *, int, int);
12int Segment_put(SEGMENT *, const void *, off_t, off_t);
13int Segment_put_row(const SEGMENT *, const void *, off_t);
15
16#endif /* GRASS_SEGMENTDEFS_H */
int Segment_get_row(const SEGMENT *, void *, off_t)
int Segment_open(SEGMENT *, char *, off_t, off_t, int, int, int, int)
Initialize segment structure and open segment file.
int Segment_get(SEGMENT *, void *, off_t, off_t)
Get value from segment file.
Definition segment/get.c:36
int Segment_put_row(const SEGMENT *, const void *, off_t)
Write row to segment file.
int Segment_release(SEGMENT *)
Free memory allocated to segment.
int Segment_format_nofill(int, off_t, off_t, int, int, int)
Format a segment file.
int Segment_format(int, off_t, off_t, int, int, int)
Format a segment file.
int Segment_flush(SEGMENT *)
Flush pending updates to disk.
Definition flush.c:29
int Segment_init(SEGMENT *, int, int)
Initialize segment structure.
int Segment_close(SEGMENT *)
Free memory allocated to segment, delete temp file.
int Segment_put(SEGMENT *, const void *, off_t, off_t)
Definition segment/put.c:42