find_paths_etc(): added user/system only flags.

* B_FIND_PATHS_(USER|SYSTEM)_ONLY cause only the specified paths
  to be included in the result list.
This commit is contained in:
Axel Dörfler
2015-03-26 21:47:22 +00:00
parent 2bdffa6131
commit b7a87fd137
2 changed files with 27 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013, Haiku Inc. All Rights Reserved.
* Copyright 2002-2015, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _FIND_DIRECTORY_H
@@ -126,6 +126,9 @@ enum {
B_FIND_PATH_CREATE_DIRECTORY = 0x0001,
B_FIND_PATH_CREATE_PARENT_DIRECTORY = 0x0002,
B_FIND_PATH_EXISTING_ONLY = 0x0004,
B_FIND_PATHS_SYSTEM_ONLY = 0x0010,
B_FIND_PATHS_USER_ONLY = 0x0020,
};