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

Leandro Lanzieri notifications at github.com
Fri Jun 14 11:50:15 CEST 2019


leandrolanzieri commented on this pull request.



> +
+#include <assert.h>
+#include <string.h>
+#include <stdio.h>
+
+#include "clif.h"
+#include "clif_internal.h"
+
+#define ENABLE_DEBUG (0)
+#include "debug.h"
+
+/* returns the correspondant parameter string */
+static const char *_param_to_str[] = {
+    LF_PARAM_ANCHOR, LF_PARAM_REL_TYPE, LF_PARAM_LANG, LF_PARAM_MEDIA,
+    LF_PARAM_TITLE, LF_PARAM_TITLE_EXT, LF_PARAM_TYPE, LF_PARAM_RES_TYPE,
+    LF_PARAM_IF_DESC, LF_PARAM_SIZE, LF_PARAM_CT, LF_PARAM_OBS, NULL

I removed it and added a check in `clif_param_type_to_str`.

-- 
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_r293738726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190614/0a57c92d/attachment.html>


More information about the notifications mailing list