mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
8a56cb3b58
Change the custom_packet_handler callback function interface to be consistent with other callback interfaces. The new interface takes the Messenger object calling as the first parameter, and moves the user data object to be the last parameter. This makes it comparable to the callbacks for file transfer and the like, and should simplify building interfaces. The new prototype is: int (*)(Messenger *m, int32_t friendnumber, const uint8_t *data, uint32_t len, void *object) |
||
---|---|---|
.. | ||
codec.c | ||
codec.h | ||
group.c | ||
group.h | ||
Makefile.inc | ||
msi.c | ||
msi.h | ||
rtp.c | ||
rtp.h | ||
toxav.c | ||
toxav.h |