Release version 0.13.5
[platform/core/appfw/pkgmgr-info.git] / include / pkgmgrinfo_basic.h
index b5a63cc..deb93ab 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;
+       GList *privileges;
 } appcontrol_x;
 
 typedef struct compatibility_x {
@@ -89,6 +95,7 @@ typedef struct datacontrol_x {
        char *access;
        char *type;
        char *trusted;
+       GList *privileges;
 } datacontrol_x;
 
 typedef struct splashscreen_x {
@@ -106,6 +113,12 @@ typedef struct privilege_x {
        char *value;
 } privilege_x;
 
+typedef struct appdefined_privilege_x {
+       char *type;
+       char *value;
+       char *license;
+} appdefined_privilege_x;
+
 typedef struct application_x {
        char *appid;    /*attr*/
        char *exec;     /*attr*/
@@ -200,12 +213,15 @@ 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*/
        GList *description;             /**< package description, element*/
        GList *license;         /**< package license, no xml part*/
        GList *privileges;      /**< package privileges, element*/
+       GList *appdefined_privileges;   /**<package appdefined privileges, element*/
+       GList *provides_appdefined_privileges;  /**<package providing appdefined privileges, element*/
        GList *application;             /**< package's application, element*/
        GList *compatibility;           /**< package compatibility, element*/
        GList *deviceprofile;           /**< package device profile, element*/
@@ -222,4 +238,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