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

Leandro Lanzieri notifications at github.com
Tue Mar 26 20:51:33 CET 2019


leandrolanzieri commented on this pull request.



> +    LINK_FORMAT_NOT_FOUND   = -2    /**< could not find a component in a
+                                         buffer */
+};
+
+/**
+ * @brief Types of link format parameters
+ */
+typedef enum {
+    LINK_FORMAT_PARAM_ANCHOR        = 0,  /**< anchor */
+    LINK_FORMAT_PARAM_REL_TYPE      = 1,  /**< rel */
+    LINK_FORMAT_PARAM_LANG          = 2,  /**< hreflang */
+    LINK_FORMAT_PARAM_MEDIA         = 3,  /**< media */
+    LINK_FORMAT_PARAM_TITLE         = 4,  /**< title */
+    LINK_FORMAT_PARAM_TITLE_EXT     = 5,  /**< title* */
+    LINK_FORMAT_PARAM_TYPE          = 6,  /**< type */
+    LINK_FORMAT_PARAM_RES_TYPE      = 7,  /**< rt */

Yes, I shortened them

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


More information about the notifications mailing list