You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/03/06 21:09:14 UTC

[GitHub] [mynewt-core] vrahane commented on a change in pull request #1674: sys/config: Add API for conf_load_one()

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:
users@infra.apache.org


With regards,
Apache Git Services