1 /* vi: set sw=4 ts=4: */
3 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 #ifndef BB_EXTRA_VERSION
26 #define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
28 #define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
30 const char * const libbb_msg_full_version = LIBBB_BANNER;
32 #ifdef L_memory_exhausted
33 const char * const bb_msg_memory_exhausted = "memory exhausted";
36 const char * const bb_msg_invalid_date = "invalid date `%s'";
39 const char * const bb_msg_io_error = "%s: input/output error -- %m";
42 const char * const bb_msg_write_error = "Write Error";
45 const char * const bb_msg_read_error = "Read Error";
47 #ifdef L_name_longer_than_foo
48 const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
51 const char * const bb_msg_unknown = "(unknown)";
53 #ifdef L_can_not_create_raw_socket
54 const char * const bb_msg_can_not_create_raw_socket = "can`t create raw socket";
56 #ifdef L_perm_denied_are_you_root
57 const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
59 #ifdef L_msg_standard_input
60 const char * const bb_msg_standard_input = "standard input";
62 #ifdef L_msg_standard_output
63 const char * const bb_msg_standard_output = "standard output";
67 #define PASSWD_FILE "/etc/passwd"
68 const char * const bb_path_passwd_file = PASSWD_FILE;
72 #define SHADOW_FILE "/etc/shadow"
73 const char * const bb_path_shadow_file = SHADOW_FILE;
77 #define GROUP_FILE "/etc/group"
78 const char * const bb_path_group_file = GROUP_FILE;
82 #define GSHADOW_FILE "/etc/gshadow"
83 const char * const bb_path_gshadow_file = GSHADOW_FILE;
87 #define NOLOGIN_FILE "/etc/nologin"
88 const char * const bb_path_nologin_file = NOLOGIN_FILE;
91 #ifdef L_securetty_file
92 #define SECURETTY_FILE "/etc/securetty"
93 const char * const bb_path_securetty_file = SECURETTY_FILE;
97 #define MOTD_FILE "/etc/motd"
98 const char * const bb_path_motd_file = MOTD_FILE;
102 const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
106 const char * const bb_dev_null = "/dev/null";
109 #ifdef L_bb_common_bufsiz1
110 char bb_common_bufsiz1[BUFSIZ+1];