diff options
| author | Anton <anton@picapica> | 2016-11-27 04:27:26 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-11-27 04:27:26 +0400 |
| commit | 29474a9aa7375cef44788b4a2dad8ab137d75748 (patch) | |
| tree | 5ffbd3a0ab553da58044d79986ad00147b86d0e1 /PICA_client.h | |
| parent | 3dbb6dab7b05aa37369ce2d5d3e593e63a158250 (diff) | |
| download | pica-pica-29474a9aa7375cef44788b4a2dad8ab137d75748.tar.gz pica-pica-29474a9aa7375cef44788b4a2dad8ab137d75748.zip | |
added PICA_c2c members to hold direct c2c address list for outgoing direct connection and position in that list, stored as a zero-terminated copy of received PICA_PROTO_C2CDIRECT_ADDRLIST payload
Diffstat (limited to 'PICA_client.h')
| -rw-r--r-- | PICA_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PICA_client.h b/PICA_client.h index c63d106..2dbd1bf 100644 --- a/PICA_client.h +++ b/PICA_client.h @@ -204,7 +204,11 @@ struct PICA_c2c unsigned char peer_id[PICA_ID_SIZE]; SOCKET sck_data; SSL *ssl; + struct PICA_c2c_direct *direct; + uint8_t *directc2c_addrlist; + uint8_t *directc2c_addrpos; + int outgoing;//1 если создание канала инициировано локальным клиентом, 0 - если собеседником X509 *peer_cert; //unsigned char msgbuf[PICA_CHNMSGBUFLEN]; |
