source: MondoRescue/branches/2.2.2/mindi-busybox/libbb/messages.c@ 1247

Last change on this file since 1247 was 821, checked in by Bruno Cornec, 18 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 3.1 KB
Line 
1/* vi: set sw=4 ts=4: */
2/*
3 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4 *
5 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
6 *
7 */
8
9#include "libbb.h"
10
11#ifdef L_full_version
12#ifndef BB_EXTRA_VERSION
13#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_BT ")"
14#else
15#define LIBBB_BANNER "BusyBox's library v" BB_VER " (" BB_EXTRA_VERSION ")"
16#endif
17 const char * const libbb_msg_full_version = LIBBB_BANNER;
18#endif
19#ifdef L_memory_exhausted
20 const char * const bb_msg_memory_exhausted = "memory exhausted";
21#endif
22#ifdef L_invalid_date
23 const char * const bb_msg_invalid_date = "invalid date `%s'";
24#endif
25#ifdef L_io_error
26 const char * const bb_msg_io_error = "%s: input/output error -- %m";
27#endif
28#ifdef L_write_error
29 const char * const bb_msg_write_error = "Write Error";
30#endif
31#ifdef L_read_error
32 const char * const bb_msg_read_error = "Read Error";
33#endif
34#ifdef L_name_longer_than_foo
35 const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
36#endif
37#ifdef L_unknown
38 const char * const bb_msg_unknown = "(unknown)";
39#endif
40#ifdef L_can_not_create_raw_socket
41 const char * const bb_msg_can_not_create_raw_socket = "can't create raw socket";
42#endif
43#ifdef L_perm_denied_are_you_root
44 const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
45#endif
46#ifdef L_msg_requires_arg
47 const char * const bb_msg_requires_arg = "%s requires an argument";
48#endif
49#ifdef L_msg_invalid_arg
50 const char * const bb_msg_invalid_arg = "invalid argument `%s' to `%s'";
51#endif
52#ifdef L_msg_standard_input
53 const char * const bb_msg_standard_input = "standard input";
54#endif
55#ifdef L_msg_standard_output
56 const char * const bb_msg_standard_output = "standard output";
57#endif
58
59#ifdef L_passwd_file
60#define PASSWD_FILE "/etc/passwd"
61const char * const bb_path_passwd_file = PASSWD_FILE;
62#endif
63
64#ifdef L_shadow_file
65#define SHADOW_FILE "/etc/shadow"
66const char * const bb_path_shadow_file = SHADOW_FILE;
67#endif
68
69#ifdef L_group_file
70#define GROUP_FILE "/etc/group"
71const char * const bb_path_group_file = GROUP_FILE;
72#endif
73
74#ifdef L_gshadow_file
75#define GSHADOW_FILE "/etc/gshadow"
76const char * const bb_path_gshadow_file = GSHADOW_FILE;
77#endif
78
79#ifdef L_nologin_file
80#define NOLOGIN_FILE "/etc/nologin"
81const char * const bb_path_nologin_file = NOLOGIN_FILE;
82#endif
83
84#ifdef L_securetty_file
85#define SECURETTY_FILE "/etc/securetty"
86const char * const bb_path_securetty_file = SECURETTY_FILE;
87#endif
88
89#ifdef L_motd_file
90#define MOTD_FILE "/etc/motd"
91const char * const bb_path_motd_file = MOTD_FILE;
92#endif
93
94#ifdef L_shell_file
95const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
96#endif
97
98#ifdef L_bb_dev_null
99const char * const bb_dev_null = "/dev/null";
100#endif
101
102#ifdef L_bb_path_wtmp_file
103#include <utmp.h>
104/* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */
105const char * const bb_path_wtmp_file =
106#if defined _PATH_WTMP
107_PATH_WTMP;
108#elif defined WTMP_FILE
109WTMP_FILE;
110#else
111# error unknown path to wtmp file
112#endif
113#endif
114
115
116#ifdef L_bb_common_bufsiz1
117char bb_common_bufsiz1[BUFSIZ+1];
118#endif
Note: See TracBrowser for help on using the repository browser.