aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-03 18:06:51 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-03 18:06:51 +0000
commit9fd836bda9b9255d84fcaa0a463c5427980b3e79 (patch)
treee49f9aad2afb4d396876c2d23f3a6ee0bf5b4c0d /src/include
parentec3d41bc58ed32ab7678d0b5f04e956d1cf97afc (diff)
downloadgnunet-9fd836bda9b9255d84fcaa0a463c5427980b3e79.tar.gz
gnunet-9fd836bda9b9255d84fcaa0a463c5427980b3e79.zip
-mostly finished call API
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_conversation_service.h6
-rw-r--r--src/include/gnunet_protocols.h13
2 files changed, 15 insertions, 4 deletions
diff --git a/src/include/gnunet_conversation_service.h b/src/include/gnunet_conversation_service.h
index 098cec9ab..76fcbfe6a 100644
--- a/src/include/gnunet_conversation_service.h
+++ b/src/include/gnunet_conversation_service.h
@@ -259,6 +259,12 @@ enum GNUNET_CONVERSATION_EventCode
259 * a `const char *`. The caller ID will be a GNS name. 259 * a `const char *`. The caller ID will be a GNS name.
260 */ 260 */
261 GNUNET_CONVERSATION_EC_RING, 261 GNUNET_CONVERSATION_EC_RING,
262
263 /**
264 * We are the caller and are now ringing the other party.
265 * The varargs will be empty.
266 */
267 GNUNET_CONVERSATION_EC_RINGING,
262 268
263 /** 269 /**
264 * We are ready to talk, metadata about the call may be supplied 270 * We are ready to talk, metadata about the call may be supplied
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 2cc54401c..afc56cfe2 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -2249,22 +2249,27 @@ extern "C"
2249/** 2249/**
2250 * Client <- Server message to indicate a ringing phone 2250 * Client <- Server message to indicate a ringing phone
2251 */ 2251 */
2252#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RING 733 2252#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_CALL 733
2253
2254/**
2255 * Client <- Server message to indicate a ringing phone
2256 */
2257#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RING 734
2253 2258
2254/** 2259/**
2255 * Client <-> Server message to send audio data. 2260 * Client <-> Server message to send audio data.
2256 */ 2261 */
2257#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_BUSY 734 2262#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_BUSY 735
2258 2263
2259/** 2264/**
2260 * Client <-> Server message to send audio data. 2265 * Client <-> Server message to send audio data.
2261 */ 2266 */
2262#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICKED_UP 735 2267#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICKED_UP 736
2263 2268
2264/** 2269/**
2265 * Client <-> Server message to send audio data. 2270 * Client <-> Server message to send audio data.
2266 */ 2271 */
2267#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_AUDIO 736 2272#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_AUDIO 737
2268 2273
2269 2274
2270 2275