[riot-notifications] [RIOT-OS/RIOT] sys: Add Link Format module (#11189)

Ken Bannister notifications at github.com
Mon Apr 1 02:36:21 CEST 2019

kb2ma commented on this pull request.

> + */
+ssize_t clif_add_link_separator(char *buf, size_t maxlen);
+ * @brief   Looks for a link in a given string @p input. If multiple link are
+ *          present in the string it will return the first one.
+ *
+ * @param[in] input         string where to look for a link
+ * @param[in] input_len     length of @p input
+ * @param[out] output       if a link is found this will point to the beginning
+ *                          of it
+ *
+ * @return length of the link if found
+ * @return CLIF_NOT_FOUND if no valid link is found
+ */
+ssize_t clif_get_link(const char *input, size_t input_len,

Is this function useful?  Why not either use `clif_decode_link()` or `clif_get_target()`?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190331/98e743fc/attachment.html>

More information about the notifications mailing list