GNU Name System (main service) More...
#include "gnunet_identity_service.h"
Go to the source code of this file.
Functions | |
enum GNUNET_GenericReturnValue | GNS_find_tld (const char *tld_str, struct GNUNET_CRYPTO_PublicKey *pkey) |
Find GNS zone belonging to TLD tld. More... | |
const char * | GNS_get_tld (const char *name) |
Obtain the TLD of the given name. More... | |
GNU Name System (main service)
Definition in file gnunet-service-gns.h.
enum GNUNET_GenericReturnValue GNS_find_tld | ( | const char * | tld_str, |
struct GNUNET_CRYPTO_PublicKey * | pkey | ||
) |
Find GNS zone belonging to TLD tld.
tld_str | top-level domain to look up | |
[out] | pkey | public key to set |
Definition at line 178 of file gnunet-service-gns.c.
References GNUNET_GNSRECORD_zkey_to_pkey(), GNUNET_NO, GNUNET_OK, GNUNET_YES, pkey, GNS_TopLevelDomain::tld, and tld_head.
Referenced by handle_dns_request().
const char * GNS_get_tld | ( | const char * | name | ) |
Obtain the TLD of the given name.
name | a name |
Definition at line 210 of file gnunet-service-gns.c.
References name, and GNS_TopLevelDomain::tld.
Referenced by handle_dns_request(), handle_gns_redirect_result(), and recursive_gns2dns_resolution().