/*
This file is part of GNUnet.
- (C) 2009, 2010, 2011 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2009, 2010, 2011 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
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
#define GNUNET_SERVICE_CORE_H
#include "gnunet_statistics_service.h"
-
-
-#define DEBUG_CORE GNUNET_EXTRA_LOGGING
+#include "gnunet_core_service.h"
+#include "core.h"
/**
* Opaque handle to a client.
/**
* Record kept for each request for transmission issued by a
- * client that is still pending. (This struct is used by
+ * client that is still pending. (This struct is used by
* both the 'CLIENTS' and 'SESSIONS' subsystems.)
*/
struct GSC_ClientActiveRequest
*/
struct GSC_ClientActiveRequest *prev;
+ /**
+ * Handle to the client.
+ */
+ struct GSC_Client *client_handle;
+
/**
* Which peer is the message going to be for?
*/
struct GNUNET_PeerIdentity target;
/**
- * Handle to the client.
+ * At what time did we first see this request?
*/
- struct GSC_Client *client_handle;
+ struct GNUNET_TIME_Absolute received_time;
/**
* By what time would the client want to see this message out?
/**
* How important is this request.
*/
- uint32_t priority;
+ enum GNUNET_CORE_Priority priority;
/**
* Has this request been solicited yet?