constraint.h   constraint.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1998-2000, 2007, 2009-2010 Free Software Foundation, Copyright (C) 1998-2000, 2007, 2009-2011 Free Software Foundation, Inc.
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added


 debug.h   debug.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1998-2000, 2002, 2007, 2009-2010 Free Software Copyright (C) 1998-2000, 2002, 2007, 2009-2011 Free Software Foundation
Foundation, Inc. ,
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
skipping to change at line 44 skipping to change at line 44
extern void __attribute__((__noreturn__)) extern void __attribute__((__noreturn__))
ped_assert ( const char* cond_text, ped_assert ( const char* cond_text,
const char* file, int line, const char* function ) ; const char* file, int line, const char* function ) ;
#if defined __GNUC__ && !defined __JSFTRACE__ #if defined __GNUC__ && !defined __JSFTRACE__
#define PED_DEBUG(level, ...) \ #define PED_DEBUG(level, ...) \
ped_debug ( level, __FILE__, __LINE__, __PRETTY_FUNCTION__, \ ped_debug ( level, __FILE__, __LINE__, __PRETTY_FUNCTION__, \
__VA_ARGS__ ) __VA_ARGS__ )
#define PED_ASSERT(cond, action) \ #define PED_ASSERT(cond) \
do { \ do { \
if (!(cond)) { \ if (!(cond)) { \
ped_assert ( \ ped_assert ( \
#cond, \ #cond, \
__FILE__, \ __FILE__, \
__LINE__, \ __LINE__, \
__PRETTY_FUNCTION__ ); \ __PRETTY_FUNCTION__ ); \
} \ } \
} while (0) } while (0)
skipping to change at line 67 skipping to change at line 67
/* function because variadic macros are C99 */ /* function because variadic macros are C99 */
static void PED_DEBUG (int level, ...) static void PED_DEBUG (int level, ...)
{ {
va_list va_args; va_list va_args;
va_start (va_args, level); va_start (va_args, level);
ped_debug ( level, "unknown file", 0, "unknown function", va_args ) ; ped_debug ( level, "unknown file", 0, "unknown function", va_args ) ;
va_end (va_args); va_end (va_args);
} }
#define PED_ASSERT(cond, action) \ #define PED_ASSERT(cond) \
do { \ do { \
if (!(cond)) { \ if (!(cond)) { \
ped_assert ( \ ped_assert ( \
#cond, \ #cond, \
"unknown", \ "unknown", \
0, \ 0, \
"unknown"); \ "unknown"); \
} \ } \
} while (0) } while (0)
#endif /* __GNUC__ */ #endif /* __GNUC__ */
#else /* !DEBUG */ #else /* !DEBUG */
#define PED_ASSERT(cond, action) do {} while (0) #define PED_ASSERT(cond) do {} while (0)
#define PED_DEBUG(level, ...) do {} while (0) #define PED_DEBUG(level, ...) do {} while (0)
#endif /* DEBUG */ #endif /* DEBUG */
#endif /* PED_DEBUG_H_INCLUDED */ #endif /* PED_DEBUG_H_INCLUDED */
 End of changes. 4 change blocks. 
5 lines changed or deleted 6 lines changed or added


 disk.h   disk.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1999-2002, 2007-2010 Free Software Foundation, Inc. Copyright (C) 1999-2002, 2007-2011 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
