tor_multipath_voip/src/donar_client.h
2019-02-12 21:45:15 +01:00

17 lines
365 B
C

#pragma once
#include <stdio.h>
#include <stdlib.h>
#include "algo_skel.h"
#include "tor_os.h"
#include "socks5.h"
#define CLIENT_PORT_SIZE 10
struct donar_client_ctx {
struct tor_os_str tos;
struct evt_core_ctx evts;
uint16_t ports[CLIENT_PORT_SIZE];
};
void donar_client(struct donar_client_ctx* ctx, struct algo_skel* as, char* onion_file, char* port);