/* -*- Mode: c; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
libparted - a library for manipulating disk partitions
Copyright (C) 2000-2001, 2007-2010 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/>.
Contributor: Matt Wilson <msw@redhat.com>
*/
#include <config.h>
#include <stdbool.h>
#include "pt-tools.h"
#if ENABLE_NLS
# include <libintl.h>
#else
#endif /* ENABLE_NLS */
static inline int
{
return *(unsigned int *)label;
}
static inline void
{
}
static int
{
void *label;
return 0;
return magic == AIX_LABEL_MAGIC;
}
static PedDisk*
{
if (!disk)
return NULL;
return disk;
}
static PedDisk*
{
if (!new_disk)
return NULL;
return new_disk;
}
static void
{
}
static int
{
_("Support for reading AIX disk labels is "
"is not implemented yet."));
return 0;
}
#ifndef DISCOVER_ONLY
static int
{
_("Support for writing AIX disk labels is "
"is not implemented yet."));
return 0;
}
#endif /* !DISCOVER_ONLY */
static PedPartition*
const PedFileSystemType* fs_type,
{
_("Support for adding partitions to AIX disk "
"labels is not implemented yet."));
return NULL;
}
static PedPartition*
{
_("Support for duplicating partitions in AIX "
"disk labels is not implemented yet."));
return NULL;
}
static void
{
}
static int
{
_("Support for setting system type of partitions "
"in AIX disk labels is not implemented yet."));
return 0;
}
static int
{
_("Support for setting flags "
"in AIX disk labels is not implemented yet."));
return 0;
}
static int
{
return 0;
}
static int
{
return 0;
}
static int
{
return 4;
}
static bool
{
*max_n = MAX_TOTAL_PART;
return true;
}
static int
{
return 1;
}
static int
{
return 1;
}
static int
{
return 1;
}
#include "pt-common.h"
};
.name = "aix",
.ops = &aix_disk_ops,
.features = 0
};
void
{
}
void
{
}