Export new API to find the buffer handle. 12/15712/1
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 27 Jan 2014 12:21:38 +0000 (21:21 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 27 Jan 2014 12:21:38 +0000 (21:21 +0900)
from liblivebox.
to specify the extra information.

Change-Id: I02580427c8af670a138afb84b952395e792e2611

include/provider_buffer.h
packaging/libprovider.spec
src/provider_buffer.c

index 8e4f223..78263a0 100644 (file)
@@ -417,6 +417,21 @@ extern void *provider_buffer_user_data(struct livebox_buffer *handle);
 extern int provider_buffer_set_user_data(struct livebox_buffer *handle, void *data);
 
 /*!
+ * \brief
+ * \details N/A
+ * \remarks N/A
+ * \param[in] type
+ * \param[in] pkgname
+ * \param[in] id
+ * \return livebox_buffer
+ * \retval NULL
+ * \retval handle
+ * \pre N/A
+ * \post N/A
+ */
+extern struct livebox_buffer *provider_buffer_find_buffer(enum target_type type, const char *pkgname, const char *id);
+
+/*!
  * \}
  */
 
index 4b048b7..21134d4 100644 (file)
@@ -1,6 +1,6 @@
 Name: libprovider
 Summary: Library for developing the livebox service provider
-Version: 0.14.1
+Version: 0.14.2
 Release: 1
 Group: HomeTF/Livebox
 License: Flora
index cf6e440..3c33f94 100644 (file)
@@ -151,7 +151,7 @@ static inline struct fb_info *send_resize_request(enum target_type type, const c
        return fb;
 }
 
-struct livebox_buffer *provider_buffer_find_buffer(enum target_type type, const char *pkgname, const char *id)
+EAPI struct livebox_buffer *provider_buffer_find_buffer(enum target_type type, const char *pkgname, const char *id)
 {
        struct dlist *l;
        struct dlist *n;