vrahane commented on a change in pull request #1674: sys/config: Add API for 
conf_load_one()
URL: https://github.com/apache/mynewt-core/pull/1674#discussion_r263135776
 
 

 ##########
 File path: sys/config/include/config/config.h
 ##########
 @@ -188,6 +188,15 @@ int conf_register(struct conf_handler *cf);
  */
 int conf_load(void);
 
+/**
+ * Load configuration from a specific registered persistence source.
+ * Handlers will be called for configuration subtrees for
+ * encountered values.
+ *
+ * @return 0 on success, non-zero on failure.
+ */
 
 Review comment:
   Yeah, that could be used but we wanted the callbacks getting called as well. 
Hence, the additional API.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to