[riot-notifications] [RIOT-OS/RIOT] sys: Add RIOT Registry implementation (#10799)

José Alamos notifications at github.com
Wed Feb 20 15:16:39 CET 2019


jia200x commented on this pull request.



> + * parameter is string.
+ * @return 0 on success, non-zero on failure
+ */
+int registry_value_from_str(char *val_str, registry_type_t type, void *vp,
+                            int maxlen);
+
+/**
+ * @brief Convenience function to parse a configuration parameter value of
+ * `bytes` type from a string.
+ *
+ * @param[in] val_str Pointer of the string containing the value
+ * @param[out] vp Pointer to store the parsed value
+ * @param len Length of the output buffer
+ * @return 0 on success, non-zero on failure
+ */
+int registry_bytes_from_str(char *val_str, void *vp, int *len);

here `len` is a in/out argument. The documentation is missing here

-- 
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/10799#discussion_r258499787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190220/f9deb223/attachment.html>


More information about the notifications mailing list