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

Leandro Lanzieri notifications at github.com
Mon Jul 29 09:40:01 CEST 2019


leandrolanzieri commented on this pull request.



> +        return 1;
+    }
+
+    if (maxlen < 1) {
+        return CLIF_NO_SPACE;
+    }
+
+    *buf = LF_LINK_SEPARATOR_C;
+    return 1;
+}
+
+ssize_t clif_add_param(clif_param_t *param, char *buf, size_t maxlen)
+{
+    assert(param && param->key);
+
+    param->key_len = strlen(param->key);

Thanks, yes, makes sense to do it that way as well.

-- 
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_r308091032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190729/6bf60519/attachment.htm>


More information about the notifications mailing list