Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fixed callbacks on raspbian | 7324419faf44b59072633a76db24a8e612460c8f | GDR! | 2014-12-22 02:23:21 |
Fixed warning on implicit function declaration | 575ea150208b7ca61a639d0c9a20df656d2b178f | GDR! | 2014-12-22 00:52:53 |
Trying to make the calling convention problem go away | 1fb0fae11b2d129dd380b6413e5e81d461c8806d | GDR! | 2014-12-22 00:52:27 |
Increased number of send retries - helpful on flaky links | 3f86c8bb935408fdfb056a412da23b6b181d0755 | GDR! | 2014-12-13 18:13:12 |
Tokssh formatted | 489cad267d4537cbe20f4c539f49a2d96ed6d0bb | GDR! | 2014-12-13 17:50:07 |
Added tokssh wrapper script | 967a260e4fb84659424e9b81cc7f6318380ae02d | GDR! | 2014-12-13 17:49:14 |
More robust connection algorithm | 4f28d0b194fdd9607955f2e32de44f8fbf5d7d31 | GDR! | 2014-12-13 17:24:39 |
Added -lrt for old glibc versions like raspbian | 9f66ecc193b1bca4eac19f178123215340c9cb14 | GDR! | 2014-12-13 17:24:10 |
Pipe mode working, yay! | 99a66836911b804dce1455580cbf75dc99f23538 | GDR! | 2014-12-11 22:27:26 |
Added MSG_NOSIGNAL to send() in client | c9f51df320380a537843145ebbf4ceff7ef1c561 | GDR! | 2014-12-11 21:33:27 |
Fixed a warning and printing garbage | 925a7c2bdf93c3a0209552285b77e2e585a799c4 | GDR! | 2014-12-11 21:31:49 |
Fixed a warning and printing garbage | f7f5170d00ee10affcacf569842207120a7ab16d | GDR! | 2014-12-11 21:30:51 |
Fixed server-side SIGPIPE | 946e3fa1907217a0717978ac98b32ce1ee7c23ac | GDR! | 2014-12-11 21:24:16 |
Added handle_server_tcp_fin_frame | 169a478762d6863782395acff8c9f53b733048f5 | GDR! | 2014-12-11 21:19:32 |
Added systemd and supervisord config files | ea3d59d854108f28c2d2d10a5af60fe3d66e1f6f | GDR! | 2014-12-11 20:33:54 |
Removed the const qualifier from frame->data | d81429c916e41958483256556dea861cb97487c4 | GDR! | 2014-12-11 19:57:32 |
Updated the IP of MVPS bootstrap node | fbe7d5d1b54b0c67d644ad68ca37088f529d150f | GDR! | 2014-12-11 19:56:04 |
Got rid of some dead code | a60a3712c46bcef7dbb9c56c84693d070230c91b | GDR! | 2014-12-11 19:47:19 |
Make localhost work even if regular name resolution fails | eee06b7d149e00a79897c1d17b0264af99e5149e | GDR! | 2014-12-11 19:38:38 |
Readme tweaks | 6bb15840b0bde8e5949e76873aec418f2b64951f | GDR! | 2014-12-11 18:41:19 |
File | Lines added | Lines deleted |
---|---|---|
Makefile | 1 | 1 |
main.c | 1 | 1 |
main.h | 1 | 1 |
File Makefile changed (mode: 100644) (index e839995..32f6d87) | |||
1 | 1 | SOURCES = $(wildcard *.c) | SOURCES = $(wildcard *.c) |
2 | 2 | DEPS=libtoxcore | DEPS=libtoxcore |
3 | 3 | CC=gcc | CC=gcc |
4 | CFLAGS=-g -O2 #-std=c99 | ||
4 | CFLAGS=-g #-std=c99 | ||
5 | 5 | CFLAGS += $(shell pkg-config --cflags $(DEPS)) | CFLAGS += $(shell pkg-config --cflags $(DEPS)) |
6 | 6 | LDFLAGS=-g -pthread -lm -static -lrt | LDFLAGS=-g -pthread -lm -static -lrt |
7 | 7 | LDFLAGS += $(shell pkg-config --libs $(DEPS)) | LDFLAGS += $(shell pkg-config --libs $(DEPS)) |
File main.c changed (mode: 100644) (index 3c3a4fb..3979d3d) | |||
... | ... | int handle_frame(protocol_frame *frame) | |
482 | 482 | * It checks for basic inconsistiencies and allocates the | * It checks for basic inconsistiencies and allocates the |
483 | 483 | * protocol_frame structure. | * protocol_frame structure. |
484 | 484 | */ | */ |
485 | int parse_lossless_packet(void *sender_uc, const uint8_t *data, uint32_t len) | ||
485 | int parse_lossless_packet(Tox *tox, int32_t friendnumber, const uint8_t *data, uint32_t len, void *sender_uc) | ||
486 | 486 | { | { |
487 | 487 | protocol_frame *frame = NULL; | protocol_frame *frame = NULL; |
488 | 488 |
File main.h changed (mode: 100644) (index a3890ca..eeea691) | |||
... | ... | extern int local_port; | |
85 | 85 | extern int select_nfds; | extern int select_nfds; |
86 | 86 | extern tunnel *by_id; | extern tunnel *by_id; |
87 | 87 | ||
88 | int parse_lossless_packet(void *sender_uc, const uint8_t *data, uint32_t len); | ||
88 | int parse_lossless_packet(Tox *tox, int32_t friendnumber, const uint8_t *data, uint32_t len, void *sender_uc); | ||
89 | 89 | tunnel *tunnel_create(int sockfd, int connid, uint32_t friendnumber); | tunnel *tunnel_create(int sockfd, int connid, uint32_t friendnumber); |
90 | 90 | void tunnel_delete(tunnel *t); | void tunnel_delete(tunnel *t); |
91 | 91 | #endif | #endif |