[riot-notifications] [RIOT-OS/RIOT] doc/memos: RDM Runtime Configuration Architecture (#10622)

danpetry notifications at github.com
Thu Jan 10 14:09:50 CET 2019

danpetry commented on this pull request.

> +typedef struct {
+    char name[DUMMY_MAX_NAME_LEN];
+    char val[DUMMY_MAX_VAL_LEN];
+} dummy_store_storage_t;
+/* This will be our "storage device" */
+dummy_store_storage_t dummy_store[DUMMY_STORE_CAPACITY];
+static int registry_dummy_load(registry_store_t *store, load_cb_t cb,
+                               void *cb_arg);
+static int registry_dummy_store(registry_store_t *store, const char *name,
+const char *value);
+/* Storage Facility descriptor to be registered in the RIOT Registry */
+static registry_store_itf_t interface = {

Ah right, it's illustrated [here](https://github.com/RIOT-OS/RIOT/blob/bf6b66e94acd8391f75610170eb0792436a0e951/doc/memos/rdm-draft-alamos-lanzieri-runtime-configuration-architecture.md#registry-initialization) as `registry_src_register(interface)`. Is it worth making the diagram indicate that the register function maybe takes a callback in that case?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/d770610d/attachment.html>

More information about the notifications mailing list