aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorial-examples/013.c
blob: 6792417e19e57a15e63b8c0ba65b65944cddb63d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
struct GNUNET_PEERSTORE_StoreContext *
GNUNET_PEERSTORE_store (struct GNUNET_PEERSTORE_Handle *h,
                        const char *sub_system,
                        const struct GNUNET_PeerIdentity *peer,
                        const char *key,
                        const void *value,
                        size_t size,
                        struct GNUNET_TIME_Absolute expiry,
                        enum GNUNET_PEERSTORE_StoreOption options,
                        GNUNET_PEERSTORE_Continuation cont,
                        void *cont_cls);