Tizen 2.0 Release
[apps/core/preloaded/myfiles.git] / src / include / mf-copy-internal.h
1 /*
2  * Copyright 2013         Samsung Electronics Co., Ltd
3  *
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
7  *
8  *  http://floralicense.org/license/
9  *
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.
15  */
16
17
18
19
20
21 #ifndef __MF_COPY_INTERNAL_H_DEF__
22 #define __MF_COPY_INTERNAL_H_DEF__
23
24 #include <glib.h>
25 #include <sys/types.h>
26 #include <sys/stat.h>
27 #include "mf-cancel.h"
28 #include "mf-request.h"
29 #include "mf-fo-common.h"
30 #include "mf-fo-internal.h"
31
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);
34
35
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);
37
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);
40
41
42 #endif