diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-13 15:04:58 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-13 15:04:58 +0000 |
commit | 0985b95929255efbb2cb2614faca039b50153cd0 (patch) | |
tree | 0f87b7db526b4e6055cf97f3698764edbc60799d /src/include/gnunet_namestore_service.h | |
parent | 97f8a1ba8d1d43025ae43ab33bca12efbd49f355 (diff) | |
download | gnunet-0985b95929255efbb2cb2614faca039b50153cd0.tar.gz gnunet-0985b95929255efbb2cb2614faca039b50153cd0.zip |
header
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 9aa51ca11..8466d6135 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -134,6 +134,22 @@ typedef void (*GNUNET_NAMESTORE_RecordMonitor) (void *cls, | |||
134 | unsigned int rd_count, | 134 | unsigned int rd_count, |
135 | const struct GNUNET_GNSRECORD_Data *rd); | 135 | const struct GNUNET_GNSRECORD_Data *rd); |
136 | 136 | ||
137 | /** | ||
138 | * Set the desired nick name for a zone | ||
139 | * | ||
140 | * @param h handle to the namestore | ||
141 | * @param pkey private key of the zone | ||
142 | * @param nick the nick name to set | ||
143 | * @param cont continuation to call when done | ||
144 | * @param cont_cls closure for 'cont' | ||
145 | * @return handle to abort the request | ||
146 | */ | ||
147 | struct GNUNET_NAMESTORE_QueueEntry * | ||
148 | GNUNET_NAMESTORE_set_nick (struct GNUNET_NAMESTORE_Handle *h, | ||
149 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, | ||
150 | const char *nick, | ||
151 | GNUNET_NAMESTORE_ContinuationWithStatus cont, | ||
152 | void *cont_cls); | ||
137 | 153 | ||
138 | /** | 154 | /** |
139 | * Lookup an item in the namestore. | 155 | * Lookup an item in the namestore. |