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