/***************************************
$Header: /home/amb/routino/src/RCS/typesx.h,v 1.3 2009/10/09 18:47:40 amb Exp $
Type definitions for eXtended types.
Part of the Routino routing software.
******************/ /******************
This file Copyright 2008,2009 Andrew M. Bishop
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
***************************************/
#ifndef TYPESX_H
#define TYPESX_H /*+ To stop multiple inclusions. +*/
#include
/* Simple Types */
/*+ A node identifier - must be at least as large as index_t. +*/
typedef uint32_t node_t;
/*+ A way identifier - must be at least as large as index_t. +*/
typedef uint32_t way_t;
/* Data structures */
typedef struct _NodeX NodeX;
typedef struct _NodesX NodesX;
typedef struct _SegmentX SegmentX;
typedef struct _SegmentsX SegmentsX;
typedef struct _WayX WayX;
typedef struct _WaysX WaysX;
#endif /* TYPESX_H */