[riot-notifications] [RIOT-OS/RIOT] sys/net/application_layer/nanocoap: Add path prefix option (#11098)

Kaspar Schleiser notifications at github.com
Wed Mar 13 11:30:12 CET 2019


kaspar030 commented on this pull request.



> +
+#include "net/nanocoap.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief   Checks if a CoAP resource path matches a given URI
+ *
+ * @param[in] resource CoAP resource to check
+ * @param[in] uri String containing the URI to compare
+ *
+ * @return 0 if resource path matches the URI
+ * @return <0 if the resource path is less than the URI
+ * @return >0 if the URI is les than the resource path

typo: less

-- 
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/11098#pullrequestreview-213867822
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190313/9b355f15/attachment.html>


More information about the notifications mailing list