bootadm.h revision d876c67df282cf8c0136415d482d92d16ee59a0b
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * CDDL HEADER START
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * The contents of this file are subject to the terms of the
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * Common Development and Distribution License (the "License").
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * You may not use this file except in compliance with the License.
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * See the License for the specific language governing permissions
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * and limitations under the License.
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * When distributing Covered Code, include this CDDL HEADER in each
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * If applicable, add the following below this CDDL HEADER, with the
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * fields enclosed by brackets "[]" replaced with your own identifying
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * information: Portions Copyright [yyyy] [name of copyright owner]
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * CDDL HEADER END
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23fbe14f503c1e98292efc4ba1238adb7dc38d80Tom Gundersen * Use is subject to license terms.
#define _BOOTADM_H
#ifdef __cplusplus
#ifndef TEXT_DOMAIN
BAM_INVALID = 0,
} menu_flag_t;
typedef struct line {
char *cmd;
char *sep;
char *arg;
char *line;
} line_t;
typedef struct entry {
int entryNum;
} entry_t;
} menu_t;
BAM_SUCCESS = 0,
} error_t;
DEFAULT_CMD = 0,
} menu_cmd_t;
extern char *menu_cmds[];
} hv_t;
extern int bam_verbose;
extern int bam_force;
extern char *get_special(char *);
extern char *os_to_grubdisk(char *, int);
extern int is_grub(const char *);
#ifdef __cplusplus