summaryrefslogtreecommitdiff
path: root/code/proxy/proxy.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-08-13 00:22:37 +0200
committerUros Majstorovic <majstor@majstor.org>2017-08-13 00:22:37 +0200
commitd830d95720e41b3374dd1edda04ef1ea4272967d (patch)
treeb45b601cecdcf8dfa33351c3b2170eac13d13116 /code/proxy/proxy.h
parentcdb555810c1fc9c94dd02a66a96876923d78a650 (diff)
proxy renamed to vconn
Diffstat (limited to 'code/proxy/proxy.h')
-rw-r--r--code/proxy/proxy.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/code/proxy/proxy.h b/code/proxy/proxy.h
deleted file mode 100644
index 6f82cd2..0000000
--- a/code/proxy/proxy.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#define ECP_CTYPE_PROXYF 1
-#define ECP_CTYPE_PROXYB 2
-
-#define ECP_MTYPE_RELAY 0x08
-#define ECP_MTYPE_EXEC 0x09
-
-typedef struct ECPConnProxy {
- ECPConnection b;
- ECPConnection *next;
-} ECPConnProxy;
-
-typedef struct ECPConnProxyF {
- ECPConnection b;
- unsigned char key_next[ECP_MAX_NODE_KEY][ECP_ECDH_SIZE_KEY];
- unsigned char key_next_curr;
- unsigned char key_out[ECP_ECDH_SIZE_KEY];
-} ECPConnProxyF;
-
-int ecp_proxy_init(ECPContext *ctx);
-
-int ecp_conn_proxy_init(ECPConnection *conn, ECPNode *conn_node, ECPConnProxy proxy[], ECPNode proxy_node[], int size);
-int ecp_conn_proxy_open(ECPConnection *conn, ECPNode *conn_node, ECPConnProxy proxy[], ECPNode proxy_node[], int size);