apply encoded name to the source file of losetup.
[platform/core/appfw/app2sd.git] / plugin / app2sd / inc / app2sd_internals.h
index 2d6e815..1ee6274 100644 (file)
@@ -82,15 +82,6 @@ typedef enum app2sd_cmd_t {
        APP2SD_MOVE_APP_TO_PHONE
 } app2sd_cmd;
 
-/*This will store password in DB*/
-int _app2sd_set_passwod_in_db(const char *pkgid, const char *password);
-
-/*This will remove password from db*/
-int _app2sd_remove_password_from_db(const char *pkgid);
-
-/*This will fetch password from db*/
-char *_app2sd_get_passowrd_from_db(const char *pkgid);
-
 /*Checks whether mmc is present or not*/
 int _app2sd_check_mmc_status(void);
 
@@ -130,13 +121,13 @@ char *_app2sd_find_associated_device_node(const char *loopback_device);
 
 /*This function does the loopback encryption for app*/
 char *_app2sd_do_loopback_encryption_setup(const char *pkgid,
-               const char *loopback_device);
+               const char *loopback_device, uid_t uid);
 
 /*This function detaches the loopback device*/
 char *_app2sd_detach_loop_device(const char *device);
 
 /*This function finds loopback device associated with the app*/
-char *_app2sd_find_associated_device(const char *mmc_app_path);
+char *_app2sd_find_associated_device(const char *loopback_device);
 
 /*This function creates loopback device*/
 int _app2sd_create_loopback_device(const char *pkgid,
@@ -196,4 +187,6 @@ void _app2sd_make_result_info_file(char *pkgid, int size, uid_t uid);
 
 int _is_global(uid_t uid);
 
+char *_app2sd_get_encoded_name(const char *pkgid, uid_t uid);
+
 #endif