LICK
 All Data Structures Files Functions Variables Enumerations Enumerator
Functions
grub2.h File Reference

Manage grub2 menus. More...

#include "../menu.h"
Include dependency graph for grub2.h:

Go to the source code of this file.

Functions

char mount_uefi_partition ()
 mounts the UEFI partition on a free drive More...
 
int unmount_uefi_partition (char drive)
 unmounts the UEFI partition More...
 
menu_tget_grub2 ()
 get the grub2 menu plugin More...
 

Detailed Description

Manage grub2 menus.

Function Documentation

menu_t* get_grub2 ( )

get the grub2 menu plugin

Returns
a menu_t. Must be freed using free
char mount_uefi_partition ( )

mounts the UEFI partition on a free drive

Returns
the letter to the drive where the UEFI partition is mounted, or '\0' if it could not be mounted
int unmount_uefi_partition ( char  drive)

unmounts the UEFI partition

Parameters
drivethe drive letter where the partition is mounted
Returns
1 if the partition is unmounted