diff options
| author | Anton <anton@picapica> | 2016-09-28 02:30:50 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-09-28 02:30:50 +0400 |
| commit | 9008d31c8c4401051e50d26f1743501688ffc9bc (patch) | |
| tree | e75ad7b5a517060262c7801915a59c248a3719ef /PICA_client.h | |
| parent | fbe88d4debb49d03a3a97e450ca2a69bf91b058b (diff) | |
| download | pica-pica-9008d31c8c4401051e50d26f1743501688ffc9bc.tar.gz pica-pica-9008d31c8c4401051e50d26f1743501688ffc9bc.zip | |
listener connection struct and code accepting listener connections
Diffstat (limited to 'PICA_client.h')
| -rw-r--r-- | PICA_client.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/PICA_client.h b/PICA_client.h index 30f9cf9..764b9dd 100644 --- a/PICA_client.h +++ b/PICA_client.h @@ -227,6 +227,14 @@ struct PICA_c2c int disconnect_on_empty_write_buf; }; +struct PICA_listener_conn +{ + SOCKET sck; + SSL *ssl; + X509 *peer_cert; + struct PICA_listener_conn *next; +}; + struct PICA_listener { const struct PICA_acc *acc; @@ -238,6 +246,7 @@ struct PICA_listener in_addr_t public_addr_ipv4; const char *public_addr_dns; + struct PICA_listener_conn *accepted_connections; }; struct PICA_client_callbacks |
