3 This file is part of GNUnet.
4 Copyright (C) 2001-2017 GNUnet e.V.
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.
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.
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.
23 * @file cadet/gnunet-service-cadet-new_connection.c
25 * @author Bartlomiej Polot
26 * @author Christian Grothoff
29 #include "gnunet-service-cadet-new_connection.h"
33 * Obtain unique ID for the connection.
35 * @param cc connection.
36 * @return unique number of the connection
38 const struct GNUNET_CADET_ConnectionTunnelIdentifier *
39 GCC_get_id (struct CadetConnection *cc)
41 GNUNET_assert (0); // FIXME
47 * Log connection info.
49 * @param cc connection
50 * @param level Debug level to use.
53 GCC_debug (struct CadetConnection *cc,
54 enum GNUNET_ErrorType level)