Smallers steps to keep plugin running
[oweals/gnunet.git] / src / include / gnunet_resolver_service.h
index 4c9a9f67e26cba58f14249a546772d068b2f4fe9..b55ca2f5616a02e574bb73e47adffcb885ec649e 100644 (file)
@@ -112,18 +112,13 @@ typedef void (*GNUNET_RESOLVER_HostnameCallback) (void *cls,
                                                   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.