aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-06-20 17:07:35 +0000
committerharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-06-20 17:07:35 +0000
commit7afcf6f0dd925ca2df143e50da68d555a5d4f2af (patch)
treebea7426da00277db56afe56dff7f23bad38c590a /src/namestore
parentba83a940732d313a33664dc60da51d203bf91ed9 (diff)
-fixing compile warnings
git-svn-id: https://gnunet.org/svn/gnunet@22167 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/test_namestore_api.c3
-rw-r--r--src/namestore/test_namestore_api_create.c3
-rw-r--r--src/namestore/test_namestore_api_create_update.c3
-rw-r--r--src/namestore/test_namestore_api_lookup.c3
-rw-r--r--src/namestore/test_namestore_api_lookup_specific_type.c3
-rw-r--r--src/namestore/test_namestore_api_put.c3
-rw-r--r--src/namestore/test_namestore_api_remove.c3
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c3
-rw-r--r--src/namestore/test_namestore_api_zone_iteration.c3
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_specific_zone.c3
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_stop.c3
-rw-r--r--src/namestore/test_namestore_api_zone_to_name.c3
12 files changed, 24 insertions, 12 deletions
diff --git a/src/namestore/test_namestore_api.c b/src/namestore/test_namestore_api.c
index e85dd38bdb..7fb52a2da7 100644
--- a/src/namestore/test_namestore_api.c
+++ b/src/namestore/test_namestore_api.c
@@ -122,7 +122,8 @@ put_cont (void *cls, int32_t success, const char *emsg)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
struct GNUNET_CRYPTO_RsaSignature signature;
struct GNUNET_NAMESTORE_RecordData rd;
diff --git a/src/namestore/test_namestore_api_create.c b/src/namestore/test_namestore_api_create.c
index 5fc4f41227..6285895f29 100644
--- a/src/namestore/test_namestore_api_create.c
+++ b/src/namestore/test_namestore_api_create.c
@@ -343,7 +343,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
size_t rd_ser_len;
char *hostkey_file;
diff --git a/src/namestore/test_namestore_api_create_update.c b/src/namestore/test_namestore_api_create_update.c
index e21ed4186d..f3cc3917f2 100644
--- a/src/namestore/test_namestore_api_create_update.c
+++ b/src/namestore/test_namestore_api_create_update.c
@@ -193,7 +193,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
size_t rd_ser_len;
char *hostkey_file;
diff --git a/src/namestore/test_namestore_api_lookup.c b/src/namestore/test_namestore_api_lookup.c
index d74b1dcf7d..84dc414c6b 100644
--- a/src/namestore/test_namestore_api_lookup.c
+++ b/src/namestore/test_namestore_api_lookup.c
@@ -196,7 +196,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
size_t rd_ser_len;
struct GNUNET_TIME_Absolute et;
diff --git a/src/namestore/test_namestore_api_lookup_specific_type.c b/src/namestore/test_namestore_api_lookup_specific_type.c
index f53b152cc2..45507fcc5f 100644
--- a/src/namestore/test_namestore_api_lookup_specific_type.c
+++ b/src/namestore/test_namestore_api_lookup_specific_type.c
@@ -272,7 +272,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
size_t rd_ser_len;
char *hostkey_file;
diff --git a/src/namestore/test_namestore_api_put.c b/src/namestore/test_namestore_api_put.c
index 58e85f35a8..135b4a3e87 100644
--- a/src/namestore/test_namestore_api_put.c
+++ b/src/namestore/test_namestore_api_put.c
@@ -133,7 +133,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
struct GNUNET_CRYPTO_RsaSignature *signature;
const char * s_name = "dummy.dummy.gnunet";
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c
index 85ecb4a294..f91085315d 100644
--- a/src/namestore/test_namestore_api_remove.c
+++ b/src/namestore/test_namestore_api_remove.c
@@ -240,7 +240,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
size_t rd_ser_len;
char *hostkey_file;
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c
index ab9095d919..a18e342e1a 100644
--- a/src/namestore/test_namestore_api_remove_not_existing_record.c
+++ b/src/namestore/test_namestore_api_remove_not_existing_record.c
@@ -175,7 +175,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
char *hostkey_file;
size_t rd_ser_len;
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c
index 4e4ff88bcb..3cfe05d7e9 100644
--- a/src/namestore/test_namestore_api_zone_iteration.c
+++ b/src/namestore/test_namestore_api_zone_iteration.c
@@ -365,7 +365,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
char *hostkey_file;
struct GNUNET_TIME_Absolute et;
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
index 4a6bc571a6..9ed3fde285 100644
--- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
+++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
@@ -324,7 +324,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
char *hostkey_file;
struct GNUNET_TIME_Absolute et;
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c
index d684413987..732550acdc 100644
--- a/src/namestore/test_namestore_api_zone_iteration_stop.c
+++ b/src/namestore/test_namestore_api_zone_iteration_stop.c
@@ -373,7 +373,8 @@ create_record (unsigned int count)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
char *hostkey_file;
struct GNUNET_TIME_Absolute et;
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c
index cd722ab8a3..9c2aebc36c 100644
--- a/src/namestore/test_namestore_api_zone_to_name.c
+++ b/src/namestore/test_namestore_api_zone_to_name.c
@@ -163,7 +163,8 @@ put_cont (void *cls, int32_t success, const char *emsg)
static void
run (void *cls,
- const struct GNUNET_CONFIGURATION_Handle *cfg)
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
+ struct GNUNET_TESTING_Peer *peer)
{
struct GNUNET_TIME_Absolute et;