[riot-notifications] [RIOT-OS/RIOT] ut_process: initial import of a URI template processor (#16702)

Martine Lenders notifications at github.com
Thu Sep 16 17:06:39 CEST 2021


@miri64 commented on this pull request.



> +#include <string.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief   Name-value-pair of a variable for URI template extension
+ */
+typedef struct {
+    const char *name;       /**< name of the variable */
+    const char *value;      /**< value for the variable */
+} ut_process_var_t;
+
+/**
+ * @brief   Extends a URI template by a given value set

>    expansion:  The string result obtained from a template expression
>      after processing it according to its expression type, list of
>      variable names, and value modifiers, as defined in Section 3.

-- 
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/16702#discussion_r710210018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210916/3ac95500/attachment.htm>


More information about the notifications mailing list