Supplement db recovery tool
[platform/core/appfw/pkgmgr-info.git] / include / pkgmgrinfo_basic.h
index 5fa1918..974d9b8 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <glib.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct metadata_x {
        char *key;
        char *value;
@@ -77,6 +81,8 @@ typedef struct appcontrol_x {
        char *operation;
        char *uri;
        char *mime;
+       char *visibility;
+       char *id;
        GList *privileges;
 } appcontrol_x;
 
@@ -85,6 +91,13 @@ typedef struct compatibility_x {
        char *text;
 } compatibility_x;
 
+typedef struct plugin_x {
+       char *pkgid;
+       char *appid;
+       char *plugin_type;
+       char *plugin_name;
+} plugin_x;
+
 typedef struct datacontrol_x {
        char *providerid;
        char *access;
@@ -114,6 +127,12 @@ typedef struct appdefined_privilege_x {
        char *license;
 } appdefined_privilege_x;
 
+typedef struct dependency_x {
+       char *depends_on;
+       char *type;
+       char *required_version;
+} dependency_x;
+
 typedef struct application_x {
        char *appid;    /*attr*/
        char *exec;     /*attr*/
@@ -208,6 +227,7 @@ typedef struct package_x {
        char *zip_mount_file;   /*no xml part*/
        char *backend_installer;                /**< package backend installer, attr*/
        char *external_path; /**< external storage path if exists, no xml part*/
+       char *use_system_certs; /**< use system certificates, attr*/
        GList *icon;            /**< package icon, element*/
        GList *label;           /**< package label, element*/
        GList *author;          /**< package author, element*/
@@ -219,6 +239,8 @@ typedef struct package_x {
        GList *application;             /**< package's application, element*/
        GList *compatibility;           /**< package compatibility, element*/
        GList *deviceprofile;           /**< package device profile, element*/
+       GList *dependencies;            /**< package dependencies, element*/
+       GList *plugin;          /**< plugin execution list, no xml part*/
 } package_x;
 
 typedef struct updateinfo_x {
@@ -232,4 +254,7 @@ typedef struct package_x manifest_x;
 void pkgmgrinfo_basic_free_application(application_x *application);
 void pkgmgrinfo_basic_free_package(package_x *package);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
 #endif