Summary:
This API would be used in efl_network_websocket.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D3200
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
((unsigned char *)buf->buf)[buf->len] = '\0';
}
+EAPI void
+eina_strbuf_tolower(Eina_Strbuf *buf)
+{
+ if (!buf || !(buf->buf)) return;
+
+ eina_str_tolower((char **)&(buf->buf));
+}
+
/* Unicode */
#include "eina_strbuf_template_c.x"
EAPI void eina_strbuf_rtrim(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
/**
+ * @brief Convert the string to lower case.
+ *
+ * @param buf the string buffer to work with.
+ *
+ * This function converts all the characters in the strbuf to lower case.
+ */
+EAPI void eina_strbuf_tolower(Eina_Strbuf *buf) EINA_ARG_NONNULL(1);
+
+/**
* @}
*/