diff options
author | Determinant <[email protected]> | 2019-06-30 17:02:36 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-30 17:02:36 -0400 |
commit | 624550d7e1c032a4d3896ba002aa3ecb895f447c (patch) | |
tree | b33237e20176a03c8963b2185226e05838a62fab /src/network.cpp | |
parent | a53ae6b6ff2faa7fa1d54b3eb662dcfb3591d8ef (diff) |
...
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network.cpp b/src/network.cpp index e604eaa..05e7b50 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -155,6 +155,10 @@ const x509_t *msgnetwork_conn_get_peer_cert(const msgnetwork_conn_t *conn) { return (*conn)->get_peer_cert(); } +bool msgnetwork_conn_is_terminated(const msgnetwork_conn_t *conn) { + return (*conn)->is_terminated(); +} + // PeerNetwork peernetwork_config_t *peernetwork_config_new() { |