summaryrefslogtreecommitdiff
path: root/other/monolith.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2017-06-04 12:59:34 +0000
committeriphydf <iphydf@users.noreply.github.com>2017-06-04 17:48:23 +0000
commit1e8fa85aadf602bdca3a540de09a8184f7139a6c (patch)
tree4caab80957f7f9a2098fb97e776be763defc44ab /other/monolith.h
parent03f99bde2ecee3722d47a5b6a1031fc88e7210b7 (diff)
Add a monolith_test that includes all toxcore sources.
This requires that every symbol, even if static (file-scope), is unique. The idea is that we can easily run "whole" program static analysis on programs that include monolith.h ("whole" is in quotes, as we don't include dependencies like libsodium in this static analysis).
Diffstat (limited to 'other/monolith.h')
-rw-r--r--other/monolith.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/other/monolith.h b/other/monolith.h
new file mode 100644
index 00000000..def3738c
--- /dev/null
+++ b/other/monolith.h
@@ -0,0 +1,36 @@
1#include "../toxcore/tox.c"
2
3#include "../toxcore/crypto_core.c"
4#include "../toxcore/crypto_core_mem.c"
5#include "../toxcore/DHT.c"
6#include "../toxcore/friend_connection.c"
7#include "../toxcore/friend_requests.c"
8#include "../toxcore/group.c"
9#include "../toxcore/LAN_discovery.c"
10#include "../toxcore/list.c"
11#include "../toxcore/logger.c"
12#include "../toxcore/Messenger.c"
13#include "../toxcore/net_crypto.c"
14#include "../toxcore/network.c"
15#include "../toxcore/onion_announce.c"
16#include "../toxcore/onion.c"
17#include "../toxcore/onion_client.c"
18#include "../toxcore/ping_array.c"
19#include "../toxcore/ping.c"
20#include "../toxcore/TCP_client.c"
21#include "../toxcore/TCP_connection.c"
22#include "../toxcore/TCP_server.c"
23#include "../toxcore/tox_api.c"
24#include "../toxcore/util.c"
25
26#include "../toxav/audio.c"
27#include "../toxav/bwcontroller.c"
28#include "../toxav/groupav.c"
29#include "../toxav/msi.c"
30#include "../toxav/ring_buffer.c"
31#include "../toxav/rtp.c"
32#include "../toxav/toxav.c"
33#include "../toxav/toxav_old.c"
34#include "../toxav/video.c"
35
36#include "../toxencryptsave/toxencryptsave.c"