#ifndef IDENTIFIER_H
#define IDENTIFIER_H

#include "MyTypes.h"

typedef Char		id_size_t ;

typedef struct {
  id_size_t	Size ;
  Char		Body[1] ;
}			_Identifier ;

typedef _Identifier *	Identifier ;

#define Id_Length(ID)	(*((id_size_t*)(ID)))
#define Id_Body(ID)	((ID)+sizeof(id_size_t))

CompareResult Identifier_Compare (Identifier A, Identifier B) ;
CompareResult Identifier_Compare_w_sz (Identifier A, Identifier B,
				       id_size_t common_size);

#endif /* Identifier.h */
