20#include "local_proto.h"
34#define SEG_SEEK_FAST(SEG, n, index) \
35 ((((off_t)(n)) << (SEG)->sizebits) + (index) + (SEG)->offset)
37#define SEG_SEEK_SLOW(SEG, n, index) \
38 ((off_t)(n) * (SEG)->size + (index) + (SEG)->offset)
AMI_err seek(off_t offset)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int seg_seek(const SEGMENT *SEG, int n, int index)
int seg_seek_fast(const SEGMENT *SEG, int n, int index)
int seg_seek_slow(const SEGMENT *SEG, int n, int index)
#define SEG_SEEK_FAST(SEG, n, index)
Internal use only.
#define SEG_SEEK_SLOW(SEG, n, index)