2 * coretpk-installer-internal
4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __CORETPK_INSTALLER_INTERNAL_H_
23 #define __CORETPK_INSTALLER_INTERNAL_H_
27 #endif /* __cplusplus */
30 #include "rpm-installer-util.h"
31 #include "coretpk-installer.h"
32 #include "coretpk-installer-type.h"
34 int _coretpk_installer_directory_install(char* dirpath, char *clientid);
36 int _coretpk_installer_package_install(char *pkgfile, char *pkgid, char *clientid);
37 int _coretpk_installer_package_uninstall(const char *pkgid);
38 int _coretpk_installer_package_reinstall(char *dirpath, char *clientid);
39 int _coretpk_installer_package_upgrade(char *pkgfile, char *pkgid, char *clientid);
41 int _coretpk_installer_csc_install(char *path_str, char *remove_str);
43 pkginfo *_coretpk_installer_get_pkgfile_info(char *pkgfile);
44 char* _coretpk_installer_load_directory(char *directory,char* pkgfile);
45 int _coretpk_installer_convert_manifest(char *manifestfilepath, char *pkgid, char *clientid);
46 int _coretpk_installer_get_configuration_value(char *value);
48 int _coretpk_installer_change_mode(char* path, int mode);
49 int _coretpk_installer_change_file_owner(char* path, int ownerid, int groupid);
50 int _coretpk_installer_change_directory_owner(char* dirpath, int ownerid, int groupid);
51 int _coretpk_installer_make_directory_for_ext(char *pkgid);
52 int _coretpk_installer_make_directory(char *pkgid);
53 int _coretpk_installer_apply_smack(char *pkgname, int flag);
54 int _coretpk_installer_apply_privilege(char *pkgid, char *pkgPath, int apiVisibility);
55 void _coretpk_installer_search_ui_gadget(const char *pkgid);
56 int _coretpk_installer_set_smack_label_access(const char *path, const char *label);
57 int _coretpk_installer_get_smack_label_access(const char *path, char **label);
58 int _coretpk_installer_set_smack_label_transmute(const char *path, const char *flag);
59 int _coretpk_installer_remove_db_info(const char *pkgid);
63 #endif /* __cplusplus */
64 #endif /* __CORETPK_INSTALLER_INTERNAL_H_ */