diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-10 14:21:06 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-10 14:21:06 -0700 |
commit | 6c2b2806d10881a4c44a47e877898e9de1cc63c9 (patch) | |
tree | 2879741f06260a5390ae619954f53f141ba4ce54 /core/Lossless_UDP.h | |
parent | 341de59bb627600c27ef29b113fa71bac120350f (diff) | |
parent | 5b6465528f88c4ed45fe57d5c2c21270f9109bb9 (diff) |
Merge pull request #415 from slvr/pr
Beginning to centralise packet handling
Diffstat (limited to 'core/Lossless_UDP.h')
-rw-r--r-- | core/Lossless_UDP.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/Lossless_UDP.h b/core/Lossless_UDP.h index b4cb186a..53afe606 100644 --- a/core/Lossless_UDP.h +++ b/core/Lossless_UDP.h | |||
@@ -113,11 +113,9 @@ int is_connected(int connection_id); | |||
113 | void doLossless_UDP(void); | 113 | void doLossless_UDP(void); |
114 | 114 | ||
115 | /* | 115 | /* |
116 | * If we receive a Lossless_UDP packet, call this function so it can be handled. | 116 | * This function sets up LosslessUDP packet handling. |
117 | * Return 0 if packet is handled correctly. | ||
118 | * Return 1 if it didn't handle the packet or if the packet was shit. | ||
119 | */ | 117 | */ |
120 | int LosslessUDP_handlepacket(uint8_t *packet, uint32_t length, IP_Port source); | 118 | void LosslessUDP_init(void); |
121 | 119 | ||
122 | #ifdef __cplusplus | 120 | #ifdef __cplusplus |
123 | } | 121 | } |