From 14ffea917a0f7ab0c98cc4a1dbafc46d8b6b4311 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Thu, 27 Oct 2016 20:30:55 +0900 Subject: Add bundle_compare() in internal.h Change-Id: I1c4f50c32375f80c6d709992488367331eb58163 Signed-off-by: Myungki Lee --- include/bundle_internal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/bundle_internal.h b/include/bundle_internal.h index cb4e7de..e94db58 100755 --- a/include/bundle_internal.h +++ b/include/bundle_internal.h @@ -484,6 +484,18 @@ API int bundle_to_json(bundle *b, char **json); */ API int bundle_from_json(const char *json, bundle **b); +/** + * @breif Compares the bundle 1, 2. + * @since_tizen 3.0 + * @param[in]b1 The bundle object + * @param[in]b2 The bundle object + * @return The operation result + * @retval @c 0 It is identical + * @retval @c -1 Invalid parameter + * @retval @c 1 It is not identical + */ +API int bundle_compare(bundle *b1, bundle *b2); + #ifdef __cplusplus } #endif -- cgit v1.2.3