starting re-implementation of CADET service
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet-new_connection.c
1
2 /*
3      This file is part of GNUnet.
4      Copyright (C) 2001-2017 GNUnet e.V.
5
6      GNUnet is free software; you can redistribute it and/or modify
7      it under the terms of the GNU General Public License as published
8      by the Free Software Foundation; either version 3, or (at your
9      option) any later version.
10
11      GNUnet is distributed in the hope that it will be useful, but
12      WITHOUT ANY WARRANTY; without even the implied warranty of
13      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14      General Public License for more details.
15
16      You should have received a copy of the GNU General Public License
17      along with GNUnet; see the file COPYING.  If not, write to the
18      Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19      Boston, MA 02110-1301, USA.
20 */
21
22 /**
23  * @file cadet/gnunet-service-cadet-new_connection.c
24  * @brief
25  * @author Bartlomiej Polot
26  * @author Christian Grothoff
27  */
28 #include "platform.h"
29 #include "gnunet-service-cadet-new_connection.h"
30
31
32 /**
33  * Obtain unique ID for the connection.
34  *
35  * @param cc connection.
36  * @return unique number of the connection
37  */
38 const struct GNUNET_CADET_ConnectionTunnelIdentifier *
39 GCC_get_id (struct CadetConnection *cc)
40 {
41   GNUNET_assert (0); // FIXME
42   return NULL;
43 }
44
45
46 /**
47  * Log connection info.
48  *
49  * @param cc connection
50  * @param level Debug level to use.
51  */
52 void
53 GCC_debug (struct CadetConnection *cc,
54            enum GNUNET_ErrorType level)
55 {
56 }