xref: /haiku/headers/private/system/directories.h (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _SYSTEM_DIRECTORIES_H
6 #define _SYSTEM_DIRECTORIES_H
7 
8 
9 #define kGlobalBinDirectory 			"/bin"
10 #define kGlobalEtcDirectory 			"/etc"
11 #define kGlobalPackageLinksDirectory	"/packages"
12 #define kGlobalSystemDirectory 			"/system"
13 #define kGlobalTempDirectory 			"/tmp"
14 #define kGlobalVarDirectory 			"/var"
15 
16 #define kAppsDirectory 					"/boot/apps"
17 #define kPreferencesDirectory 			"/boot/preferences"
18 
19 #define kAppLocalAddonsDirectory 		"%A/add-ons"
20 #define kAppLocalLibDirectory 			"%A/lib"
21 
22 #define kVolumeLocalSystemKernelAddonsDirectory	"system/add-ons/kernel"
23 #define kVolumeLocalCommonNonpackagedKernelAddonsDirectory	\
24 	"common/non-packaged/add-ons/kernel"
25 #define kVolumeLocalCommonKernelAddonsDirectory	"common/add-ons/kernel"
26 #define kVolumeLocalUserNonpackagedKernelAddonsDirectory	\
27 	"home/config/non-packaged/add-ons/kernel"
28 #define kVolumeLocalUserKernelAddonsDirectory	"home/config/add-ons/kernel"
29 
30 #define kSystemDirectory 				"/boot/system"
31 #define kSystemAddonsDirectory 			"/boot/system/add-ons"
32 #define kSystemAppsDirectory 			"/boot/system/apps"
33 #define kSystemBinDirectory 			"/boot/system/bin"
34 #define kSystemDataDirectory 			"/boot/system/data"
35 #define kSystemDevelopDirectory 		"/boot/develop"
36 #define kSystemLibDirectory 			"/boot/system/lib"
37 #define kSystemPackagesDirectory 		"/boot/system/packages"
38 #define kSystemPackageLinksDirectory 		"/boot/system/package-links"
39 #define kSystemPreferencesDirectory 	"/boot/system/preferences"
40 #define kSystemServersDirectory 		"/boot/system/servers"
41 
42 #define kCommonDirectory 				"/boot/common"
43 #define kCommonAddonsDirectory 			"/boot/common/add-ons"
44 #define kCommonBinDirectory 			"/boot/common/bin"
45 #define kCommonDevelopToolsBinDirectory "/boot/develop/tools/current/bin"
46 #define kCommonEtcDirectory 			"/boot/common/etc"
47 #define kCommonLibDirectory 			"/boot/common/lib"
48 #define kCommonPackagesDirectory 		"/boot/common/packages"
49 #define kCommonSettingsDirectory 		"/boot/common/settings"
50 #define kCommonTempDirectory 			"/boot/common/cache/tmp"
51 #define kCommonVarDirectory 			"/boot/common/var"
52 #define kCommonLogDirectory 			"/boot/common/var/log"
53 #define kCommonNonpackagedAddonsDirectory	"/boot/common/non-packaged/add-ons"
54 #define kCommonNonpackagedBinDirectory 	"/boot/common/non-packaged/bin"
55 #define kCommonNonpackagedLibDirectory 	"/boot/common/non-packaged/lib"
56 
57 #define kUserDirectory 					"/boot/home"
58 #define kUserConfigDirectory 			"/boot/home/config"
59 #define kUserAddonsDirectory 			"/boot/home/config/add-ons"
60 #define kUserBinDirectory 				"/boot/home/config/bin"
61 #define kUserLibDirectory 				"/boot/home/config/lib"
62 #define kUserPackagesDirectory	 		"/boot/home/config/packages"
63 #define kUserSettingsDirectory 			"/boot/home/config/settings"
64 #define kUserNonpackagedAddonsDirectory "/boot/home/config/non-packaged/add-ons"
65 #define kUserNonpackagedBinDirectory 	"/boot/home/config/non-packaged/bin"
66 #define kUserNonpackagedLibDirectory 	"/boot/home/config/non-packaged/lib"
67 
68 
69 #endif	// _SYSTEM_DIRECTORIES_H
70