summaryrefslogtreecommitdiffstats
path: root/PICA_client.h
Commit message (Collapse)AuthorAgeFilesLines
* pica-client: anon tls for c2n connectionsAnton2019-01-011-0/+2
|
* pica-client: add and initialize anon DH SSL_CTXAnton2018-12-161-0/+1
|
* commentsAnton2018-07-201-25/+75
|
* add copyrigt and GPL-3.0-or-later license notice to source filesAnton2018-07-171-0/+18
|
* fix missing declaration of PICA_close_directc2cAnton2018-07-141-0/+1
|
* add multilogin policy to protocol and client settingsAnton2018-07-031-2/+3
|
* fixed code style on all source files (*.c *.cpp *.h) using astyle ↵Anton2017-12-011-2/+2
| | | | --style=allman --lineend=linux --indent=tab --pad-oper
* added flag want_write, fixed conditions for adding sockets to write FD set ↵Anton2017-11-121-0/+3
| | | | for select() in order to prevent CPU wasting loops
* fixing directc2c bugs, work in progress... get rid of c2c/c2n _init_messages ↵Anton2017-06-181-1/+1
| | | | arrays; fixed resource release in PICA_new_listener; fixed pointer manipulations in PICA_send_directc2caddrlist
* directc2c, work in progressAnton2017-06-171-0/+4
|
* new direct c2c state that is set when outgoing connections to all direct ↵Anton2016-12-051-1/+2
| | | | addresses provided by peer have failed
* renamed C2CDIRECT to DIRECTC2C everywhereAnton2016-12-051-4/+4
|
* enum for direct c2c connection instance stateAnton2016-12-051-0/+11
|
* implementing outgoing direct c2c connections and direct c2c-related packets ↵Anton2016-12-041-2/+9
| | | | exchange, work in progress
* added PICA_c2c members to hold direct c2c address list for outgoing direct ↵Anton2016-11-271-0/+4
| | | | connection and position in that list, stored as a zero-terminated copy of received PICA_PROTO_C2CDIRECT_ADDRLIST payload
* renamed PICA_listener_conn to PICA_c2c_direct, use same struct for incoming ↵Anton2016-11-261-11/+10
| | | | and outgoing direct connections
* listener connection struct and code accepting listener connectionsAnton2016-09-281-0/+9
|
* linked listener processing to c2n structAnton2016-09-251-1/+1
|
* function declarationsAnton2016-09-231-5/+0
|
* renamed macros, use PICA_C2C_INCOMING instead of 0 magic numberAnton2016-09-231-2/+2
|
* added timeout handling to process_c2c(); removed unused obsolete functionsAnton2016-09-231-2/+2
|
* renamed to PICA_DIRECTC2C_STATE_INACTIVEAnton2016-09-231-1/+1
|
* moved direct c2c initialization into PICA_new_c2n() by adding new arguments, ↵Anton2016-09-231-21/+12
| | | | removed PICA_configure_directc2c()
* added declaration of the new function PICA_configure_directc2c()Anton2016-09-221-0/+2
|
* added directc2c_config field to PICA_c2c structAnton2016-09-121-0/+1
|
* added error code argument to c2n callbacksAnton2016-08-111-2/+2
|
* new direct c2c related types and struct fieldsAnton2016-06-241-0/+18
|
* fixed pointer typesAnton2016-05-081-2/+2
|
* appended _cb suffix to callbacks without oneAnton2016-05-051-5/+5
|
* implemented asynchronous processing of c2c connectionsAnton2016-05-051-0/+1
|
* asynchronous processing of c2c connections, work in progressAnton2016-04-131-0/+7
|
* fixed code style using "astyle --style=allman --lineend=linux --indent=tab ↵Anton2016-04-071-94/+94
| | | | --pad-oper *.c *.h"
* callback for listener error notificationAnton2015-04-151-0/+2
|
* callback functions for c2n status notificationsAnton2015-04-151-0/+6
|
* renamed remaining PICA_close_connection() -> PICA_close_c2n()Anton2015-04-111-1/+1
|
* more consistent naming, renamed conn -> c2n, channel -> c2c in function ↵Anton2015-04-111-15/+15
| | | | names and enumerations
* implementation of PICA_event_loop(), work in progressAnton2015-04-091-1/+1
|
* implementing PICA_event_loop(), created enums for c2n and c2c statesAnton2015-04-061-10/+19
|
* implemented PICA_new_listener() and PICA_close_listener()Anton2015-03-301-1/+1
|
* new structs PICA_acc - represents account credentials, certificate file and ↵me_desk2015-03-101-8/+52
| | | | | | private key and PICA_listener - represents port opened on client for accepting incoming direct p2p (client-to-client, bypassing node) connections; new functions for handling PICA_acc and PICA_listener, moved part of code from PICA_new_connection() to PICA_open_acc() git-svn-id: svn://localhost/project_picapica/trunk@341 fb96df88-216d-11de-830c-f3023f12d8ac
* renamed structs PICA_conninfo to PICA_c2n (client-to-node) and PICA_chaninfo ↵me_desk2015-03-101-24/+24
| | | | | | to PICA_c2c (client-to-client) git-svn-id: svn://localhost/project_picapica/trunk@340 fb96df88-216d-11de-830c-f3023f12d8ac
* implemented file transfer cancellationme_desk2014-07-041-0/+1
| | | | git-svn-id: svn://localhost/project_picapica/trunk@315 fb96df88-216d-11de-830c-f3023f12d8ac
* added file_finished() callbackme_desk2014-06-281-0/+2
| | | | git-svn-id: svn://localhost/project_picapica/trunk@313 fb96df88-216d-11de-830c-f3023f12d8ac
* pause/resume of file transfer now worksme_desk2014-06-261-0/+3
| | | | git-svn-id: svn://localhost/project_picapica/trunk@312 fb96df88-216d-11de-830c-f3023f12d8ac
* initial minimal working file transfer implementation, new class ↵me_desk2014-05-041-3/+5
| | | | | | FileTransferController git-svn-id: svn://localhost/project_picapica/trunk@306 fb96df88-216d-11de-830c-f3023f12d8ac
* file sending and receiving, implemented required functions in PICA_client.c, ↵me_desk2013-12-151-4/+24
| | | | | | support for bidirectional sending and receiving two files simultaneously, file operations (open, read, write) are handled inside PICA_client instead of caller functions git-svn-id: svn://localhost/project_picapica/trunk@300 fb96df88-216d-11de-830c-f3023f12d8ac
* file transfer - added protocol messages, handler functions, PICA_client API ↵me_desk2013-11-261-1/+31
| | | | | | functions git-svn-id: svn://localhost/project_picapica/trunk@299 fb96df88-216d-11de-830c-f3023f12d8ac
* update from database schema 1 to 2 with importing old accounts and ↵me_desk2013-10-071-1/+3
| | | | | | converting them to the new id formats; implemented new function PICA_get_id_from_cert_string git-svn-id: svn://localhost/project_picapica/trunk@276 fb96df88-216d-11de-830c-f3023f12d8ac
* switched to TLS 1.2 and DHE-RSA-CAMELLIA256-SHA. DH parameters file is ↵me_desk2013-09-131-7/+8
| | | | | | created on first start git-svn-id: svn://localhost/project_picapica/trunk@273 fb96df88-216d-11de-830c-f3023f12d8ac
* updated test_client, fixed found bugsme_desk2013-08-211-1/+1
| | | | git-svn-id: svn://localhost/project_picapica/trunk@264 fb96df88-216d-11de-830c-f3023f12d8ac