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

Leandro Lanzieri notifications at github.com
Fri Jun 14 11:51:49 CEST 2019


leandrolanzieri commented on this pull request.



> +        }
+        pos_in_link += param_size;
+        link->params_len++;
+    }
+
+    return pos - buf;
+}
+
+ssize_t clif_encode_link(clif_t *link, char *buf, size_t maxlen)
+{
+    assert(link);
+    size_t pos = 0;
+    ssize_t res = 0;
+
+    res = clif_add_target(link->target, buf, maxlen);
+    if (res <= 0) {

Changed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11189#discussion_r293739283
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190614/f24309e8/attachment.html>


More information about the notifications mailing list