GNUnet 0.21.1
GNUNET_TRANSPORT_TESTING_SendClosure Struct Reference

Type of the closure argument to pass to GNUNET_TRANSPORT_TESTING_simple_send() and GNUNET_TRANSPORT_TESTING_large_send(). More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/transport/transport-testing2.h>

Collaboration diagram for GNUNET_TRANSPORT_TESTING_SendClosure:
[legend]

Data Fields

struct GNUNET_TRANSPORT_TESTING_ConnectCheckContextccc
 Context for the transmission. More...
 
size_t(* get_size_cb )(unsigned int n)
 Function that returns the desired message size. More...
 
unsigned int num_messages
 Number of messages to be transmitted in a loop. More...
 
GNUNET_SCHEDULER_TaskCallback cont
 Function to call after all transmissions, can be NULL. More...
 
void * cont_cls
 Closure for cont. More...
 

Detailed Description

Type of the closure argument to pass to GNUNET_TRANSPORT_TESTING_simple_send() and GNUNET_TRANSPORT_TESTING_large_send().

Definition at line 799 of file transport-testing2.h.

Field Documentation

◆ ccc

struct GNUNET_TRANSPORT_TESTING_ConnectCheckContext* GNUNET_TRANSPORT_TESTING_SendClosure::ccc

Context for the transmission.

Definition at line 804 of file transport-testing2.h.

◆ get_size_cb

size_t(* GNUNET_TRANSPORT_TESTING_SendClosure::get_size_cb) (unsigned int n)

Function that returns the desired message size.

Overrides the message size, can be NULL in which case the message size is the default.

Definition at line 811 of file transport-testing2.h.

◆ num_messages

unsigned int GNUNET_TRANSPORT_TESTING_SendClosure::num_messages

Number of messages to be transmitted in a loop.

Use zero for "forever" (until external shutdown).

Definition at line 817 of file transport-testing2.h.

◆ cont

GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_SendClosure::cont

Function to call after all transmissions, can be NULL.

Definition at line 822 of file transport-testing2.h.

◆ cont_cls

void* GNUNET_TRANSPORT_TESTING_SendClosure::cont_cls

Closure for cont.

Definition at line 827 of file transport-testing2.h.


The documentation for this struct was generated from the following file: