X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fcore%2Fgnunet-service-core.h;h=e48ad8badbadde02ab5b2e1a99e362130ad66901;hb=b0c7119fa2f43fe1b5978651152974359de5a5d2;hp=9068e7c3d948980c8882cb448f3e146cd4acc83a;hpb=026bfdef366253645c5bea8bed130a0f6900be77;p=oweals%2Fgnunet.git diff --git a/src/core/gnunet-service-core.h b/src/core/gnunet-service-core.h index 9068e7c3d..e48ad8bad 100644 --- a/src/core/gnunet-service-core.h +++ b/src/core/gnunet-service-core.h @@ -27,9 +27,7 @@ #define GNUNET_SERVICE_CORE_H #include "gnunet_statistics_service.h" - - -#define DEBUG_CORE GNUNET_EXTRA_LOGGING +#include "core.h" /** * Opaque handle to a client. @@ -39,7 +37,7 @@ struct GSC_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 @@ -49,13 +47,13 @@ struct GSC_ClientActiveRequest * Active requests are kept in a doubly-linked list of * the respective target peer. */ - struct ClientActiveRequest *next; + struct GSC_ClientActiveRequest *next; /** * Active requests are kept in a doubly-linked list of * the respective target peer. */ - struct ClientActiveRequest *prev; + struct GSC_ClientActiveRequest *prev; /** * Which peer is the message going to be for? @@ -77,6 +75,11 @@ struct GSC_ClientActiveRequest */ uint32_t priority; + /** + * Has this request been solicited yet? + */ + int was_solicited; + /** * How many bytes does the client intend to send? */