const char *hostname);
/**
- * Get local hostname
+ * Get local fully qualified domain name
*
- * @param sched scheduler to use
- * @param cfg configuration to use
- * @param callback function to call with addresses
- * @param cls closure for callback
+ * @return local hostname, caller must free
*/
-void
-GNUNET_RESOLVER_local_hostname_get (struct GNUNET_SCHEDULER_Handle *sched,
- const struct GNUNET_CONFIGURATION_Handle *cfg,
- GNUNET_RESOLVER_HostnameCallback callback,
- void *cls);
+char *
+GNUNET_RESOLVER_local_fqdn_get ( void );
+
/**
* Perform a reverse DNS lookup.