geom.h revision 7e7bd3dccbfe8f79e25e5c1554b5bc3a9aaca321
/*
libparted - a library for manipulating disk partitions
Copyright (C) 1998-2001, 2005, 2006, 2007 Free Software Foundation, Inc.
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* \addtogroup PedGeometry
* @{
*/
/** \file geom.h */
#ifndef PED_GEOM_H_INCLUDED
#define PED_GEOM_H_INCLUDED
typedef struct _PedGeometry PedGeometry;
/**
* Geometry of the partition
*/
struct _PedGeometry {
};
const PedGeometry* b);
extern int ped_geometry_test_overlap (const PedGeometry* a,
const PedGeometry* b);
extern int ped_geometry_test_inside (const PedGeometry* a,
const PedGeometry* b);
/* returns -1 if "sector" is not within dest's space. */
const PedGeometry* src,
#endif /* PED_GEOM_H_INCLUDED */
/** @} */