aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/gnunet-service-psycstore.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-09-16 16:05:58 +0000
committerGabor X Toth <*@tg-x.net>2013-09-16 16:05:58 +0000
commit6ea3d4aca0abfd35bfba6759c1655cbac057b68f (patch)
tree751b7da8be68b20cf6bbe03ec7540f9dd4cfc44b /src/psycstore/gnunet-service-psycstore.c
parent31e0571c997c8adbeaff9d48550290d7e7379434 (diff)
downloadgnunet-6ea3d4aca0abfd35bfba6759c1655cbac057b68f.tar.gz
gnunet-6ea3d4aca0abfd35bfba6759c1655cbac057b68f.zip
psyc service skeleton
Diffstat (limited to 'src/psycstore/gnunet-service-psycstore.c')
-rw-r--r--src/psycstore/gnunet-service-psycstore.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c
index 8a21167e1..14945641f 100644
--- a/src/psycstore/gnunet-service-psycstore.c
+++ b/src/psycstore/gnunet-service-psycstore.c
@@ -23,11 +23,8 @@
23 * @brief PSYCstore service 23 * @brief PSYCstore service
24 * @author Gabor X Toth 24 * @author Gabor X Toth
25 * @author Christian Grothoff 25 * @author Christian Grothoff
26 *
27 * The purpose of this service is to manage private keys that
28 * represent the various egos/pseudonyms/identities of a GNUnet user.
29 *
30 */ 26 */
27
31#include "platform.h" 28#include "platform.h"
32#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
33#include "gnunet_constants.h" 30#include "gnunet_constants.h"
@@ -666,15 +663,14 @@ handle_state_get_prefix (void *cls,
666 663
667 664
668/** 665/**
669 * Handle PSYCstore clients. 666 * Initialize the PSYCstore service.
670 * 667 *
671 * @param cls closure 668 * @param cls Closure.
672 * @param server the initialized server 669 * @param server The initialized server.
673 * @param c configuration to use 670 * @param c Configuration to use.
674 */ 671 */
675static void 672static void
676run (void *cls, 673run (void *cls, struct GNUNET_SERVER_Handle *server,
677 struct GNUNET_SERVER_Handle *server,
678 const struct GNUNET_CONFIGURATION_Handle *c) 674 const struct GNUNET_CONFIGURATION_Handle *c)
679{ 675{
680 static const struct GNUNET_SERVER_MessageHandler handlers[] = { 676 static const struct GNUNET_SERVER_MessageHandler handlers[] = {
@@ -766,7 +762,7 @@ run (void *cls,
766 762
767 763
768/** 764/**
769 * The main function for the network size estimation service. 765 * The main function for the service.
770 * 766 *
771 * @param argc number of arguments from the command line 767 * @param argc number of arguments from the command line
772 * @param argv command line arguments 768 * @param argv command line arguments