aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-02 20:12:20 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-02 20:12:20 +0000
commitbabb44d2986297396feb11d760b94cb82f8f931c (patch)
treee8a413c76937add910fa4f002fb1960b31815b94 /src/include/gnunet_namestore_service.h
parentcb66f2dfd9164430b3dd22484075ac421d2464dc (diff)
downloadgnunet-babb44d2986297396feb11d760b94cb82f8f931c.tar.gz
gnunet-babb44d2986297396feb11d760b94cb82f8f931c.zip
-doxygen, indentation
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r--src/include/gnunet_namestore_service.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 8466d6135..19c57c718 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -89,9 +89,10 @@ GNUNET_NAMESTORE_disconnect (struct GNUNET_NAMESTORE_Handle *h);
89 * #GNUNET_YES (or other positive value) on success 89 * #GNUNET_YES (or other positive value) on success
90 * @param emsg NULL on success, otherwise an error message 90 * @param emsg NULL on success, otherwise an error message
91 */ 91 */
92typedef void (*GNUNET_NAMESTORE_ContinuationWithStatus) (void *cls, 92typedef void
93 int32_t success, 93(*GNUNET_NAMESTORE_ContinuationWithStatus) (void *cls,
94 const char *emsg); 94 int32_t success,
95 const char *emsg);
95 96
96 97
97/** 98/**
@@ -128,11 +129,13 @@ GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h,
128 * @param rd_count number of entries in @a rd array, 0 if label was deleted 129 * @param rd_count number of entries in @a rd array, 0 if label was deleted
129 * @param rd array of records with data to store 130 * @param rd array of records with data to store
130 */ 131 */
131typedef void (*GNUNET_NAMESTORE_RecordMonitor) (void *cls, 132typedef void
132 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, 133(*GNUNET_NAMESTORE_RecordMonitor) (void *cls,
133 const char *label, 134 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
134 unsigned int rd_count, 135 const char *label,
135 const struct GNUNET_GNSRECORD_Data *rd); 136 unsigned int rd_count,
137 const struct GNUNET_GNSRECORD_Data *rd);
138
136 139
137/** 140/**
138 * Set the desired nick name for a zone 141 * Set the desired nick name for a zone
@@ -259,7 +262,8 @@ struct GNUNET_NAMESTORE_ZoneMonitor;
259 * 262 *
260 * @param cls closure 263 * @param cls closure
261 */ 264 */
262typedef void (*GNUNET_NAMESTORE_RecordsSynchronizedCallback)(void *cls); 265typedef void
266(*GNUNET_NAMESTORE_RecordsSynchronizedCallback)(void *cls);
263 267
264 268
265/** 269/**