]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/Include/paths.h
StdLib: Remove EfiSocketLib and Ip4Config Protocol dependency.
[mirror_edk2.git] / StdLib / Include / paths.h
CommitLineData
19022521 1/** @file\r
2\r
dfa51bb6 3 Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>\r
19022521 4 This program and the accompanying materials\r
5 are licensed and made available under the terms and conditions of the BSD License\r
6 which accompanies this distribution. The full text of the license may be found at\r
7 http://opensource.org/licenses/bsd-license.php\r
8\r
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
2aa62f2b 11\r
2aa62f2b 12 * Copyright (c) 1989, 1993\r
13 * The Regents of the University of California. All rights reserved.\r
14 *\r
15 * Redistribution and use in source and binary forms, with or without\r
16 * modification, are permitted provided that the following conditions\r
17 * are met:\r
18 * 1. Redistributions of source code must retain the above copyright\r
19 * notice, this list of conditions and the following disclaimer.\r
20 * 2. Redistributions in binary form must reproduce the above copyright\r
21 * notice, this list of conditions and the following disclaimer in the\r
22 * documentation and/or other materials provided with the distribution.\r
23 * 3. Neither the name of the University nor the names of its contributors\r
24 * may be used to endorse or promote products derived from this software\r
25 * without specific prior written permission.\r
26 *\r
27 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
28 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
30 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
37 * SUCH DAMAGE.\r
38 *\r
39 * @(#)paths.h 8.1 (Berkeley) 6/2/93\r
19022521 40 * $NetBSD: paths.h,v 1.30 2004/12/11 06:01:33 christos Exp\r
2aa62f2b 41 */\r
42\r
43#ifndef _PATHS_H_\r
44#define _PATHS_H_\r
45\r
19022521 46/* Provide trailing slash, since mostly used for building pathnames.\r
d7ce7006 47 * see the __CONCAT() macro from <sys/EfiCdefs.h> for cpp examples.\r
48 */\r
19022521 49#define _PATH_DEV "/dev/"\r
50#define _PATH_STDLIB "/Efi/StdLib/"\r
51#define _PATH_ETC _PATH_STDLIB "etc/"\r
52#define _PATH_TMP _PATH_STDLIB "tmp/"\r
dfa51bb6 53#define _PATH_LIB _PATH_STDLIB "lib/"\r
19022521 54#define _PATH_BIN "/Efi/Tools/"\r
2aa62f2b 55\r
19022521 56/* DOS style device paths */\r
57#define _PATH_TTYDEV "tty:"\r
58#define _PATH_NULLDEV "null:"\r
59#define _PATH_CONSOLE "console:"\r
60#define _PATH_CONSTTY "constty:"\r
61#define _PATH_STDIN "stdin:"\r
62#define _PATH_STDOUT "stdout:"\r
63#define _PATH_STDERR "stderr:"\r
64#define _PATH_SOCKET "socket:"\r
53e1e5c6 65\r
19022521 66/* *nix style device paths */\r
d7ce7006 67#define _PATH_DEVTTY _PATH_DEV "tty"\r
68#define _PATH_DEVNULL _PATH_DEV "null"\r
69#define _PATH_DEVCONSOLE _PATH_DEV "console"\r
70#define _PATH_DEVCONSTTY _PATH_DEV "constty"\r
71#define _PATH_DEVSTDIN _PATH_DEV "stdin"\r
72#define _PATH_DEVSTDOUT _PATH_DEV "stdout"\r
73#define _PATH_DEVSTDERR _PATH_DEV "stderr"\r
74#define _PATH_DEVSOCKET _PATH_DEV "socket"\r
53e1e5c6 75\r
19022521 76/* Special files and locations */\r
d7ce7006 77#define _PATH_FSTAB _PATH_ETC "fstab"\r
d7ce7006 78#define _PATH_HOSTNAME _PATH_ETC "hostname"\r
79#define _PATH_HOSTS _PATH_ETC "hosts"\r
80#define _PATH_HOSTCONF _PATH_ETC "host.conf"\r
81#define _PATH_LOCALE _PATH_ETC "Locale"\r
82#define _PATH_NETCONF _PATH_ETC "host.conf"\r
83#define _PATH_NETWORKS _PATH_ETC "networks"\r
84#define _PATH_PROTOCOLS _PATH_ETC "protocols"\r
2aa62f2b 85\r
19022521 86/* Resolver configuration file.\r
d7ce7006 87 * Normally not present, but may contain the address of the\r
88 * inital name server(s) to query and the domain search list.\r
2aa62f2b 89 */\r
d7ce7006 90#define _PATH_RESCONF _PATH_ETC "resolv.conf"\r
91#define _PATH_SERVICES _PATH_ETC "services"\r
2aa62f2b 92\r
93#endif /* !_PATHS_H_ */\r