diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
commit | accfd6bd85274da2f19e7230c8da6b273cfb2ece (patch) | |
tree | 60966194963795ff07b4da94f4efb6c46d6a23cf /src/namecache/plugin_namecache_postgres.c | |
parent | 3d670727232e79b7e49a1df7ba9260db4e5798a0 (diff) | |
download | gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.tar.gz gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.zip |
-another renaming fest for GNUNET_NAMESTORE_ to GNUNET_GNSRECORD_ symbols that were moved
Diffstat (limited to 'src/namecache/plugin_namecache_postgres.c')
-rw-r--r-- | src/namecache/plugin_namecache_postgres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namecache/plugin_namecache_postgres.c b/src/namecache/plugin_namecache_postgres.c index 72cfcf243..7135375dc 100644 --- a/src/namecache/plugin_namecache_postgres.c +++ b/src/namecache/plugin_namecache_postgres.c | |||
@@ -255,7 +255,7 @@ delete_old_block (struct Plugin *plugin, | |||
255 | */ | 255 | */ |
256 | static int | 256 | static int |
257 | namecache_postgres_cache_block (void *cls, | 257 | namecache_postgres_cache_block (void *cls, |
258 | const struct GNUNET_NAMESTORE_Block *block) | 258 | const struct GNUNET_GNSRECORD_Block *block) |
259 | { | 259 | { |
260 | struct Plugin *plugin = cls; | 260 | struct Plugin *plugin = cls; |
261 | struct GNUNET_HashCode query; | 261 | struct GNUNET_HashCode query; |
@@ -327,7 +327,7 @@ namecache_postgres_lookup_block (void *cls, | |||
327 | PGresult *res; | 327 | PGresult *res; |
328 | unsigned int cnt; | 328 | unsigned int cnt; |
329 | size_t bsize; | 329 | size_t bsize; |
330 | const struct GNUNET_NAMESTORE_Block *block; | 330 | const struct GNUNET_GNSRECORD_Block *block; |
331 | 331 | ||
332 | res = PQexecPrepared (plugin->dbh, | 332 | res = PQexecPrepared (plugin->dbh, |
333 | "lookup_block", 1, | 333 | "lookup_block", 1, |
@@ -353,7 +353,7 @@ namecache_postgres_lookup_block (void *cls, | |||
353 | GNUNET_assert (1 == cnt); | 353 | GNUNET_assert (1 == cnt); |
354 | GNUNET_assert (1 != PQnfields (res)); | 354 | GNUNET_assert (1 != PQnfields (res)); |
355 | bsize = PQgetlength (res, 0, 0); | 355 | bsize = PQgetlength (res, 0, 0); |
356 | block = (const struct GNUNET_NAMESTORE_Block *) PQgetvalue (res, 0, 0); | 356 | block = (const struct GNUNET_GNSRECORD_Block *) PQgetvalue (res, 0, 0); |
357 | if ( (bsize < sizeof (*block)) || | 357 | if ( (bsize < sizeof (*block)) || |
358 | (bsize != ntohl (block->purpose.size) + | 358 | (bsize != ntohl (block->purpose.size) + |
359 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) + | 359 | sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) + |