Code

store: Add separate store-object types for the store writer API.
authorSebastian Harl <sh@tokkee.org>
Tue, 22 Sep 2015 08:09:24 +0000 (10:09 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 22 Sep 2015 08:09:24 +0000 (10:09 +0200)
commit07d956b72b9b0498b5ef720ea647f2df517b7a90
tree1761d2f727095da2264b8b95f718419f28ed66a1
parent316907e799c4587cdc6d619be3eb59f10dab2b89
store: Add separate store-object types for the store writer API.

The argument list of some of the callbacks has already gotten kinda long and
we'll want to add more (backends, etc.). Introduce new types which provide all
meta-data of the respective store types.

Also, only use a single callback to store all kinds of attributes, similar to
how it was already done in the "proto" module.
src/core/plugin.c
src/core/store.c
src/include/core/store.h
src/plugins/store/network.c