2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
21 #ifndef __MF_COPY_INTERNAL_H_DEF__
22 #define __MF_COPY_INTERNAL_H_DEF__
25 #include <sys/types.h>
27 #include "mf-cancel.h"
28 #include "mf-request.h"
29 #include "mf-fo-common.h"
30 #include "mf-fo-internal.h"
32 int _mf_copy_copy_regfile(const char *src, struct stat *src_statp,
33 const char *dst, unsigned long buf_size, mf_cancel * cancel, _mf_fo_msg_cb msg_cb, void *msg_data);
36 int _mf_copy_copy_directory(const char *src, struct stat *src_statp, const char *dst, mf_cancel * cancel, _mf_fo_msg_cb msg_cb, void *msg_data);
38 int _mf_copy_copy_internal(const char *src, const char *dst_dir,
39 mf_cancel *cancel, _mf_fo_msg_cb msg_func, mf_req_callback req_func, void *msg_data);