1 /* vi: set sw=4 ts=4: */
3 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
5 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
11 #ifndef BB_EXTRA_VERSION
12 #define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
14 #define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
16 const char * const libbb_msg_full_version = LIBBB_BANNER;
18 #ifdef L_memory_exhausted
19 const char * const bb_msg_memory_exhausted = "memory exhausted";
22 const char * const bb_msg_invalid_date = "invalid date `%s'";
25 const char * const bb_msg_io_error = "%s: input/output error -- %m";
28 const char * const bb_msg_write_error = "Write Error";
31 const char * const bb_msg_read_error = "Read Error";
33 #ifdef L_name_longer_than_foo
34 const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
37 const char * const bb_msg_unknown = "(unknown)";
39 #ifdef L_can_not_create_raw_socket
40 const char * const bb_msg_can_not_create_raw_socket = "can't create raw socket";
42 #ifdef L_perm_denied_are_you_root
43 const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
45 #ifdef L_msg_requires_arg
46 const char * const bb_msg_requires_arg = "%s requires an argument";
48 #ifdef L_msg_invalid_arg
49 const char * const bb_msg_invalid_arg = "invalid argument `%s' to `%s'";
51 #ifdef L_msg_standard_input
52 const char * const bb_msg_standard_input = "standard input";
54 #ifdef L_msg_standard_output
55 const char * const bb_msg_standard_output = "standard output";
59 #define PASSWD_FILE "/etc/passwd"
60 const char * const bb_path_passwd_file = PASSWD_FILE;
64 #define SHADOW_FILE "/etc/shadow"
65 const char * const bb_path_shadow_file = SHADOW_FILE;
69 #define GROUP_FILE "/etc/group"
70 const char * const bb_path_group_file = GROUP_FILE;
74 #define GSHADOW_FILE "/etc/gshadow"
75 const char * const bb_path_gshadow_file = GSHADOW_FILE;
79 #define NOLOGIN_FILE "/etc/nologin"
80 const char * const bb_path_nologin_file = NOLOGIN_FILE;
83 #ifdef L_securetty_file
84 #define SECURETTY_FILE "/etc/securetty"
85 const char * const bb_path_securetty_file = SECURETTY_FILE;
89 #define MOTD_FILE "/etc/motd"
90 const char * const bb_path_motd_file = MOTD_FILE;
94 const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
98 const char * const bb_dev_null = "/dev/null";
101 #ifdef L_bb_path_wtmp_file
103 /* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */
104 const char * const bb_path_wtmp_file =
105 #if defined _PATH_WTMP
107 #elif defined WTMP_FILE
110 # error unknown path to wtmp file
115 #ifdef L_bb_common_bufsiz1
116 char bb_common_bufsiz1[BUFSIZ+1];