1 /*
2  * Copyright (c) 2020-2022 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 APPSECURITY_WRITE_FILE_H
16 #define APPSECURITY_WRITE_FILE_H
17 
18 #include <cstdint>
19 #include <stdio.h>
20 #include <stdlib.h>
21 void DeleteFile(const char *path);
22 int32_t CopyFile(const char *org, const char *dest);
23 const char* GetWrongLiceseHap(void);
24 const char* GetUnsignedHap(void);
25 const char* GetWrongUdidHap(void);
26 const char* GetSuccessHap(void);
27 const char* GetModifiedHap(void);
28 const char* GetBusinessHap(void);
29 #endif // APPSECURITY_WRITE_FILE_H