xref: /titanic_41/usr/src/cmd/syseventd/daemons/syseventconfd/message_confd.h (revision e11c3f44f531fdff80941ce57c065d2ae861cefc)
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 (c) 2000 by Sun Microsystems, Inc.
24  * All rights reserved.
25  */
26 
27 #ifndef	_MESSAGE_CONFD_H
28 #define	_MESSAGE_CONFD_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 
37 #define	OUT_OF_MEMORY_ERR	\
38 	gettext("Out of memory.")
39 
40 #define	INIT_ROOT_DIR_ERR \
41 	gettext("Initialization error: could not allocate space for the local \
42 		root directory - %s\n")
43 
44 #define	INIT_THR_CREATE_ERR \
45 	gettext("Initialization error:could not create signal thread - '%s' \
46 		\n")
47 
48 #define	CANNOT_FORK_ERR	\
49 	gettext("cannot fork - %s\n")
50 
51 #define	SETUID_ERR	\
52 	gettext("%s, line %d: " "cannot setuid to user '%s' - %s\n")
53 
54 #define	CANNOT_EXEC_ERR	\
55 	gettext("cannot exec %s - %s\n")
56 
57 #define	CHILD_EXIT_STATUS_ERR \
58 	gettext("process %d exited with status %d\n")
59 
60 #define	CHILD_EXIT_CORE_ERR \
61 	gettext("process %d dumped core - %s\n")
62 
63 #define	CHILD_EXIT_SIGNAL_ERR \
64 	gettext("process %d - %s\n")
65 
66 #define	CHANNEL_OPEN_ERR \
67 	gettext("unable to open channel to syseventd\n")
68 
69 #define	CHANNEL_BIND_ERR \
70 	gettext("unable to bind channel to syseventd\n")
71 
72 #define	NO_NVLIST_ERR \
73 	gettext("missing nvlist\n")
74 
75 #define	NVLIST_FORMAT_ERR \
76 	gettext("nvlist missing '%s'\n")
77 
78 #define	NVLIST_FILE_LINE_FORMAT_ERR \
79 	gettext("%s, line %d: nvlist missing '%s'\n")
80 
81 
82 #ifdef	__cplusplus
83 }
84 #endif
85 
86 #endif	/* _MESSAGE_CONFD_H */
87