1 /* 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef IPC_DISTRIBUTED_FILE_DAEMON_IPC_INTERFACE_CODE_H 16 #define IPC_DISTRIBUTED_FILE_DAEMON_IPC_INTERFACE_CODE_H 17 18 /* SAID:5201 */ 19 namespace OHOS { 20 namespace Storage { 21 namespace DistributedFile { 22 enum class DistributedFileDaemonInterfaceCode { 23 DISTRIBUTED_FILE_OPEN_P2P_CONNECTION = 0, 24 DISTRIBUTED_FILE_CLOSE_P2P_CONNECTION, 25 DISTRIBUTED_FILE_PREPARE_SESSION, 26 DISTRIBUTED_FILE_REQUEST_SEND_FILE, 27 DISTRIBUTED_FILE_GET_REMOTE_COPY_INFO, 28 DISTRIBUTED_FILE_CANCEL_COPY_TASK, 29 DISTRIBUTED_FILE_OPEN_P2P_CONNECTION_EX, 30 DISTRIBUTED_FILE_CLOSE_P2P_CONNECTION_EX, 31 DISTRIBUTED_FILE_REGISTER_ASSET_CALLBACK, 32 DISTRIBUTED_FILE_UN_REGISTER_ASSET_CALLBACK, 33 DISTRIBUTED_FILE_PUSH_ASSET, 34 }; 35 } // namespace DistributedFile 36 } // namespace Storage 37 } // namespace OHOS 38 #endif