diff options
Diffstat (limited to 'toxcore/Lossless_UDP.h')
-rw-r--r-- | toxcore/Lossless_UDP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/Lossless_UDP.h b/toxcore/Lossless_UDP.h index 8a1c9c53..3d782be7 100644 --- a/toxcore/Lossless_UDP.h +++ b/toxcore/Lossless_UDP.h | |||
@@ -217,6 +217,11 @@ int read_packet_silent(Lossless_UDP *ludp, int connection_id, uint8_t *data); | |||
217 | */ | 217 | */ |
218 | int discard_packet(Lossless_UDP *ludp, int connection_id); | 218 | int discard_packet(Lossless_UDP *ludp, int connection_id); |
219 | 219 | ||
220 | /* returns the number of packet slots left in the sendbuffer. | ||
221 | * return 0 if failure. | ||
222 | */ | ||
223 | uint32_t num_free_sendqueue_slots(Lossless_UDP *ludp, int connection_id); | ||
224 | |||
220 | /* return 0 if data could not be put in packet queue. | 225 | /* return 0 if data could not be put in packet queue. |
221 | * return 1 if data was put into the queue. | 226 | * return 1 if data was put into the queue. |
222 | */ | 227 | */ |