diff options
| author | Anton <anton@picapica> | 2016-08-11 22:28:55 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-08-11 22:28:55 +0400 |
| commit | c78395ea13aead21e7041f42699fcbf3753f1832 (patch) | |
| tree | 765663fa83822c010cc5ee2db87cfd31ce516dd6 /PICA_client.h | |
| parent | c4304c26ce0ff043779e861fde9ec39f207f7600 (diff) | |
| download | pica-pica-c78395ea13aead21e7041f42699fcbf3753f1832.tar.gz pica-pica-c78395ea13aead21e7041f42699fcbf3753f1832.zip | |
added error code argument to c2n callbacks
Diffstat (limited to 'PICA_client.h')
| -rw-r--r-- | PICA_client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PICA_client.h b/PICA_client.h index 661ae6d..0fd1025 100644 --- a/PICA_client.h +++ b/PICA_client.h @@ -273,9 +273,9 @@ struct PICA_client_callbacks void (*c2n_established_cb)(struct PICA_c2n *c2n); - void (*c2n_failed_cb)(struct PICA_c2n *c2n); + void (*c2n_failed_cb)(struct PICA_c2n *c2n, int error); - void (*c2n_closed_cb)(struct PICA_c2n *c2n); + void (*c2n_closed_cb)(struct PICA_c2n *c2n, int error); void (*listener_error_cb)(struct PICA_listener *lst, int errorcode); }; |
