Squashed 'external/toxcore/c-toxcore/' changes from 59d3f6674..76bc4c496

76bc4c496 refactor: TCP connection netprof objects are now owned by Messenger

git-subtree-dir: external/toxcore/c-toxcore
git-subtree-split: 76bc4c496d407cbbd11f0a0d9d3eebfbf64ccd2c
This commit is contained in:
Green Sky
2025-03-19 11:19:59 +01:00
parent 72325822b8
commit 119bd4fb1d
15 changed files with 96 additions and 65 deletions

View File

@ -15,6 +15,10 @@
#include "logger.h"
#include "mem.h"
#ifdef __cplusplus
extern "C" {
#endif
/* The max number of packet ID's (must fit inside one byte) */
#define NET_PROF_MAX_PACKET_IDS 256
@ -70,4 +74,8 @@ Net_Profile *netprof_new(const Logger *log, const Memory *mem);
non_null(1) nullable(2)
void netprof_kill(const Memory *mem, Net_Profile *net_profile);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* C_TOXCORE_TOXCORE_NET_PROFILE_H */