#ifndef MEMHEADER_H
#define MEMHEADER_H

namespace mem {

  // length of message must be divisible by sizeof(int)
  struct Header
  {
    short len_; // in number of integers, total including header
    short type_; // unique message ID
  };

  const int AllocID = 1;
  const int FreeID = 2;
  const int ReallocID = 3;
  const int CallocID = 4;
  const int LastID = 4;
  const int UnknownID =5;

}

#endif
