diff options
| author | Anton <anton@picapica> | 2016-06-25 23:35:49 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-06-25 23:36:30 +0400 |
| commit | c4304c26ce0ff043779e861fde9ec39f207f7600 (patch) | |
| tree | 57d64d65bb5a2391245cad28bfff50507277a30c /pica-client/skynet.h | |
| parent | 7474744a007d615093091c74e9ba72f56e39a205 (diff) | |
| download | pica-pica-c4304c26ce0ff043779e861fde9ec39f207f7600.tar.gz pica-pica-c4304c26ce0ff043779e861fde9ec39f207f7600.zip | |
added callbacks
Diffstat (limited to 'pica-client/skynet.h')
| -rw-r--r-- | pica-client/skynet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pica-client/skynet.h b/pica-client/skynet.h index 0b2c84b..b9e1298 100644 --- a/pica-client/skynet.h +++ b/pica-client/skynet.h @@ -131,6 +131,14 @@ private: static void file_finished(const unsigned char *peer_id, int sending); + static void c2n_established_cb(struct PICA_c2n *c2n); + + static void c2n_failed_cb(struct PICA_c2n *c2n); + + static void c2n_closed_cb(struct PICA_c2n *c2n); + + static void listener_error_cb(struct PICA_listener *lst, int errorcode); + private slots: void nodethread_finished(); void nodethread_connected(QString addr, quint16 port, NodeThread *thread); |
