From f94b79cc54e2d4b529a931c80d30d7647b0a48b0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 11 Aug 2016 18:04:33 +0000 Subject: [PATCH] -converting API to use new CADET ports --- src/include/gnunet_conversation_service.h | 15 ++++++++++----- 1 file 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 @@ /* This file is part of GNUnet - Copyright (C) 2013, 2014 GNUnet e.V. + Copyright (C) 2013, 2014, 2016 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -68,7 +68,7 @@ extern "C" /** * Version of the conversation API. */ -#define GNUNET_CONVERSATION_VERSION 0x00000003 +#define GNUNET_CONVERSATION_VERSION 0x00000004 /** * Handle to identify a particular caller. A caller is an entity that @@ -90,22 +90,27 @@ struct GNUNET_CONVERSATION_PhoneRecord { /** - * Version of the phone record, for now always zero. We may + * Version of the phone record, for now always one. We may * use other versions for anonymously hosted phone lines in * the future. */ uint32_t version GNUNET_PACKED; /** - * Phone line to use at the peer. + * Reserved. In v1. always zero. */ - uint32_t line GNUNET_PACKED; + uint32_t reserved GNUNET_PACKED; /** * Identity of the peer hosting the phone service. */ struct GNUNET_PeerIdentity peer; + /** + * Phone line (CADET port) to connect to. + */ + struct GNUNET_HashCode line_port; + }; GNUNET_NETWORK_STRUCT_END -- 2.25.1