segment.h 626 B

1234567891011121314151617
  1. #ifndef GRASS_SEGMENTDEFS_H
  2. #define GRASS_SEGMENTDEFS_H
  3. int Segment_open(SEGMENT *, char *, off_t, off_t, int, int, int, int);
  4. int Segment_close(SEGMENT *);
  5. int Segment_flush(SEGMENT *);
  6. int Segment_format(int, off_t, off_t, int, int, int);
  7. int Segment_format_nofill(int, off_t, off_t, int, int, int);
  8. int Segment_get(SEGMENT *, void *, off_t, off_t);
  9. int Segment_get_row(const SEGMENT *, void *, off_t);
  10. int Segment_init(SEGMENT *, int, int);
  11. int Segment_put(SEGMENT *, const void *, off_t, off_t);
  12. int Segment_put_row(const SEGMENT *, const void *, off_t);
  13. int Segment_release(SEGMENT *);
  14. #endif /* GRASS_SEGMENTDEFS_H */