4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
7 * Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 #ifndef __PKGMGRINFO_TYPE_H__
24 #define __PKGMGRINFO_TYPE_H__
26 #include <sys/types.h>
28 /* app background category value */
29 #define APP_BG_CATEGORY_USER_DISABLE_FALSE_VAL 0x00000
30 #define APP_BG_CATEGORY_USER_DISABLE_TRUE_VAL 0x00001
31 #define APP_BG_CATEGORY_MEDIA_VAL 0x00002
32 #define APP_BG_CATEGORY_DOWNLOAD_VAL 0x00004
33 #define APP_BG_CATEGORY_BGNETWORK_VAL 0x00008
34 #define APP_BG_CATEGORY_LOCATION_VAL 0x00010
35 #define APP_BG_CATEGORY_SENSOR_VAL 0x00020
36 #define APP_BG_CATEGORY_IOTCOMM_VAL 0x00040
37 #define APP_BG_CATEGORY_SYSTEM_VAL 0x00080
39 #define APP_BG_CATEGORY_USER_DISABLE_FALSE_STR "enable"
40 #define APP_BG_CATEGORY_USER_DISABLE_TRUE_STR "disable"
41 #define APP_BG_CATEGORY_MEDIA_STR "media"
42 #define APP_BG_CATEGORY_DOWNLOAD_STR "download"
43 #define APP_BG_CATEGORY_BGNETWORK_STR "background-network"
44 #define APP_BG_CATEGORY_LOCATION_STR "location"
45 #define APP_BG_CATEGORY_SENSOR_STR "sensor"
46 #define APP_BG_CATEGORY_IOTCOMM_STR "iot-communication"
47 #define APP_BG_CATEGORY_SYSTEM "system"
49 /* Integer property for support-mode */
50 #define APP_SUPPORT_MODE_ULTRA_POWER_SAVING_VAL 0x00001
51 #define APP_SUPPORT_MODE_COOL_DOWN_VAL 0x00002
52 #define APP_SUPPORT_MODE_SCREEN_READER_VAL 0x00004
54 /* String property for support-mode */
55 #define APP_SUPPORT_MODE_ULTRA_POWER_SAVING_STR "ultra-power-saving"
56 #define APP_SUPPORT_MODE_COOL_DOWN_STR "cool-down"
57 #define APP_SUPPORT_MODE_SCREEN_READER_STR "screen-reader"
60 * @brief A type to retrieve uid information from the manifest handle
64 } pkgmgrinfo_uidinfo_t;
67 * @brief A handle to insert certificate information
69 typedef void *pkgmgrinfo_instcertinfo_h;
72 * @brief Certificate Types to be used for setting information
75 PMINFO_SET_AUTHOR_ROOT_CERT = 0, /**< Author Root Certificate*/
76 PMINFO_SET_AUTHOR_INTERMEDIATE_CERT = 1, /**< Author Intermediate Certificate*/
77 PMINFO_SET_AUTHOR_SIGNER_CERT = 2, /**< Author Signer Certificate*/
78 PMINFO_SET_DISTRIBUTOR_ROOT_CERT = 3, /**< Distributor Root Certificate*/
79 PMINFO_SET_DISTRIBUTOR_INTERMEDIATE_CERT = 4, /**< Distributor Intermediate Certificate*/
80 PMINFO_SET_DISTRIBUTOR_SIGNER_CERT = 5, /**< Distributor Signer Certificate*/
81 PMINFO_SET_DISTRIBUTOR2_ROOT_CERT = 6, /**< End Entity Root Certificate*/
82 PMINFO_SET_DISTRIBUTOR2_INTERMEDIATE_CERT = 7, /**< End Entity Intermediate Certificate*/
83 PMINFO_SET_DISTRIBUTOR2_SIGNER_CERT = 8, /**< End Entity Signer Certificate*/
84 } pkgmgrinfo_instcert_type;
87 PMINFO_CERT_COMPARE_MATCH,
88 PMINFO_CERT_COMPARE_MISMATCH,
89 PMINFO_CERT_COMPARE_LHS_NO_CERT,
90 PMINFO_CERT_COMPARE_RHS_NO_CERT,
91 PMINFO_CERT_COMPARE_BOTH_NO_CERT,
92 PMINFO_CERT_COMPARE_ERROR,
93 } pkgmgrinfo_cert_compare_result_type_e;
96 PMINFO_APPINFO_GET_BASICINFO = 0x0001,
97 PMINFO_APPINFO_GET_LABEL = 0x0002,
98 PMINFO_APPINFO_GET_ICON = 0x0004,
99 PMINFO_APPINFO_GET_CATEGORY = 0x0008,
100 PMINFO_APPINFO_GET_APP_CONTROL = 0x0010,
101 PMINFO_APPINFO_GET_METADATA = 0x0020,
102 PMINFO_APPINFO_GET_SPLASH_SCREEN = 0x0040,
103 PMINFO_APPINFO_GET_RES_CONTROL = 0x0080,
104 PMINFO_APPINFO_GET_ALL = 0x00FF
105 } pkgmgrinfo_appinfo_get_option;
108 PMINFO_PKGINFO_GET_BASICINFO = 0x0001,
109 PMINFO_PKGINFO_GET_LABEL = 0x0002,
110 PMINFO_PKGINFO_GET_ICON = 0x0004,
111 PMINFO_PKGINFO_GET_AUTHOR = 0x0008,
112 PMINFO_PKGINFO_GET_DESCRIPTION = 0x0010,
113 PMINFO_PKGINFO_GET_PRIVILEGE = 0x0020,
114 PMINFO_PKGINFO_GET_APPDEFINED_PRIVILEGE = 0x0040,
115 PMINFO_PKGINFO_GET_DEPENDENCY = 0x0080,
116 PMINFO_PKGINFO_GET_RES_INFO = 0x0100,
117 PMINFO_PKGINFO_GET_METADATA = 0x0200,
118 PMINFO_PKGINFO_GET_ALL = 0x03FF
119 } pkgmgrinfo_pkginfo_get_option;
122 * @brief API return values
125 PMINFO_R_ENOENT = -3, /**< No result */
126 PMINFO_R_EINVAL = -2, /**< Invalid argument */
127 PMINFO_R_ERROR = -1, /**< General error */
128 PMINFO_R_OK = 0 /**< General success */
132 * @brief Value to be used when filtering based on install location
134 #define PMINFO_PKGINFO_INSTALL_LOCATION_AUTO "LOCATION_AUTO"
137 * @brief Value to be used when filtering based on install location
139 #define PMINFO_PKGINFO_INSTALL_LOCATION_INTERNAL "LOCATION_INTERNAL"
142 * @brief Value to be used when filtering based on install location
144 #define PMINFO_PKGINFO_INSTALL_LOCATION_EXTERNAL "LOCATION_EXTERNAL"
147 * @brief Value to be used when get/set update information
149 #define PMINFO_UPDATEINFO_TYPE_FORCE "force"
152 * @brief Value to be used when get/set update information
154 #define PMINFO_UPDATEINFO_TYPE_OPTIONAL "optional"
157 * @brief Value to be used when get/set update information
159 #define PMINFO_UPDATEINFO_TYPE_NONE "none"
162 PMINFO_UPDATEINFO_NONE = 0, /**<No update info exists*/
163 PMINFO_UPDATEINFO_FORCE, /**<Don't launch application if it's not updated*/
164 PMINFO_UPDATEINFO_OPTIONAL /**<Update exists but not force user to update it*/
165 } pkgmgrinfo_updateinfo_update_type;
168 PMINFO_HWACCELERATION_OFF = 0, /**< Don't use hardware acceleration*/
169 PMINFO_HWACCELERATION_ON = 1, /**< Use hardware acceleration*/
170 PMINFO_HWACCELERATION_DEFAULT = 2 /**< Follow system setting for hardware acceleration */
171 } pkgmgrinfo_app_hwacceleration;
174 PMINFO_SCREENREADER_OFF = 0, /**< Don't use screen reader*/
175 PMINFO_SCREENREADER_ON = 1, /**< Use screen reader*/
176 PMINFO_SCREENREADER_USE_SYSTEM_SETTING = 2 /**< Follow system setting for screen reader */
177 } pkgmgrinfo_app_screenreader;
180 PMINFO_RECENTIMAGE_USE_ICON = 0, /**<Use icon for recent image*/
181 PMINFO_RECENTIMAGE_USE_CAPTURE = 1, /**< Use capture for recent image*/
182 PMINFO_RECENTIMAGE_USE_NOTHING = 2 /**< Don't use recent image */
183 } pkgmgrinfo_app_recentimage;
186 * @brief A handle to get package information
188 typedef void *pkgmgrinfo_pkginfo_h;
191 * @brief A handle to get application information
193 typedef void *pkgmgrinfo_appinfo_h;
196 * @brief A handle to get certificate information
198 typedef void *pkgmgrinfo_certinfo_h;
201 * @brief A handle to filter package information
203 typedef void *pkgmgrinfo_pkginfo_filter_h;
206 * @brief A handle to filter package metadata information
208 typedef void *pkgmgrinfo_pkginfo_metadata_filter_h;
211 * @brief A handle to get/set package update information
213 typedef void *pkgmgrinfo_updateinfo_h;
216 * @brief A handle to filter application information
218 typedef void *pkgmgrinfo_appinfo_filter_h;
221 * @brief A handle to filter application metadata information
223 typedef void *pkgmgrinfo_appinfo_metadata_filter_h;
226 * @brief A handle to get package archive information
228 typedef void *pkgmgrinfo_archiveinfo_h;
231 * @brief A handle to get allowed package required privilege
233 typedef void *required_privilege_h;
236 * @brief type definition.
238 typedef void pkgmgrinfo_client;
241 * @fn int (*pkgmgrinfo_foreach_updateinfo_cb) (const pkgmgrinfo_updateinfo_h handle, void *user_data)
243 * @brief Specifies the type of function passed to pkgmgrinfo_updateinfo_foreach_updateinfo()
245 * @param[in] handle the package update info handle
246 * @param[in] user_data user data passed to pkgmgrinfo_foreach_pkg_update info()
248 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
250 * @see pkgmgrinfo_updateinfo_foreach_updateinfo()
252 typedef int (*pkgmgrinfo_foreach_updateinfo_cb) (const pkgmgrinfo_updateinfo_h handle,
256 * @fn int (*pkgmgrinfo_pkg_list_cb) (const pkgmgrinfo_pkginfo_h handle, void *user_data)
258 * @brief Specifies the type of function passed to pkgmgrinfo_pkginfo_get_list(), pkgmgrinfo_pkginfo_filter_foreach_pkginfo()
260 * @param[in] handle the pkginfo handle
261 * @param[in] user_data user data passed to pkgmgrinfo_pkginfo_get_list(), pkgmgrinfo_pkginfo_filter_foreach_pkginfo()
263 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
265 * @see pkgmgrinfo_pkginfo_get_list()
266 * @see pkgmgrinfo_pkginfo_filter_foreach_pkginfo()
268 typedef int (*pkgmgrinfo_pkg_list_cb) (const pkgmgrinfo_pkginfo_h handle,
272 * @fn int (*pkgmgrinfo_app_list_cb) (const pkgmgrinfo_appinfo_h handle, void *user_data)
274 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_get_list(), pkgmgrinfo_appinfo_filter_foreach_appinfo(), pkgmgrinfo_appinfo_metadata_filter_foreach()
276 * @param[in] handle the appinfo handle
277 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_get_list(), pkgmgrinfo_appinfo_filter_foreach_appinfo(), pkgmgrinfo_appinfo_metadata_filter_foreach()
279 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
281 * @see pkgmgrinfo_appinfo_get_list()
282 * @see pkgmgrinfo_appinfo_filter_foreach_appinfo()
283 * @see pkgmgrinfo_appinfo_metadata_filter_foreach()
285 typedef int (*pkgmgrinfo_app_list_cb) (const pkgmgrinfo_appinfo_h handle,
289 * @fn int (*pkgmgrinfo_app_category_list_cb) (const char *category_name, void *user_data)
291 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_category()
293 * @param[in] category_name the name of the category
294 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_category()
296 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
298 * @see pkgmgrinfo_appinfo_foreach_category()
300 typedef int (*pkgmgrinfo_app_category_list_cb) (const char *category_name,
304 * @fn int (*pkgmgrinfo_pkg_privilege_list_cb) (const char *privilege_name, void *user_data)
306 * @brief Specifies the type of function passed to pkgmgrinfo_pkginfo_foreach_privilege()
308 * @param[in] privilege_name the name of the privilege
309 * @param[in] user_data user data passed to pkgmgrinfo_pkginfo_foreach_privilege()
311 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
313 * @see pkgmgrinfo_pkginfo_foreach_privilege()
315 typedef int (*pkgmgrinfo_pkg_privilege_list_cb) (const char *privilege_name,
319 * @fn int (*pkgmgrinfo_pkg_appdefined_privilege_list_cb) (const char *privilege_name, const char *license_path, void *user_data)
321 * @brief Specifies the type of function passed to pkgmgrinfo_pkginfo_foreach_appdefined_privilege()
323 * @param[in] privilege_name the name of the privilege
324 * @param[in] license_path the path of the license
325 * @param[in] user_data user data passed to pkgmgrinfo_pkginfo_foreach_appdefined_privilege()
327 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
329 * @see pkgmgrinfo_pkginfo_foreach_appdefined_privilege()
331 typedef int (*pkgmgrinfo_pkg_appdefined_privilege_list_cb) (const char *privilege_name,
332 const char *license_path,
335 * @fn int (*pkgmgrinfo_pkg_dependency_list_cb) (const char *from, const char *to, const char *type, const char *required_version, void *user_data)
337 * @brief Specifies the dependency info of given package passed to pkgmgrinfo_pkginfo_foreach_dependency(), pkgmgrinfo_pkginfo_foreach_required_by(), pkgmgrinfo_archiveinfo_foreach_dependency()
339 * @param[in] from the pkgid which depends other package
340 * @param[in] to the pkgid which has dependency with given package
341 * @param[in] type type of dependency
342 * @param[in] required_version required version of dependency
343 * @param[in] user_data user data passed
345 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
347 * @see pkgmgrinfo_pkginfo_foreach_dependency()
348 * @see pkgmgrinfo_pkginfo_foreach_required_by()
350 typedef int (*pkgmgrinfo_pkg_dependency_list_cb) (const char *from, const char *to,
351 const char *type, const char *required_version,
355 * @fn int (*pkgmgrinfo_pkg_metadata_list_cb) (const char *metadata_key, const char *metadata_value, void *user_data)
357 * @brief Specifies the type of function passed to pkgmgrinfo_pkginfo_foreach_metadata()
359 * @param[in] metadata_name the name of the metadata
360 * @param[in] metadata_value the value of the metadata
361 * @param[in] user_data user data passed to pkgmgrinfo_pkginfo_foreach_metadata()
363 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
365 * @see pkgmgrinfo_pkginfo_foreach_metadata()
367 typedef int (*pkgmgrinfo_pkg_metadata_list_cb) (const char *metadata_key,
368 const char *metadata_value, void *user_data);
371 * @fn int (*pkgmgrinfo_plugin_list_cb) (const char *pkgid, const char *appid, const char *plugin_type, const char *plugin_name, void *user_data);
373 * @brief Specifies the type of function passed to pkgmgrinfo_plugininfo_foreach_plugininfo()
375 * @param[in] pkgid the name of the package
376 * @param[in] appid the name of the application
377 * @param[in] plugin_type the type of the executed plugin
378 * @param[in] plugin_name the name of the executed plugin
379 * @param[in] user_data user data passed to pkgmgrinfo_plugininfo_foreach_plugininfo()
381 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
383 * @see pkgmgrinfo_plugininfo_foreach_plugininfo()
385 typedef int (*pkgmgrinfo_plugin_list_cb) (const char *pkgid, const char *appid,
386 const char *plugin_type, const char *plugin_name,
390 * @fn int (*pkgmgrinfo_res_allowed_package_list_cb) (
391 const char *allowed_package,
392 required_privilege_h privilege_handle, void *user_data);
394 * @brief Specifies the type of function passed to pkgmgrinfo_pkginfo_foreach_res_allowed_package()
396 * @param[in] allowed_package the name of the package
397 * @param[in] privilege_handle the required privilege handle of the package
398 * @param[in] user_data user data passed to pkgmgrinfo_pkginfo_foreach_res_allowed_package()
400 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
402 * @see pkgmgrinfo_pkginfo_foreach_res_allowed_package()
404 typedef int (*pkgmgrinfo_res_allowed_package_list_cb) (
405 const char *allowed_package,
406 required_privilege_h privilege_handle, void *user_data);
409 * @fn int (*pkgmgrinfo_app_metadata_list_cb) (const char *metadata_key, const char *metadata_value, void *user_data)
411 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_metadata()
413 * @param[in] metadata_name the name of the metadata
414 * @param[in] metadata_value the value of the metadata
415 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_metadata()
417 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
419 * @see pkgmgrinfo_appinfo_foreach_metadata()
421 typedef int (*pkgmgrinfo_app_metadata_list_cb) (const char *metadata_key,
422 const char *metadata_value, void *user_data);
425 * @fn int (*pkgmgrinfo_app_control_list_cb) (const char *operation, const char *uri, const char *mime, void *user_data);
427 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_appcontrol()
429 * @param[in] operation The operation of the app-control
430 * @param[in] uri The URI of the app-control
431 * @param[in] mime The MIME-Type of the app-control
432 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_appcontrol()
434 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
436 * @see pkgmgrinfo_appinfo_foreach_appcontrol()
438 typedef int (*pkgmgrinfo_app_control_list_cb) (const char *operation, const char *uri, const char *mime,
441 * @fn int (*pkgmgrinfo_app_control_list_cb_v2) (const char *operation, const char *uri, const char *mime, const char *id, void *user_data)
443 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_appcontrol_info()
445 * @param[in] operation The operation of the app-control
446 * @param[in] uri The URI of the app-control
447 * @param[in] mime The MIME-Type of the app-control
448 * @param[in] id The ID of the app-control
449 * @param[in] user_data The user data passed from pkgmgrinfo_appinfo_foreach_appcontrol_v2()
451 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
453 * @see pkgmgrinfo_appinfo_foreach_appcontrol_v2()
455 typedef int (*pkgmgrinfo_app_control_list_cb_v2) (const char *operation,
456 const char *uri, const char *mime, const char *id,
460 * @fn int (*pkgmgrinfo_app_background_category_list_cb) (const char *category_name, void *user_data)
462 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_background_category()
464 * @param[in] category_name retrieved background category name
465 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_background_category
467 * @return 0 if success, negative value(<0) if fail. Callback is not called if return value is negative.\n
469 * @see pkgmgrinfo_appinfo_foreach_background_category()
471 typedef int (*pkgmgrinfo_app_background_category_list_cb) (const char *category_name, void *user_data);
474 * @fn int (*pkgmgrinfo_app_splash_screen_list_cb)(const char *src,
475 * const char *type, const char *orientation,
476 * const char *indicatordisplay, const char *color_depth,
478 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_splash_screen()
480 * @param[in] src the source of the splashscreen
481 * @param[in] type the type of the splashscreen
482 * @param[in] orientation the orientation of the splashscreen
483 * @param[in] indicatordisplay the indicator-display of the splashscreen
484 * @param[in] operation the app-control operation of the splashscreen
485 * @param[in] color_depth the color-depth of the splashscreen
486 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_splash_screen()
488 * @return 0 if success, negative value(<0) if fail, Callback is not called if return value is negative.\n
490 * @see pkgmgrinfo_appinfo_foreach_splash_screen()
492 typedef int (*pkgmgrinfo_app_splash_screen_list_cb)(const char *src,
493 const char *type, const char *orientation,
494 const char *indicatordisplay, const char *operation,
495 const char *color_depth, void *user_data);
498 * @fn int (*pkgmgrinfo_app_res_control_list_cb) (const char *res_type,
499 const char *min_res_version, const char *max_res_version,
500 const char *auto_close, void *user_data);
501 * @brief Specifies the type of function passed to pkgmgrinfo_appinfo_foreach_res_control()
503 * @param[in] res_type the resource type of the res_control
504 * @param[in] min_res_version the minimum resource version of the res_control
505 * @param[in] max_res_version the maximum resource version of the res_control
506 * @param[in] auto_close the auto close of the res_control
507 * @param[in] user_data user data passed to pkgmgrinfo_appinfo_foreach_res_control()
509 * @return 0 if success, negative value(<0) if fail, Callback is not called if return value is negative.\n
511 * @see pkgmgrinfo_appinfo_foreach_res_control()
514 typedef int (*pkgmgrinfo_app_res_control_list_cb) (const char *res_type,
515 const char *min_res_version, const char *max_res_version,
516 const char *auto_close, void *user_data);
521 * @brief Install Location Types
524 PMINFO_INSTALL_LOCATION_AUTO = 0, /**< Auto*/
525 PMINFO_INSTALL_LOCATION_INTERNAL_ONLY, /**< Internal Installation*/
526 PMINFO_INSTALL_LOCATION_PREFER_EXTERNAL, /**< External Installation*/
527 } pkgmgrinfo_install_location;
530 * @brief Application Component Types
533 PMINFO_ALL_APP = 0, /**< All Application*/
534 PMINFO_UI_APP, /**< UI Application*/
535 PMINFO_SVC_APP, /**< Service Application*/
536 PMINFO_WIDGET_APP, /**< Widget Application*/
537 PMINFO_WATCH_APP, /**< Watch Application*/
538 PMINFO_COMPONENT_BASED_APP, /**< Component-based Application (Since 5.5)*/
539 } pkgmgrinfo_app_component;
542 * @brief Application Storage Types
545 PMINFO_INTERNAL_STORAGE = 0, /**< Internal Storage*/
546 PMINFO_EXTERNAL_STORAGE = 1, /**< External Storage*/
547 PMINFO_EXTENDED_STORAGE = 2, /**< Extended Storage*/
548 } pkgmgrinfo_installed_storage;
551 * @brief Certificate Types to be used for getting information
554 PMINFO_AUTHOR_ROOT_CERT = 0, /**< Author Root Certificate*/
555 PMINFO_AUTHOR_INTERMEDIATE_CERT = 1, /**< Author Intermediate Certificate*/
556 PMINFO_AUTHOR_SIGNER_CERT = 2, /**< Author Signer Certificate*/
557 PMINFO_DISTRIBUTOR_ROOT_CERT = 3, /**< Distributor Root Certificate*/
558 PMINFO_DISTRIBUTOR_INTERMEDIATE_CERT = 4, /**< Distributor Intermediate Certificate*/
559 PMINFO_DISTRIBUTOR_SIGNER_CERT = 5, /**< Distributor Signer Certificate*/
560 PMINFO_DISTRIBUTOR2_ROOT_CERT = 6, /**< End Entity Root Certificate*/
561 PMINFO_DISTRIBUTOR2_INTERMEDIATE_CERT = 7, /**< End Entity Intermediate Certificate*/
562 PMINFO_DISTRIBUTOR2_SIGNER_CERT = 8, /**< End Entity Signer Certificate*/
563 } pkgmgrinfo_cert_type;
566 * @brief version comparison Types
569 PMINFO_VERSION_OLD = -1,
572 } pkgmgrinfo_version_compare_type;
575 * @brief Install Location Types to be used when setting data in DB
578 INSTALL_INTERNAL = 0, /**< Internal Installation*/
579 INSTALL_EXTERNAL, /**< External Installation*/
580 INSTALL_EXTENDED, /**< Extended Installation*/
584 * @brief permission Types
587 PMINFO_PERMISSION_NORMAL = 0, /**< permission normal*/
588 PMINFO_PERMISSION_SIGNATURE, /**< permission type is signature*/
589 PMINFO_PERMISSION_PRIVILEGE, /**< permission type is privilege*/
590 } pkgmgrinfo_permission_type;