Handle for a cadet to another peer. More...
Data Fields | |
struct GSF_CadetRequest * | pending_head |
Head of DLL of pending requests on this cadet. More... | |
struct GSF_CadetRequest * | pending_tail |
Tail of DLL of pending requests on this cadet. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | waiting_map |
Map from query to struct GSF_CadetRequest s waiting for a reply. More... | |
struct GNUNET_CADET_Channel * | channel |
Channel to the other peer. More... | |
struct GNUNET_PeerIdentity | target |
Which peer does this cadet go to? More... | |
struct GNUNET_SCHEDULER_Task * | timeout_task |
Task to kill inactive cadets (we keep them around for a few seconds to give the application a chance to give us another query). More... | |
struct GNUNET_SCHEDULER_Task * | reset_task |
Task to reset cadets that had errors (asynchronously, as we may not be able to do it immediately during a callback from the cadet API). More... | |
Handle for a cadet to another peer.
Definition at line 103 of file gnunet-service-fs_cadet_client.c.
struct GSF_CadetRequest* CadetHandle::pending_head |
Head of DLL of pending requests on this cadet.
Definition at line 108 of file gnunet-service-fs_cadet_client.c.
struct GSF_CadetRequest* CadetHandle::pending_tail |
Tail of DLL of pending requests on this cadet.
Definition at line 113 of file gnunet-service-fs_cadet_client.c.
struct GNUNET_CONTAINER_MultiHashMap* CadetHandle::waiting_map |
Map from query to struct GSF_CadetRequest
s waiting for a reply.
Definition at line 119 of file gnunet-service-fs_cadet_client.c.
struct GNUNET_CADET_Channel* CadetHandle::channel |
Channel to the other peer.
Definition at line 124 of file gnunet-service-fs_cadet_client.c.
struct GNUNET_PeerIdentity CadetHandle::target |
Which peer does this cadet go to?
Definition at line 129 of file gnunet-service-fs_cadet_client.c.
Referenced by get_cadet(), and GSF_cadet_query_cancel().
struct GNUNET_SCHEDULER_Task* CadetHandle::timeout_task |
Task to kill inactive cadets (we keep them around for a few seconds to give the application a chance to give us another query).
Definition at line 136 of file gnunet-service-fs_cadet_client.c.
struct GNUNET_SCHEDULER_Task* CadetHandle::reset_task |
Task to reset cadets that had errors (asynchronously, as we may not be able to do it immediately during a callback from the cadet API).
Definition at line 143 of file gnunet-service-fs_cadet_client.c.