aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_protocols.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-02 14:48:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-02 14:48:56 +0000
commit437a8ac3b0f835c2035575331c1c9272ed93ae43 (patch)
tree855ace201e4ea83a2bdb0086031b9c15d6f336fd /src/include/gnunet_protocols.h
parent5b82f1062147ef5da89971d515d93fd4df8cd40d (diff)
downloadgnunet-437a8ac3b0f835c2035575331c1c9272ed93ae43.tar.gz
gnunet-437a8ac3b0f835c2035575331c1c9272ed93ae43.zip
-towards canonical header structure for conversation
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r--src/include/gnunet_protocols.h117
1 files changed, 115 insertions, 2 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index a98f0fe35..60ad23097 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -2118,6 +2118,119 @@ extern "C"
2118 2118
2119 2119
2120/******************************************************************************* 2120/*******************************************************************************
2121 * CONVERSATION message types
2122 ******************************************************************************/
2123
2124/**
2125 * Client <-> Server message to initiate a new call
2126 */
2127#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_INITIATE 730
2128
2129/**
2130 * Client <-> Server meessage to accept an incoming call
2131 */
2132#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_ACCEPT 731
2133
2134/**
2135 * Client <-> Server message to reject an incoming call
2136 */
2137#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_REJECT 732
2138
2139/**
2140 * Client <-> Server message to terminate a call
2141 */
2142#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_TERMINATE 733
2143
2144/**
2145 * Client <-> Server message to initiate a new call
2146 */
2147#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_TEST 734
2148
2149/**
2150 * Server <-> Client message to initiate a new call
2151 */
2152#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SESSION_INITIATE 735
2153
2154/**
2155 * Server <-> Client meessage to accept an incoming call
2156 */
2157#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SESSION_ACCEPT 736
2158
2159/**
2160 * Server <-> Client message to reject an incoming call
2161 */
2162#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SESSION_REJECT 737
2163
2164/**
2165 * Server <-> Client message to terminat a call
2166 */
2167#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SESSION_TERMINATE 738
2168
2169/**
2170 * Server <-> Client message to signalize the client that the service is already in use
2171 */
2172#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SERVICE_BLOCKED 739
2173
2174/**
2175 * Server <-> Client message to signalize the client that the called peer is not connected
2176 */
2177#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_PEER_NOT_CONNECTED 740
2178
2179/**
2180 * Server <-> Client message to signalize the client that called peer does not answer
2181 */
2182#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_NO_ANSWER 741
2183
2184/**
2185 * Server <-> Client message to notify client of missed call
2186 */
2187#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_MISSED_CALL 742
2188
2189/**
2190 * Server <-> Client message to signalize the client that there occured an error
2191 */
2192#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_ERROR 743
2193
2194/**
2195 * Server <-> Client message to notify client of peer being available
2196 */
2197#define GNUNET_MESSAGE_TYPE_CONVERSATION_SC_PEER_AVAILABLE 744
2198
2199/**
2200 * Mesh message to sinal the remote peer the wish to initiate a new call
2201 */
2202#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_SESSION_INITIATE 745
2203
2204/**
2205 * Mesh message to signal the remote peer the acceptance of an initiated call
2206 */
2207#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_SESSION_ACCEPT 746
2208
2209/**
2210 * Mesh message to reject an a wish to initiate a new call
2211 */
2212#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_SESSION_REJECT 747
2213
2214/**
2215 * Mesh message to signal a remote peer the terminatation of a call
2216 */
2217#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_SESSION_TERMINATE 748
2218
2219/**
2220 * Server <-> Client message to notify client of peer being available
2221 */
2222#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PEER_AVAILABLE 749
2223
2224
2225#define GNUNET_MESSAGE_TYPE_CONVERSATION_TEST 750
2226
2227/**
2228* Message to transmit the audio
2229*/
2230#define GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO 751
2231
2232
2233/*******************************************************************************
2121 * MULTICAST message types 2234 * MULTICAST message types
2122 ******************************************************************************/ 2235 ******************************************************************************/
2123 2236
@@ -2127,7 +2240,7 @@ extern "C"
2127/** 2240/**
2128 * Multicast message from the origin to all members. 2241 * Multicast message from the origin to all members.
2129 */ 2242 */
2130#define GNUNET_MESSAGE_TYPE_MULTICAST_MESSAGE 730 2243#define GNUNET_MESSAGE_TYPE_MULTICAST_MESSAGE 760
2131 2244
2132/** 2245/**
2133 * A unicast message from a group member to the origin. 2246 * A unicast message from a group member to the origin.
@@ -2177,7 +2290,7 @@ extern "C"
2177 2290
2178 2291
2179/** 2292/**
2180 * Next available: 750 2293 * Next available: 780
2181 */ 2294 */
2182 2295
2183 2296