1 #ifndef GRASS_SEGMENTDEFS_H 2 #define GRASS_SEGMENTDEFS_H int Segment_release(SEGMENT *)
Free memory allocated to segment.
int Segment_get(SEGMENT *, void *, off_t, off_t)
Get value from segment file.
int Segment_put_row(const SEGMENT *, const void *, off_t)
Write row to segment file.
int Segment_open(SEGMENT *, char *, off_t, off_t, int, int, int, int)
Initialize segment structure and open segment file.
int Segment_put(SEGMENT *, const void *, off_t, off_t)
int Segment_close(SEGMENT *)
Free memory allocated to segment, delete temp file.
int Segment_format_nofill(int, off_t, off_t, int, int, int)
Format a segment file.
int Segment_init(SEGMENT *, int, int)
Initialize segment structure.
int Segment_flush(SEGMENT *)
Flush pending updates to disk.
int Segment_format(int, off_t, off_t, int, int, int)
Format a segment file.
int Segment_get_row(const SEGMENT *, void *, off_t)