aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_namespace_list_updateable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_namespace_list_updateable.c')
-rw-r--r--src/fs/test_fs_namespace_list_updateable.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c
index 2132220fb..d883b7bea 100644
--- a/src/fs/test_fs_namespace_list_updateable.c
+++ b/src/fs/test_fs_namespace_list_updateable.c
@@ -35,7 +35,7 @@ static int err;
35 35
36static struct GNUNET_CRYPTO_EcdsaPrivateKey ns; 36static struct GNUNET_CRYPTO_EcdsaPrivateKey ns;
37 37
38static struct GNUNET_CONTAINER_MetaData *meta; 38static struct GNUNET_FS_MetaData *meta;
39 39
40static struct GNUNET_FS_Uri *uri_this; 40static struct GNUNET_FS_Uri *uri_this;
41 41
@@ -59,14 +59,14 @@ do_shutdown ()
59 if (uri_next != NULL) 59 if (uri_next != NULL)
60 GNUNET_FS_uri_destroy (uri_next); 60 GNUNET_FS_uri_destroy (uri_next);
61 if (meta != NULL) 61 if (meta != NULL)
62 GNUNET_CONTAINER_meta_data_destroy (meta); 62 GNUNET_FS_meta_data_destroy (meta);
63} 63}
64 64
65 65
66static void 66static void
67check_next (void *cls, const char *last_id, 67check_next (void *cls, const char *last_id,
68 const struct GNUNET_FS_Uri *last_uri, 68 const struct GNUNET_FS_Uri *last_uri,
69 const struct GNUNET_CONTAINER_MetaData *last_meta, 69 const struct GNUNET_FS_MetaData *last_meta,
70 const char *next_id) 70 const char *next_id)
71{ 71{
72 GNUNET_break (0 == strcmp (last_id, "next")); 72 GNUNET_break (0 == strcmp (last_id, "next"));
@@ -78,7 +78,7 @@ check_next (void *cls, const char *last_id,
78static void 78static void
79check_this_next (void *cls, const char *last_id, 79check_this_next (void *cls, const char *last_id,
80 const struct GNUNET_FS_Uri *last_uri, 80 const struct GNUNET_FS_Uri *last_uri,
81 const struct GNUNET_CONTAINER_MetaData *last_meta, 81 const struct GNUNET_FS_MetaData *last_meta,
82 const char *next_id) 82 const char *next_id)
83{ 83{
84 GNUNET_break (0 == strcmp (last_id, "this")); 84 GNUNET_break (0 == strcmp (last_id, "this"));
@@ -101,7 +101,7 @@ sks_cont_next (void *cls, const struct GNUNET_FS_Uri *uri, const char *emsg)
101static void 101static void
102check_this (void *cls, const char *last_id, 102check_this (void *cls, const char *last_id,
103 const struct GNUNET_FS_Uri *last_uri, 103 const struct GNUNET_FS_Uri *last_uri,
104 const struct GNUNET_CONTAINER_MetaData *last_meta, 104 const struct GNUNET_FS_MetaData *last_meta,
105 const char *next_id) 105 const char *next_id)
106{ 106{
107 GNUNET_break (0 == strcmp (last_id, "this")); 107 GNUNET_break (0 == strcmp (last_id, "this"));
@@ -131,7 +131,7 @@ testNamespace (void)
131 bo.replication_level = 0; 131 bo.replication_level = 0;
132 bo.expiration_time = 132 bo.expiration_time =
133 GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_MINUTES); 133 GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_MINUTES);
134 meta = GNUNET_CONTAINER_meta_data_create (); 134 meta = GNUNET_FS_meta_data_create ();
135 135
136 uri_this = 136 uri_this =
137 GNUNET_FS_uri_parse 137 GNUNET_FS_uri_parse