Change-Id: I73c7ee2ea4946b8485ae2be718a375e95cd639ea
extern const char *provider_buffer_id(struct livebox_buffer *info);
/*!
+ * \brief Give the URI of buffer information.
+ * \param[in] info
+ * \return uri
+ */
+extern const char *provider_buffer_uri(struct livebox_buffer *info);
+
+/*!
* \brief
* \param[in] info
* \param[out] w
Name: libprovider
Summary: Library for developing the livebox service provider.
-Version: 0.5.16
+Version: 0.5.17
Release: 1
Group: framework/livebox
License: Flora License
return 0;
}
+EAPI const char *provider_buffer_uri(struct livebox_buffer *info)
+{
+ if (!info || info->state != BUFFER_CREATED) {
+ ErrPrint("Buffer handler is NULL\n");
+ return NULL;
+ }
+
+ return fb_id(info->fb);
+}
+
/*!
* \brief
* If the given buffer is created as pixmap,