Merge "Adding Mime types parsing" into tizen_2.1
[platform/core/appfw/pkgmgr-info.git] / parser / pkgmgr_parser.h
index d964af8..401e32c 100755 (executable)
@@ -116,12 +116,24 @@ extern "C" {
     for ((node) = (list); (node)->next; (node) = (node)->next)
 
 typedef struct metadata_x {
-       const char *name;
+       const char *key;
        const char *value;
        struct metadata_x *prev;
        struct metadata_x *next;
 } metadata_x;
 
+typedef struct privilege_x {
+       const char *text;
+       struct privilege_x *prev;
+       struct privilege_x *next;
+} privilege_x;
+
+typedef struct privileges_x {
+       struct privilege_x *privilege;
+       struct privileges_x *prev;
+       struct privileges_x *next;
+} privileges_x;
+
 typedef struct permission_x {
        const char *type;
        const char *value;
@@ -145,8 +157,8 @@ typedef struct image_x {
        const char *text;
        const char *lang;
        const char *section;
-       struct icon_x *prev;
-       struct icon_x *next;
+       struct image_x *prev;
+       struct image_x *next;
 } image_x;
 
 typedef struct allowed_x {
@@ -355,10 +367,13 @@ typedef struct uiapplication_x {
        const char *mainapp;
        const char *package;
        const char *recentimage;
+       const char *launchcondition;
        const char *indicatordisplay;
        const char *portraitimg;
        const char *landscapeimg;
        const char *guestmode_visibility;
+       const char *app_component;
+       const char *permission_type;
        struct label_x *label;
        struct icon_x *icon;
        struct image_x *image;
@@ -382,6 +397,7 @@ typedef struct serviceapplication_x {
        const char *enabled;
        const char *type;
        const char *package;
+       const char *permission_type;
        struct label_x *label;
        struct icon_x *icon;
        struct appsvc_x *appsvc;
@@ -443,11 +459,13 @@ typedef struct manifest_x {
        const char *mainapp_id;         /**< app id of main application*/
        const char *package_url;                /**< app id of main application*/
        const char *root_path;          /**< package root path*/
+       const char *nodisplay_setting;          /**< package no display setting menu*/
        struct icon_x *icon;            /**< package icon*/
        struct label_x *label;          /**< package label*/
        struct author_x *author;                /**< package author*/
        struct description_x *description;              /**< package description*/
        struct license_x *license;              /**< package license*/
+       struct privileges_x *privileges;        /**< package privileges*/
        struct uiapplication_x *uiapplication;          /**< package's ui application*/
        struct serviceapplication_x *serviceapplication;                /**< package's service application*/
        struct daemon_x *daemon;                /**< package daemon*/