* Configuration we use.
*/
const struct GNUNET_CONFIGURATION_Handle *cfg;
-
+
/**
* Message queue for communicating with the NAT service.
*/
*/
struct GNUNET_NAT_AUTO_AutoHandle *
GNUNET_NAT_AUTO_autoconfig_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
- GNUNET_NAT_AUTO_AutoResultCallback cb,
- void *cb_cls)
+ GNUNET_NAT_AUTO_AutoResultCallback cb,
+ void *cb_cls)
{
struct GNUNET_NAT_AUTO_AutoHandle *ah = GNUNET_new (struct GNUNET_NAT_AUTO_AutoHandle);
struct GNUNET_MQ_MessageHandler handlers[] = {
}
ah->arc = cb;
ah->arc_cls = cb_cls;
- ah->mq = GNUNET_CLIENT_connecT (cfg,
+ ah->mq = GNUNET_CLIENT_connect (cfg,
"nat",
handlers,
&ah_error_handler,