forked from Green-Sky/tomato
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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user