(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 15 Apr 2010 16:46:47 +0000 (16:46 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 15 Apr 2010 16:46:47 +0000 (16:46 +0000)
src/include/gnunet_resolver_service.h

index 4c9a9f67e26cba58f14249a546772d068b2f4fe9..9110f166cca2e4fb1d2cb3c036d34dbddf3ef81f 100644 (file)
@@ -114,16 +114,10 @@ typedef void (*GNUNET_RESOLVER_HostnameCallback) (void *cls,
 /**
  * Get local hostname
  *
- * @param sched scheduler to use
- * @param cfg configuration to use
- * @param callback function to call with addresses
- * @param cls closure for callback
+ * @param hostname
  */
-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_hostname_get ();
 
 /**
  * Perform a reverse DNS lookup.