diff options
-rw-r--r-- | core/substrate.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/core/substrate.h b/core/substrate.h deleted file mode 100644 index f6cab2a6..00000000 --- a/core/substrate.h +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | /* substrate.h | ||
2 | * The communications hub | ||
3 | * See also: http://http://wiki.tox.im/index.php/Proposal:Slvr_Protocol_Rewrite | ||
4 | * | ||
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | ||
6 | * | ||
7 | * This file is part of Tox. | ||
8 | * | ||
9 | * Tox is free software: you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation, either version 3 of the License, or | ||
12 | * (at your option) any later version. | ||
13 | * | ||
14 | * Tox is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | * You should have received a copy of the GNU General Public License | ||
20 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | ||
21 | * | ||
22 | */ | ||
23 | |||
24 | #include "network.h" | ||
25 | |||
26 | #ifdef __cplusplus | ||
27 | //extern "C" { | ||
28 | #endif | ||
29 | |||
30 | /* Type Definitions */ | ||
31 | |||
32 | typedef uint8_t channel_t; | ||
33 | |||
34 | typedef struct { | ||
35 | byte a[32]; | ||
36 | } address_t; | ||
37 | |||
38 | typedef struct { | ||
39 | |||
40 | } connection_t; | ||
41 | |||
42 | typedef void(*channel_recv_callback_t)(connection_t*, byte*, size_t, uint64_t); | ||
43 | |||
44 | typedef void(*on_connection_callback_t)(connection_t*); | ||
45 | |||
46 | /* Globals */ | ||
47 | |||
48 | extern address_t self_public_key; | ||
49 | |||
50 | /* Functions */ | ||
51 | |||
52 | void substrate_init(byte* keydata); | ||
53 | |||
54 | |||
55 | #ifdef __cplusplus | ||
56 | //} | ||
57 | #endif | ||
58 | |||