aboutsummaryrefslogtreecommitdiff
path: root/src/util/pseudonym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/pseudonym.c')
-rw-r--r--src/util/pseudonym.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c
index 85a485098..85353c6da 100644
--- a/src/util/pseudonym.c
+++ b/src/util/pseudonym.c
@@ -31,41 +31,41 @@
31#include "gnunet_pseudonym_lib.h" 31#include "gnunet_pseudonym_lib.h"
32#include "gnunet_bio_lib.h" 32#include "gnunet_bio_lib.h"
33 33
34/** 34/**
35 * Name of the directory which stores meta data for pseudonym 35 * Name of the directory which stores meta data for pseudonym
36 */ 36 */
37#define PS_METADATA_DIR DIR_SEPARATOR_STR "data" DIR_SEPARATOR_STR "pseudonyms" DIR_SEPARATOR_STR "metadata" DIR_SEPARATOR_STR 37#define PS_METADATA_DIR DIR_SEPARATOR_STR "data" DIR_SEPARATOR_STR "pseudonyms" DIR_SEPARATOR_STR "metadata" DIR_SEPARATOR_STR
38 38
39/** 39/**
40 * Name of the directory which stores names for pseudonyms 40 * Name of the directory which stores names for pseudonyms
41 */ 41 */
42#define PS_NAMES_DIR DIR_SEPARATOR_STR "data" DIR_SEPARATOR_STR "pseudonyms" DIR_SEPARATOR_STR "names" DIR_SEPARATOR_STR 42#define PS_NAMES_DIR DIR_SEPARATOR_STR "data" DIR_SEPARATOR_STR "pseudonyms" DIR_SEPARATOR_STR "names" DIR_SEPARATOR_STR
43 43
44 44
45/** 45/**
46 * Registered callbacks for discovery of pseudonyms. 46 * Registered callbacks for discovery of pseudonyms.
47 */ 47 */
48struct DiscoveryCallback 48struct DiscoveryCallback
49{ 49{
50 /** 50 /**
51 * This is a linked list. 51 * This is a linked list.
52 */ 52 */
53 struct DiscoveryCallback *next; 53 struct DiscoveryCallback *next;
54 54
55 /** 55 /**
56 * Function to call each time a pseudonym is discovered. 56 * Function to call each time a pseudonym is discovered.
57 */ 57 */
58 GNUNET_PSEUDONYM_Iterator callback; 58 GNUNET_PSEUDONYM_Iterator callback;
59 59
60 /** 60 /**
61 * Closure for callback. 61 * Closure for callback.
62 */ 62 */
63 void *closure; 63 void *closure;
64}; 64};
65 65
66 66
67/** 67/**
68 * Head of the linked list of functions to call when 68 * Head of the linked list of functions to call when
69 * new pseudonyms are added. 69 * new pseudonyms are added.
70 */ 70 */
71static struct DiscoveryCallback *head; 71static struct DiscoveryCallback *head;
@@ -280,7 +280,7 @@ read_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
280/** 280/**
281 * Return the unique, human readable name for the given namespace. 281 * Return the unique, human readable name for the given namespace.
282 * 282 *
283 * @param cfg configuration 283 * @param cfg configuration
284 * @param nsid cryptographic ID of the namespace 284 * @param nsid cryptographic ID of the namespace
285 * @return NULL on failure (should never happen) 285 * @return NULL on failure (should never happen)
286 */ 286 */
@@ -489,7 +489,7 @@ list_pseudonym_helper (void *cls, const char *fullname)
489/** 489/**
490 * List all available pseudonyms. 490 * List all available pseudonyms.
491 * 491 *
492 * @param cfg overall configuration 492 * @param cfg overall configuration
493 * @param iterator function to call for each pseudonym 493 * @param iterator function to call for each pseudonym
494 * @param closure closure for iterator 494 * @param closure closure for iterator
495 * @return number of pseudonyms found 495 * @return number of pseudonyms found