[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28065 - gnunet/src/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28065 - gnunet/src/identity |
Date: |
Mon, 15 Jul 2013 23:43:30 +0200 |
Author: grothoff
Date: 2013-07-15 23:43:30 +0200 (Mon, 15 Jul 2013)
New Revision: 28065
Modified:
gnunet/src/identity/gnunet-service-identity.c
Log:
-notes on what is left
Modified: gnunet/src/identity/gnunet-service-identity.c
===================================================================
--- gnunet/src/identity/gnunet-service-identity.c 2013-07-15 21:40:26 UTC
(rev 28064)
+++ gnunet/src/identity/gnunet-service-identity.c 2013-07-15 21:43:30 UTC
(rev 28065)
@@ -25,6 +25,10 @@
*
* The purpose of this service is to manage private keys that
* represent the various egos/pseudonyms/identities of a GNUnet user.
+ *
+ * TODO:
+ * - disk operations
+ * - default identity set/get handlers
*/
#include "platform.h"
#include "gnunet_util_lib.h"
@@ -488,6 +492,21 @@
/**
+ * Process the given file from the "EGODIR". Parses the file
+ * and creates the respective 'struct Ego' in memory.
+ *
+ * @param cls NULL
+ * @param filename name of the file to parse
+ */
+static void
+process_ego_file (void *cls,
+ const char *filename)
+{
+ GNUNET_break (0); // not implemented
+}
+
+
+/**
* Handle network size estimate clients.
*
* @param cls closure
@@ -550,6 +569,9 @@
stats = GNUNET_STATISTICS_create ("identity", cfg);
GNUNET_SERVER_add_handlers (server, handlers);
nc = GNUNET_SERVER_notification_context_create (server, 1);
+ GNUNET_DISK_directory_scan (ego_directory,
+ &process_ego_file,
+ NULL);
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task,
NULL);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28065 - gnunet/src/identity,
gnunet <=