c-libp2p/include/libp2p/secio/secio.h

14 lines
179 B
C
Raw Normal View History

2017-02-01 12:52:09 +00:00
#pragma once
#include "libp2p/crypto/key.h"
2017-02-01 12:52:09 +00:00
/**
* A secure connection
*/
struct SecureSession {
int socket_descriptor;
struct PublicKey remote_key;
int remote_peer_id;
2017-02-01 12:52:09 +00:00
};