diff options
Diffstat (limited to 'src/include/gnunet_conversation_service.h')
-rw-r--r-- | src/include/gnunet_conversation_service.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/gnunet_conversation_service.h b/src/include/gnunet_conversation_service.h index 3c3112745..848643f95 100644 --- a/src/include/gnunet_conversation_service.h +++ b/src/include/gnunet_conversation_service.h | |||
@@ -74,6 +74,34 @@ extern "C" | |||
74 | 74 | ||
75 | 75 | ||
76 | /** | 76 | /** |
77 | * A phone record specifies which peer is hosting a given user and | ||
78 | * may also specify the phone line that is used (typically zero). | ||
79 | * The version is also right now always zero. | ||
80 | */ | ||
81 | struct GNUNET_CONVERSATION_PhoneRecord | ||
82 | { | ||
83 | |||
84 | /** | ||
85 | * Version of the phone record, for now always zero. We may | ||
86 | * use other versions for anonymously hosted phone lines in | ||
87 | * the future. | ||
88 | */ | ||
89 | uint32_t version GNUNET_PACKED; | ||
90 | |||
91 | /** | ||
92 | * Phone line to use at the peer. | ||
93 | */ | ||
94 | uint32_t line GNUNET_PACKED; | ||
95 | |||
96 | /** | ||
97 | * Identity of the peer hosting the phone service. | ||
98 | */ | ||
99 | struct GNUNET_PeerIdentity peer; | ||
100 | |||
101 | }; | ||
102 | |||
103 | |||
104 | /** | ||
77 | * Information about the current status of a call. Each call | 105 | * Information about the current status of a call. Each call |
78 | * progresses from ring over ready to terminated. Steps may | 106 | * progresses from ring over ready to terminated. Steps may |
79 | * be skipped. | 107 | * be skipped. |