GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
* install a port mapping if possible. The external port
* will be returned as part of the address.
*
- * @param sched scheduler to use
* @param cfg configuration to use
* @param domain communication domain (i.e. PF_INET or PF_INET6)
* @param type communication semantics (SOCK_STREAM, SOCK_DGRAM)
* function will be called with NULL on error
* @param cls closure for callback
*/
-int GNUNET_UPNP_get_ip (struct GNUNET_SCHEDULER_Handle *sched,
- struct GNUNET_CONFIGURATION_Handle *cfg,
- int domain,
- int type,
- int protocol,
- uint16_t port,
- struct GNUNET_TIME_Relative timeout,
- GNUNET_RESOLVER_AddressCallback callback, void *cls);
+int
+GNUNET_UPNP_get_ip (struct GNUNET_CONFIGURATION_Handle *cfg, int domain,
+ int type, int protocol, uint16_t port,
+ struct GNUNET_TIME_Relative timeout,
+ GNUNET_RESOLVER_AddressCallback callback, void *cls);
#if 0 /* keep Emacsens' auto-indent happy */