aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-06-19 19:52:09 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-06-19 19:52:09 +0000
commit35ce6b5cad883871e481512794c1f4e5603e2734 (patch)
tree226b03cc13b17a09221ea7ef7f2d17c7a9b39805 /src/peerstore
parentfc1de993fe149c3b32f8d5687d4d77ae5999d444 (diff)
downloadgnunet-35ce6b5cad883871e481512794c1f4e5603e2734.tar.gz
gnunet-35ce6b5cad883871e481512794c1f4e5603e2734.zip
new sensors + fixes
Diffstat (limited to 'src/peerstore')
-rw-r--r--src/peerstore/perf_peerstore_store.c10
-rw-r--r--src/peerstore/test_peerstore_api_iterate.c18
-rw-r--r--src/peerstore/test_peerstore_api_store.c16
-rw-r--r--src/peerstore/test_peerstore_api_watch.c10
4 files changed, 27 insertions, 27 deletions
diff --git a/src/peerstore/perf_peerstore_store.c b/src/peerstore/perf_peerstore_store.c
index 4f5366225..e7a8fec04 100644
--- a/src/peerstore/perf_peerstore_store.c
+++ b/src/peerstore/perf_peerstore_store.c
@@ -30,12 +30,12 @@
30 30
31static int ok = 1; 31static int ok = 1;
32 32
33struct GNUNET_PEERSTORE_Handle *h; 33static struct GNUNET_PEERSTORE_Handle *h;
34 34
35char *ss = "test_peerstore_stress"; 35static char *ss = "test_peerstore_stress";
36struct GNUNET_PeerIdentity p; 36static struct GNUNET_PeerIdentity p;
37char *k = "test_peerstore_stress_key"; 37static char *k = "test_peerstore_stress_key";
38char *v = "test_peerstore_stress_val"; 38static char *v = "test_peerstore_stress_val";
39 39
40int count = 0; 40int count = 0;
41 41
diff --git a/src/peerstore/test_peerstore_api_iterate.c b/src/peerstore/test_peerstore_api_iterate.c
index 0655be25f..515e8f7df 100644
--- a/src/peerstore/test_peerstore_api_iterate.c
+++ b/src/peerstore/test_peerstore_api_iterate.c
@@ -28,16 +28,16 @@
28 28
29static int ok = 1; 29static int ok = 1;
30 30
31struct GNUNET_PEERSTORE_Handle *h; 31static struct GNUNET_PEERSTORE_Handle *h;
32 32
33char *ss = "test_peerstore_api_iterate"; 33static char *ss = "test_peerstore_api_iterate";
34struct GNUNET_PeerIdentity p1; 34static struct GNUNET_PeerIdentity p1;
35struct GNUNET_PeerIdentity p2; 35static struct GNUNET_PeerIdentity p2;
36char *k1 = "test_peerstore_api_iterate_key1"; 36static char *k1 = "test_peerstore_api_iterate_key1";
37char *k2 = "test_peerstore_api_iterate_key2"; 37static char *k2 = "test_peerstore_api_iterate_key2";
38char *k3 = "test_peerstore_api_iterate_key3"; 38static char *k3 = "test_peerstore_api_iterate_key3";
39char *val = "test_peerstore_api_iterate_val"; 39static char *val = "test_peerstore_api_iterate_val";
40int count = 0; 40static int count = 0;
41 41
42static int 42static int
43iter3_cb(void *cls, 43iter3_cb(void *cls,
diff --git a/src/peerstore/test_peerstore_api_store.c b/src/peerstore/test_peerstore_api_store.c
index 8b3391d83..ff02ac3ab 100644
--- a/src/peerstore/test_peerstore_api_store.c
+++ b/src/peerstore/test_peerstore_api_store.c
@@ -28,14 +28,14 @@
28 28
29static int ok = 1; 29static int ok = 1;
30 30
31struct GNUNET_PEERSTORE_Handle *h; 31static struct GNUNET_PEERSTORE_Handle *h;
32 32
33char *subsystem = "test_peerstore_api_store"; 33static char *subsystem = "test_peerstore_api_store";
34struct GNUNET_PeerIdentity pid; 34static struct GNUNET_PeerIdentity pid;
35char *key = "test_peerstore_api_store_key"; 35static char *key = "test_peerstore_api_store_key";
36char *val1 = "test_peerstore_api_store_val1"; 36static char *val1 = "test_peerstore_api_store_val1";
37char *val2 = "test_peerstore_api_store_val2-"; 37static char *val2 = "test_peerstore_api_store_val2-";
38char *val3 = "test_peerstore_api_store_val3--"; 38static char *val3 = "test_peerstore_api_store_val3--";
39 39
40int count = 0; 40int count = 0;
41 41
diff --git a/src/peerstore/test_peerstore_api_watch.c b/src/peerstore/test_peerstore_api_watch.c
index b8d0a0cce..2ab67eeb9 100644
--- a/src/peerstore/test_peerstore_api_watch.c
+++ b/src/peerstore/test_peerstore_api_watch.c
@@ -28,12 +28,12 @@
28 28
29static int ok = 1; 29static int ok = 1;
30 30
31struct GNUNET_PEERSTORE_Handle *h; 31static struct GNUNET_PEERSTORE_Handle *h;
32 32
33char *ss = "test_peerstore_api_watch"; 33static char *ss = "test_peerstore_api_watch";
34struct GNUNET_PeerIdentity p; 34static struct GNUNET_PeerIdentity p;
35char *k = "test_peerstore_api_watch_key"; 35static char *k = "test_peerstore_api_watch_key";
36char *val = "test_peerstore_api_watch_val"; 36static char *val = "test_peerstore_api_watch_val";
37 37
38static int 38static int
39watch_cb(void *cls, 39watch_cb(void *cls,