X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fset%2Fgnunet-service-set.h;h=9e1ffd01ad9a4d6434004ce92389dbb67038daf8;hb=5b32752cd7b02adcb8e6fec7798637638c6f63a0;hp=9829677441834625fc0fa5a1d63137e3ad5fbeba;hpb=ca2a0be297732b8cd8b2f6635bc6be6d6a717860;p=oweals%2Fgnunet.git diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index 982967744..9e1ffd01a 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet - Copyright (C) 2013, 2014 Christian Grothoff (and other contributing authors) + Copyright (C) 2013, 2014 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 @@ -126,7 +126,7 @@ struct OperationSpecification * Signature of functions that create the implementation-specific * state for a set supporting a specific operation. * - * @return a set state specific to the supported operation + * @return a set state specific to the supported operation, NULL on error */ typedef struct SetState * (*CreateImpl) (void); @@ -336,6 +336,9 @@ struct ElementEntry }; +struct Listener; + + /** * Operation context used to execute a set operation. */ @@ -353,6 +356,11 @@ struct Operation */ struct GNUNET_CADET_Channel *channel; + /** + * Port this operation runs on. + */ + struct Listener *listener; + /** * Message queue for the channel. */