]> git.ipfire.org Git - thirdparty/util-linux.git/commit - fdisks/utils.c
fdisk: API: add to label operations to context
authorDavidlohr Bueso <dave@gnu.org>
Sun, 22 Jul 2012 17:05:01 +0000 (19:05 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Jul 2012 15:31:06 +0000 (17:31 +0200)
commit79c8a145ddff98d9c5bc70e67c5a861f67c50484
treedb36e3870a18fa7ae76fe42cafb96428eebb678f
parent67987b47346932625c077ca575fce5de568a21dd
fdisk: API: add to label operations to context

The context structure is the fdisk API's main data type as it keeps all data
together. Add the label structure to it, so that the pt-specific operations can
be called from the context.

[kzak@redhat.com: - merge with latest changes
                  - don't allocate the label, use const pointer]

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
fdisks/fdisk.c
fdisks/fdisk.h
fdisks/utils.c