Type Slot

#include <heappage.h>

A Slot maintains information about a record in a heap page. offset is the offset of the record from the beginning of data area (pointed to by member data) and length is the length of the record.

struct Slot {
    int offset;
    int length;
}