gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r37704 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r37704 - gnunet/src/include
Date: Thu, 11 Aug 2016 20:04:33 +0200

Author: grothoff
Date: 2016-08-11 20:04:33 +0200 (Thu, 11 Aug 2016)
New Revision: 37704

Modified:
   gnunet/src/include/gnunet_conversation_service.h
Log:
-converting API to use new CADET ports

Modified: gnunet/src/include/gnunet_conversation_service.h
===================================================================
--- gnunet/src/include/gnunet_conversation_service.h    2016-08-11 18:04:19 UTC 
(rev 37703)
+++ gnunet/src/include/gnunet_conversation_service.h    2016-08-11 18:04:33 UTC 
(rev 37704)
@@ -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 @@
 /**
  * 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,7 +90,7 @@
 {
 
   /**
-   * 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.
    */
@@ -97,9 +97,9 @@
   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.
@@ -106,6 +106,11 @@
    */
   struct GNUNET_PeerIdentity peer;
 
+  /**
+   * Phone line (CADET port) to connect to.
+   */
+  struct GNUNET_HashCode line_port;
+
 };
 
 GNUNET_NETWORK_STRUCT_END




reply via email to

[Prev in Thread] Current Thread [Next in Thread]