aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_conversation_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-05 15:40:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-05 15:40:55 +0000
commit95b51ca1ee2a3d75a9570934dfcf1862cf830b7e (patch)
treeb9784d7a5669524f4b28a08218a2cc95e420766a /src/include/gnunet_conversation_service.h
parentd710c7df91151dde63d3304e4fdb27dc5fa8c781 (diff)
downloadgnunet-95b51ca1ee2a3d75a9570934dfcf1862cf830b7e.tar.gz
gnunet-95b51ca1ee2a3d75a9570934dfcf1862cf830b7e.zip
-enable printing and parsing of conversation's PHONE records
Diffstat (limited to 'src/include/gnunet_conversation_service.h')
-rw-r--r--src/include/gnunet_conversation_service.h28
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 */
81struct 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.