WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
* specified target peer; NULL on error
*/
typedef void (*GNUNET_VPN_AllocationCallback)(void *cls,
- int af,
- const void *address);
+ int af,
+ const void *address);
/**
* @param rr request to cancel
*/
void
-GNUNET_VPN_cancel_request (struct GNUNET_VPN_RedirectionRequest *rr);
+GNUNET_VPN_cancel_request(struct GNUNET_VPN_RedirectionRequest *rr);
/**
* anyway)
*/
struct GNUNET_VPN_RedirectionRequest *
-GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh,
- int result_af,
- uint8_t protocol,
- const struct GNUNET_PeerIdentity *peer,
- const struct GNUNET_HashCode *serv,
- struct GNUNET_TIME_Absolute expiration_time,
- GNUNET_VPN_AllocationCallback cb,
- void *cb_cls);
+GNUNET_VPN_redirect_to_peer(struct GNUNET_VPN_Handle *vh,
+ int result_af,
+ uint8_t protocol,
+ const struct GNUNET_PeerIdentity *peer,
+ const struct GNUNET_HashCode *serv,
+ struct GNUNET_TIME_Absolute expiration_time,
+ GNUNET_VPN_AllocationCallback cb,
+ void *cb_cls);
/**
* anyway)
*/
struct GNUNET_VPN_RedirectionRequest *
-GNUNET_VPN_redirect_to_ip (struct GNUNET_VPN_Handle *vh,
- int result_af,
- int addr_af,
- const void *addr,
- struct GNUNET_TIME_Absolute expiration_time,
- GNUNET_VPN_AllocationCallback cb,
- void *cb_cls);
+GNUNET_VPN_redirect_to_ip(struct GNUNET_VPN_Handle *vh,
+ int result_af,
+ int addr_af,
+ const void *addr,
+ struct GNUNET_TIME_Absolute expiration_time,
+ GNUNET_VPN_AllocationCallback cb,
+ void *cb_cls);
/**
* @return VPN handle
*/
struct GNUNET_VPN_Handle *
-GNUNET_VPN_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
+GNUNET_VPN_connect(const struct GNUNET_CONFIGURATION_Handle *cfg);
/**
* @param vh VPN handle
*/
void
-GNUNET_VPN_disconnect (struct GNUNET_VPN_Handle *vh);
+GNUNET_VPN_disconnect(struct GNUNET_VPN_Handle *vh);
#endif