xref: /haiku/headers/private/system/directories.h (revision aa4b5749d64af0c0573513c27296af16f4680367)
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/system/apps"
17 #define kPreferencesDirectory 			"/boot/system/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 	"system/non-packaged/add-ons/kernel"
25 #define kVolumeLocalCommonKernelAddonsDirectory	"system/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/system/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 #define kSystemSettingsDirectory 		"/boot/system/settings"
42 
43 #define kSystemEtcDirectory 			"/boot/system/settings/etc"
44 #define kSystemTempDirectory 			"/boot/system/cache/tmp"
45 #define kSystemVarDirectory 			"/boot/system/var"
46 #define kSystemLogDirectory 			"/boot/system/var/log"
47 #define kSystemNonpackagedDirectory		"/boot/system/non-packaged"
48 #define kSystemNonpackagedAddonsDirectory	"/boot/system/non-packaged/add-ons"
49 #define kSystemNonpackagedBinDirectory 	"/boot/system/non-packaged/bin"
50 #define kSystemNonpackagedLibDirectory 	"/boot/system/non-packaged/lib"
51 
52 #define kUserDirectory 					"/boot/home"
53 #define kUserConfigDirectory 			"/boot/home/config"
54 #define kUserAddonsDirectory 			"/boot/home/config/add-ons"
55 #define kUserBinDirectory 				"/boot/home/config/bin"
56 #define kUserLibDirectory 				"/boot/home/config/lib"
57 #define kUserPackagesDirectory	 		"/boot/home/config/packages"
58 #define kUserSettingsDirectory 			"/boot/home/config/settings"
59 #define kUserSettingsGlobalDirectory 	"/boot/home/config/settings/global"
60 #define kUserNonpackagedDirectory		"/boot/home/config/non-packaged"
61 #define kUserNonpackagedAddonsDirectory "/boot/home/config/non-packaged/add-ons"
62 #define kUserNonpackagedBinDirectory 	"/boot/home/config/non-packaged/bin"
63 #define kUserNonpackagedLibDirectory 	"/boot/home/config/non-packaged/lib"
64 
65 
66 #endif	// _SYSTEM_DIRECTORIES_H
67