summaryrefslogtreecommitdiffstats
path: root/PICA_client.c
Commit message (Collapse)AuthorAgeFilesLines
...
* implementing outgoing direct c2c connections and direct c2c-related packets ↵Anton2016-12-041-41/+112
| | | | exchange, work in progress
* renamed PICA_listener_conn to PICA_c2c_direct, use same struct for incoming ↵Anton2016-11-261-8/+8
| | | | and outgoing direct connections
* check if listener is not NULL before processingAnton2016-11-241-12/+18
|
* implemented sending direct c2c address list (single address only yet, to be ↵Anton2016-11-241-0/+29
| | | | improved)
* add listener connections' sockets to fd_set-s in event loopAnton2016-10-261-0/+10
|
* implemented closing listener connectionsAnton2016-10-211-3/+26
|
* processing connections accepted by listener, work in progressAnton2016-10-171-4/+49
|
* listener connection struct and code accepting listener connectionsAnton2016-09-281-1/+44
|
* linked listener processing to c2n structAnton2016-09-251-25/+13
|
* direct c2c packet handlersAnton2016-09-251-2/+30
|
* function declarationsAnton2016-09-231-3/+9
|
* 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-132/+5
|
* 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-47/+49
| | | | removed PICA_configure_directc2c()
* added declaration of the new function PICA_configure_directc2c()Anton2016-09-221-0/+6
|
* initialize direct_c2c fields of c2c structAnton2016-09-171-0/+2
|
* removed unused variablesAnton2016-08-151-4/+1
|
* added error code argument to c2n callbacksAnton2016-08-111-2/+2
|
* use pseudorandom bytes in short fixed-length protocol messages instead of ↵Anton2016-06-241-6/+6
| | | | random in order to not drain entropy pool
* bugfix - add c2c socket to write fd_set if state is connecting or higherAnton2016-06-191-3/+3
|
* return error from PICA_new_c2c() when c2n argument is not in connected stateAnton2016-06-191-0/+3
|
* fixed pointer typesAnton2016-05-081-1/+1
|
* appended _cb suffix to callbacks without oneAnton2016-05-051-8/+8
|
* implemented asynchronous processing of c2c connectionsAnton2016-05-051-98/+192
|
* asynchronous processing of c2c connections, work in progressAnton2016-04-131-47/+163
|
* fixed code style using "astyle --style=allman --lineend=linux --indent=tab ↵Anton2016-04-071-1494/+1500
| | | | --pad-oper *.c *.h"
* added skeleton of procmsg_C2CCONNREQ() - PICA_PROTO_C2CCONNREQ packet handlerAnton2016-04-071-0/+18
|
* generate new DH key on each handshakeAnton2015-05-251-0/+2
|
* implemented asynchronous processing of c2n connectionsAnton2015-05-111-44/+209
|
* PICA_event_loop() implementation, mostly completedAnton2015-04-151-7/+24
|
* callback for listener error notificationAnton2015-04-151-1/+1
|
* renamed remaining PICA_close_connection() -> PICA_close_c2n()Anton2015-04-111-2/+2
|
* more consistent naming, renamed conn -> c2n, channel -> c2c in function ↵Anton2015-04-111-45/+50
| | | | names and enumerations
* implementation of PICA_event_loop(), work in progressAnton2015-04-091-1/+69
|
* implementing PICA_event_loop(), created enums for c2n and c2c statesAnton2015-04-061-5/+62
|
* implemented PICA_new_listener() and PICA_close_listener()Anton2015-03-301-0/+94
|
* added missing free() call for PICA_acc struct in PICA_close_acc()Anton2015-03-301-0/+1
|
* updated test clientAnton2015-03-161-1/+1
|
* new structs PICA_acc - represents account credentials, certificate file and ↵me_desk2015-03-101-84/+180
| | | | | | 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-56/+56
| | | | | | to PICA_c2c (client-to-client) git-svn-id: svn://localhost/project_picapica/trunk@340 fb96df88-216d-11de-830c-f3023f12d8ac
* added new protocol messages definitions, updated protocol versionme_desk2015-03-101-2/+2
| | | | git-svn-id: svn://localhost/project_picapica/trunk@339 fb96df88-216d-11de-830c-f3023f12d8ac
* implemented file transfer cancellationme_desk2014-07-041-0/+33
| | | | git-svn-id: svn://localhost/project_picapica/trunk@315 fb96df88-216d-11de-830c-f3023f12d8ac
* fixed pause/resume bugs, moved callbacks.file_progress() call for outgoing ↵me_desk2014-06-291-5/+11
| | | | | | transfer inside send_file_fragment to make it always be called before finished_callback git-svn-id: svn://localhost/project_picapica/trunk@314 fb96df88-216d-11de-830c-f3023f12d8ac
* added file_finished() callbackme_desk2014-06-281-7/+18
| | | | git-svn-id: svn://localhost/project_picapica/trunk@313 fb96df88-216d-11de-830c-f3023f12d8ac
* pause/resume of file transfer now worksme_desk2014-06-261-16/+84
| | | | 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-29/+89
| | | | | | FileTransferController git-svn-id: svn://localhost/project_picapica/trunk@306 fb96df88-216d-11de-830c-f3023f12d8ac
* fixed typome_desk2013-12-151-1/+1
| | | | git-svn-id: svn://localhost/project_picapica/trunk@302 fb96df88-216d-11de-830c-f3023f12d8ac
* use buffer on stack, removed old check buf == NULLme_desk2013-12-151-12/+1
| | | | git-svn-id: svn://localhost/project_picapica/trunk@301 fb96df88-216d-11de-830c-f3023f12d8ac
* file sending and receiving, implemented required functions in PICA_client.c, ↵me_desk2013-12-151-22/+291
| | | | | | 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