X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_namestore_service.h;h=8466d613507d7f7d5a32e478e792c496b7f05a1a;hb=27c12911f4f2aba2d90099270d70de846e83854f;hp=9aa51ca11fc030814e5a627d12202059c4e5f2f7;hpb=c1ff578c693e4e45125ead915dc515bb141883ec;p=oweals%2Fgnunet.git 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, unsigned int rd_count, const struct GNUNET_GNSRECORD_Data *rd); +/** + * Set the desired nick name for a zone + * + * @param h handle to the namestore + * @param pkey private key of the zone + * @param nick the nick name to set + * @param cont continuation to call when done + * @param cont_cls closure for 'cont' + * @return handle to abort the request + */ +struct GNUNET_NAMESTORE_QueueEntry * +GNUNET_NAMESTORE_set_nick (struct GNUNET_NAMESTORE_Handle *h, + const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, + const char *nick, + GNUNET_NAMESTORE_ContinuationWithStatus cont, + void *cont_cls); /** * Lookup an item in the namestore.