diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-05-30 16:06:00 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-05-30 16:06:00 +0000 |
commit | 95cdeb5c0bb1f14f3959863e6bf4675db48ea177 (patch) | |
tree | 545e2a910c0efdae9dc2e2af8da45efa007cdf32 /src/peerstore/peerstore_common.h | |
parent | 02f9d1e7389d0da0a475ae0035b67801c7ca2d06 (diff) | |
download | gnunet-95cdeb5c0bb1f14f3959863e6bf4675db48ea177.tar.gz gnunet-95cdeb5c0bb1f14f3959863e6bf4675db48ea177.zip |
peerstore: towards watch functionality
Diffstat (limited to 'src/peerstore/peerstore_common.h')
-rw-r--r-- | src/peerstore/peerstore_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h index cd918497b..20cb9c0e7 100644 --- a/src/peerstore/peerstore_common.h +++ b/src/peerstore/peerstore_common.h | |||
@@ -27,6 +27,16 @@ | |||
27 | #include "peerstore.h" | 27 | #include "peerstore.h" |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * Creates a hash of the given key combination | ||
31 | * | ||
32 | */ | ||
33 | void | ||
34 | PEERSTORE_hash_key(const char *sub_system, | ||
35 | const struct GNUNET_PeerIdentity *peer, | ||
36 | const char *key, | ||
37 | struct GNUNET_HashCode *ret); | ||
38 | |||
39 | /** | ||
30 | * Creates a record message ready to be sent | 40 | * Creates a record message ready to be sent |
31 | * | 41 | * |
32 | * @param sub_system sub system string | 42 | * @param sub_system sub system string |