summaryrefslogtreecommitdiffstats
path: root/PICA_client.c
Commit message (Collapse)AuthorAgeFilesLines
* implementing directc2c processing, work in progressAnton2017-01-101-0/+61
|
* processing directc2c, work in progressAnton2017-01-091-7/+145
|
* implemented PICA_send_directc2cfailed() and PICA_send_directc2c_switch()Anton2016-12-291-2/+20
|
* declared functions for sending DIRECTC2C_FAILED and DIRECTC2C_SWITCH ↵Anton2016-12-281-2/+17
| | | | messages, also for processing received DIRECTC2C_SWITCH
* set verification callback for incoming directc2c TLS connectionAnton2016-12-261-0/+4
|
* implemented find_matching_c2c()Anton2016-12-261-3/+23
|
* implementing process_directc2c(), work in progressAnton2016-12-241-0/+49
|
* setting and handling PICA_DIRECTC2C_STATE_WAITINGINCOMING stateAnton2016-12-241-7/+36
|
* new direct c2c state that is set when outgoing connections to all direct ↵Anton2016-12-051-1/+1
| | | | addresses provided by peer have failed
* implemented starting direct c2c connectionAnton2016-12-051-5/+15
|
* renamed C2CDIRECT to DIRECTC2C everywhereAnton2016-12-051-23/+23
|
* 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
|