Port over the last of the tinylogin applets
[platform/upstream/busybox.git] / libbb / messages.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
4  * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  */
21
22 #include "busybox.h"
23 #include "libbb.h"
24
25 #ifdef L_full_version
26         const char * const full_version = BB_BANNER " multi-call binary";
27 #endif
28 #ifdef L_name_too_long
29         const char * const name_too_long = "file name too long";
30 #endif
31
32 #ifdef L_omitting_directory
33         const char * const omitting_directory = "%s: omitting directory";
34 #endif
35 #ifdef L_not_a_directory
36         const char * const not_a_directory = "%s: not a directory";
37 #endif
38 #ifdef L_memory_exhausted
39         const char * const memory_exhausted = "memory exhausted";
40 #endif
41 #ifdef L_invalid_date
42         const char * const invalid_date = "invalid date `%s'";
43 #endif
44 #ifdef L_invalid_option
45         const char * const invalid_option = "invalid option -- %c";
46 #endif
47 #ifdef L_io_error
48         const char * const io_error = "%s: input/output error -- %s";
49 #endif
50 #ifdef L_dash_dash_help
51         const char * const dash_dash_help = "--help";
52 #endif
53 #ifdef L_write_error
54         const char * const write_error = "Write Error";
55 #endif
56 #ifdef L_too_few_args
57         const char * const too_few_args = "too few arguments";
58 #endif
59 #ifdef L_name_longer_than_foo
60         const char * const name_longer_than_foo = "Names longer than %d chars not supported.";
61 #endif
62 #ifdef L_unknown
63         const char * const unknown = "(unknown)";
64 #endif
65
66 #ifdef L_can_not_create_raw_socket
67         const char * const can_not_create_raw_socket = "can`t create raw socket";
68 #endif
69
70 #ifdef L_passwd_file
71 #define PASSWD_FILE        "/etc/passwd"
72 const char * const passwd_file = PASSWD_FILE;
73 #endif
74
75 #ifdef L_shadow_file
76 #define SHADOW_FILE        "/etc/shadow"
77 const char * const shadow_file = SHADOW_FILE;
78 #endif
79
80 #ifdef L_group_file
81 #define GROUP_FILE         "/etc/group"
82 const char * const group_file = GROUP_FILE;
83 #endif
84
85 #ifdef L_gshadow_file
86 #define GSHADOW_FILE       "/etc/gshadow"
87 const char * const gshadow_file = GSHADOW_FILE;
88 #endif
89
90 #ifdef L_nologin_file
91 #define NOLOGIN_FILE       "/etc/nologin"
92 const char * const nologin_file = NOLOGIN_FILE;
93 #endif
94
95 #ifdef L_securetty_file
96 #define SECURETTY_FILE     "/etc/securetty"
97 const char * const securetty_file = SECURETTY_FILE;
98 #endif
99
100 #ifdef L_motd_file
101 #define MOTD_FILE          "/etc/motd"
102 const char * const motd_file = MOTD_FILE;
103 #endif
104