35 #ifndef GNUNET_SOCKS_H
36 #define GNUNET_SOCKS_H
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
static char * service_name
Option -s: service name (hash to get service descriptor)
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
int GNUNET_SOCKS_check_service(const char *service_name, const struct GNUNET_CONFIGURATION_Handle *cfg)
Check if a SOCKS proxy is required by a service.
struct GNUNET_CONNECTION_Handle * GNUNET_SOCKS_do_connect(const char *service_name, const struct GNUNET_CONFIGURATION_Handle *cfg)
Try to connect to a service configured to use a SOCKS5 proxy.
handle for a network connection