1*a5602e1bSKeith M Wesolowski /*
2*a5602e1bSKeith M Wesolowski  *  GRUB  --  GRand Unified Bootloader
3*a5602e1bSKeith M Wesolowski  *  Copyright (c) 2013 Joyent, Inc.  All rights reserved.
4*a5602e1bSKeith M Wesolowski  *
5*a5602e1bSKeith M Wesolowski  *  This program is free software; you can redistribute it and/or modify
6*a5602e1bSKeith M Wesolowski  *  it under the terms of the GNU General Public License as published by
7*a5602e1bSKeith M Wesolowski  *  the Free Software Foundation; either version 2 of the License, or
8*a5602e1bSKeith M Wesolowski  *  (at your option) any later version.
9*a5602e1bSKeith M Wesolowski  *
10*a5602e1bSKeith M Wesolowski  *  This program is distributed in the hope that it will be useful,
11*a5602e1bSKeith M Wesolowski  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12*a5602e1bSKeith M Wesolowski  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*a5602e1bSKeith M Wesolowski  *  GNU General Public License for more details.
14*a5602e1bSKeith M Wesolowski  *
15*a5602e1bSKeith M Wesolowski  *  You should have received a copy of the GNU General Public License
16*a5602e1bSKeith M Wesolowski  *  along with this program; if not, write to the Free Software
17*a5602e1bSKeith M Wesolowski  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18*a5602e1bSKeith M Wesolowski  */
19*a5602e1bSKeith M Wesolowski 
20*a5602e1bSKeith M Wesolowski #ifndef	_GRUB_EXPAND_H
21*a5602e1bSKeith M Wesolowski #define	_GRUB_EXPAND_H
22*a5602e1bSKeith M Wesolowski 
23*a5602e1bSKeith M Wesolowski #define	EV_NAMELEN	32
24*a5602e1bSKeith M Wesolowski 
25*a5602e1bSKeith M Wesolowski extern void init_variables(void);
26*a5602e1bSKeith M Wesolowski extern int set_variable(const char *, const char *);
27*a5602e1bSKeith M Wesolowski extern const char *get_variable(const char *);
28*a5602e1bSKeith M Wesolowski extern int expand_string(const char *, char *, unsigned int);
29*a5602e1bSKeith M Wesolowski extern void dump_variables(void);
30*a5602e1bSKeith M Wesolowski 
31*a5602e1bSKeith M Wesolowski #endif
32