diff options
| author | Anton <anton@picapica> | 2019-03-06 19:26:22 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-03-06 19:26:22 +0400 |
| commit | fc8c3b76068530a288c3fcd95f9c651996352402 (patch) | |
| tree | 003c852c616a38b97d0d795df522dc0703da7d62 /PICA_client.h | |
| parent | 73c06c18c5c6401ee08748ebed08c8896f63e344 (diff) | |
| download | pica-pica-fc8c3b76068530a288c3fcd95f9c651996352402.tar.gz pica-pica-fc8c3b76068530a288c3fcd95f9c651996352402.zip | |
add new callback direct_c2c_established_cb()
Diffstat (limited to 'PICA_client.h')
| -rw-r--r-- | PICA_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PICA_client.h b/PICA_client.h index fe84ea5..ba575c3 100644 --- a/PICA_client.h +++ b/PICA_client.h @@ -385,6 +385,8 @@ struct PICA_client_callbacks void (*listener_error_cb)(struct PICA_listener *lst, int errorcode); void (*multilogin_cb)(uint64_t timestamp, void *addr_bin, const char *addr_str, uint16_t port); + + void (*direct_c2c_established_cb)(const unsigned char *peer_id, const char *ciphersuitename); }; |
