2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 #ifndef WRTDEVICEAPIS_FILESYSTEM_ENUMS_H_
17 #define WRTDEVICEAPIS_FILESYSTEM_ENUMS_H_
22 namespace WrtDeviceApis {
23 namespace Filesystem {
55 * Used in @see IManager::access().
59 AT_EXISTS = 0x0000, //!< AT_EXISTS - checks for existence
60 AT_READ = 0x0001, //!< AT_READ - checks for read access
61 AT_WRITE = 0x0002, //!< AT_WRITE - checks for write access
62 AT_EXEC = 0x0004 //!< AT_EXEC - checks for execution access
74 PM_USER_READ = 0x0100,
75 PM_USER_WRITE = 0x0080,
76 PM_USER_EXEC = 0x0040,
77 PM_GROUP_READ = 0x0020,
78 PM_GROUP_WRITE = 0x0010,
79 PM_GROUP_EXEC = 0x0008,
80 PM_OTHER_READ = 0x0004,
81 PM_OTHER_WRITE = 0x0002,
82 PM_OTHER_EXEC = 0x0001,
89 OPT_OVERWRITE = 0x0001,
90 OPT_RECURSIVE = 0x0002
100 typedef std::map<FindFilter, std::string> FiltersMap;
106 #endif /* WRTDEVICEAPIS_FILESYSTEM_ENUMS_H_ */