diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-08-11 18:04:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-08-11 18:04:33 +0000 |
commit | f94b79cc54e2d4b529a931c80d30d7647b0a48b0 (patch) | |
tree | 52691c4bbf1d1feabad4101ed9f9bc3f4c07c38e /src/include/gnunet_conversation_service.h | |
parent | 9c37ec935877bc6196febec8f6b2f0ad036189b9 (diff) | |
download | gnunet-f94b79cc54e2d4b529a931c80d30d7647b0a48b0.tar.gz gnunet-f94b79cc54e2d4b529a931c80d30d7647b0a48b0.zip |
-converting API to use new CADET ports
Diffstat (limited to 'src/include/gnunet_conversation_service.h')
-rw-r--r-- | src/include/gnunet_conversation_service.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/include/gnunet_conversation_service.h b/src/include/gnunet_conversation_service.h index 8dc207635..88eb7a585 100644 --- a/src/include/gnunet_conversation_service.h +++ b/src/include/gnunet_conversation_service.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2013, 2014 GNUnet e.V. | 3 | Copyright (C) 2013, 2014, 2016 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -68,7 +68,7 @@ extern "C" | |||
68 | /** | 68 | /** |
69 | * Version of the conversation API. | 69 | * Version of the conversation API. |
70 | */ | 70 | */ |
71 | #define GNUNET_CONVERSATION_VERSION 0x00000003 | 71 | #define GNUNET_CONVERSATION_VERSION 0x00000004 |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * Handle to identify a particular caller. A caller is an entity that | 74 | * Handle to identify a particular caller. A caller is an entity that |
@@ -90,22 +90,27 @@ struct GNUNET_CONVERSATION_PhoneRecord | |||
90 | { | 90 | { |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Version of the phone record, for now always zero. We may | 93 | * Version of the phone record, for now always one. We may |
94 | * use other versions for anonymously hosted phone lines in | 94 | * use other versions for anonymously hosted phone lines in |
95 | * the future. | 95 | * the future. |
96 | */ | 96 | */ |
97 | uint32_t version GNUNET_PACKED; | 97 | uint32_t version GNUNET_PACKED; |
98 | 98 | ||
99 | /** | 99 | /** |
100 | * Phone line to use at the peer. | 100 | * Reserved. In v1. always zero. |
101 | */ | 101 | */ |
102 | uint32_t line GNUNET_PACKED; | 102 | uint32_t reserved GNUNET_PACKED; |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * Identity of the peer hosting the phone service. | 105 | * Identity of the peer hosting the phone service. |
106 | */ | 106 | */ |
107 | struct GNUNET_PeerIdentity peer; | 107 | struct GNUNET_PeerIdentity peer; |
108 | 108 | ||
109 | /** | ||
110 | * Phone line (CADET port) to connect to. | ||
111 | */ | ||
112 | struct GNUNET_HashCode line_port; | ||
113 | |||
109 | }; | 114 | }; |
110 | 115 | ||
111 | GNUNET_NETWORK_STRUCT_END | 116 | GNUNET_NETWORK_STRUCT_END |