xref: /illumos-gate/usr/src/cmd/bart/msgs.h (revision 657a8c206b913d1ee578fd725f0b25eca5b77253)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_MSGS_H
28 #define	_MSGS_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 #define	SYNTAX_ERR	gettext("ERROR: Ignoring rules syntax error: %s\n")
37 #define	SYNTAX_ABORT	gettext("ABORTING: Syntax error(s) in the rules file\n")
38 #define	INVALID_FILE	gettext("WARNING: Ignoring invalid file: %s\n")
39 #define	INVALID_SUBTREE	gettext("WARNING: Ignoring invalid subtree: %s\n")
40 #define	RULES_ERR	gettext("ERROR: -r option requires a filename\n")
41 #define	INPUT_ERR \
42 	gettext("ERROR: Cannot use -I and -r options together\n")
43 #define	MISSING_VER	\
44 	gettext("WARNING: %s has missing/invalid version string\n")
45 #define	MANIFEST_ERR	gettext("ERROR: Manifest corrupt, cannot continue\n")
46 #define	CONTENTS_WARN	gettext("WARNING: Checksum failed: %s\n")
47 #define	USAGE_MSG gettext("Usage:\n"\
48 	"\tbart create [-n] [-R root] [-r rules|-]\n"\
49 	"\tbart create [-n] [-R root] [-I | -I filelist]\n"\
50 	"\tbart compare [-r rules|-] [-i keywords] [-p] "\
51 		"control-manifest test-manifest\n")
52 
53 #ifdef	__cplusplus
54 }
55 #endif
56 
57 #endif	/* _MSGS_H */
58