skipping to change at line 72 skipping to change at line 72
PED_PARTITION_HIDDEN=4, PED_PARTITION_HIDDEN=4,
PED_PARTITION_RAID=5, PED_PARTITION_RAID=5,
PED_PARTITION_LVM=6, PED_PARTITION_LVM=6,
PED_PARTITION_LBA=7, PED_PARTITION_LBA=7,
PED_PARTITION_HPSERVICE=8, PED_PARTITION_HPSERVICE=8,
PED_PARTITION_PALO=9, PED_PARTITION_PALO=9,
PED_PARTITION_PREP=10, PED_PARTITION_PREP=10,
PED_PARTITION_MSFT_RESERVED=11, PED_PARTITION_MSFT_RESERVED=11,
PED_PARTITION_BIOS_GRUB=12, PED_PARTITION_BIOS_GRUB=12,
PED_PARTITION_APPLE_TV_RECOVERY=13, PED_PARTITION_APPLE_TV_RECOVERY=13,
PED_PARTITION_DIAG=14 PED_PARTITION_DIAG=14,
PED_PARTITION_LEGACY_BOOT=15
}; };
#define PED_PARTITION_FIRST_FLAG PED_PARTITION_BOOT #define PED_PARTITION_FIRST_FLAG PED_PARTITION_BOOT
#define PED_PARTITION_LAST_FLAG PED_PARTITION_DIAG #define PED_PARTITION_LAST_FLAG PED_PARTITION_LEGACY_BOOT
enum _PedDiskTypeFeature { enum _PedDiskTypeFeature {
PED_DISK_TYPE_EXTENDED=1, /**< supports extended partitions * / PED_DISK_TYPE_EXTENDED=1, /**< supports extended partitions * /
PED_DISK_TYPE_PARTITION_NAME=2 /**< supports partition names */ PED_DISK_TYPE_PARTITION_NAME=2 /**< supports partition names */
}; };
#define PED_DISK_TYPE_FIRST_FEATURE PED_DISK_TYPE_EXTENDED #define PED_DISK_TYPE_FIRST_FEATURE PED_DISK_TYPE_EXTENDED
#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_PARTITION_NAME #define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_PARTITION_NAME
struct _PedDisk; struct _PedDisk;
struct _PedPartition; struct _PedPartition;
 End of changes. 3 change blocks. 
3 lines changed or deleted 4 lines changed or added


 exception.h   exception.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1999-2000, 2007, 2009-2010 Free Software Foundation, Copyright (C) 1999-2000, 2007, 2009-2011 Free Software Foundation, Inc.
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added


 filesys.h   filesys.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1999-2001, 2006-2007, 2009-2010 Free Software Copyright (C) 1999-2001, 2006-2007, 2009-2011 Free Software Foundation,
Foundation, Inc. Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added


 geom.h   geom.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1998-2001, 2005, 2007, 2009-2010 Free Software Copyright (C) 1998-2001, 2005, 2007, 2009-2011 Free Software Foundation
Foundation, Inc. ,
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added


 natmath.h   natmath.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 2000, 2007-2010 Free Software Foundation, Inc. Copyright (C) 2000, 2007-2011 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 parted.h   parted.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 1999-2001, 2007, 2009-2010 Free Software Foundation, Copyright (C) 1999-2001, 2007, 2009-2011 Free Software Foundation, Inc.
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef PARTED_H_INCLUDED #ifndef PARTED_H_INCLUDED
#define PARTED_H_INCLUDED #define PARTED_H_INCLUDED
#define PED_DEFAULT_ALIGNMENT (1024 * 1024)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <parted/constraint.h> #include <parted/constraint.h>
#include <parted/device.h> #include <parted/device.h>
#include <parted/disk.h> #include <parted/disk.h>
#include <parted/exception.h> #include <parted/exception.h>
#include <parted/filesys.h> #include <parted/filesys.h>
#include <parted/natmath.h> #include <parted/natmath.h>
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added


 timer.h   timer.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 2001-2002, 2007, 2009-2010 Free Software Foundation, Copyright (C) 2001-2002, 2007, 2009-2011 Free Software Foundation, Inc.
Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added


 unit.h   unit.h 
/* /*
libparted - a library for manipulating disk partitions libparted - a library for manipulating disk partitions
Copyright (C) 2005, 2007, 2009-2010 Free Software Foundation, Inc. Copyright (C) 2005, 2007, 2009-2011 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/