aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-20 08:19:49 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-20 08:19:49 +0000
commit1eb83a1ba0adb2d841ee5de2b12005aab5801995 (patch)
treee537d5d3abae4d7e1bb9b06dd18605f44425c364 /src/psycstore
parent02caa52f2a1f37f3626f4f84632b4afcc75f51c4 (diff)
downloadgnunet-1eb83a1ba0adb2d841ee5de2b12005aab5801995.tar.gz
gnunet-1eb83a1ba0adb2d841ee5de2b12005aab5801995.zip
use c99
Diffstat (limited to 'src/psycstore')
-rw-r--r--src/psycstore/plugin_psycstore_sqlite.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/psycstore/plugin_psycstore_sqlite.c b/src/psycstore/plugin_psycstore_sqlite.c
index 7c7b64276..46bdfa1bd 100644
--- a/src/psycstore/plugin_psycstore_sqlite.c
+++ b/src/psycstore/plugin_psycstore_sqlite.c
@@ -813,13 +813,13 @@ slave_key_store (struct Plugin *plugin,
813 * @return #GNUNET_OK on success, else #GNUNET_SYSERR 813 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
814 */ 814 */
815static int 815static int
816membership_store (void *cls, 816sqlite_membership_store (void *cls,
817 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, 817 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
818 const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, 818 const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key,
819 int did_join, 819 int did_join,
820 uint64_t announced_at, 820 uint64_t announced_at,
821 uint64_t effective_since, 821 uint64_t effective_since,
822 uint64_t group_generation) 822 uint64_t group_generation)
823{ 823{
824 struct Plugin *plugin = cls; 824 struct Plugin *plugin = cls;
825 sqlite3_stmt *stmt = plugin->insert_membership; 825 sqlite3_stmt *stmt = plugin->insert_membership;
@@ -1898,7 +1898,7 @@ libgnunet_plugin_psycstore_sqlite_init (void *cls)
1898 } 1898 }
1899 api = GNUNET_new (struct GNUNET_PSYCSTORE_PluginFunctions); 1899 api = GNUNET_new (struct GNUNET_PSYCSTORE_PluginFunctions);
1900 api->cls = &plugin; 1900 api->cls = &plugin;
1901 api->membership_store = &membership_store; 1901 api->membership_store = &sqlite_membership_store;
1902 api->membership_test = &membership_test; 1902 api->membership_test = &membership_test;
1903 api->fragment_store = &fragment_store; 1903 api->fragment_store = &fragment_store;
1904 api->message_add_flags = &message_add_flags; 1904 api->message_add_flags = &message_add_flags;