Opaque handle to an abstract operation to be executed by the testing framework. More...
Data Fields | |
OperationStart | start |
Function to call when we have the resources to begin the operation. More... | |
OperationRelease | release |
Function to call to clean up after the operation (which may or may not have been started yet). More... | |
void * | cb_cls |
Closure for callbacks. More... | |
struct OperationQueue ** | queues |
Array of operation queues this Operation belongs to. More... | |
struct QueueEntry ** | qentries |
Array of operation queue entries corresponding to this operation in operation queues for this operation. More... | |
unsigned int * | nres |
Array of number of resources an operation need from each queue. More... | |
struct ReadyQueueEntry * | rq_entry |
Entry corresponding to this operation in ready queue. More... | |
struct TimeSlot * | tslots_head |
Head pointer for DLL of tslots allocated to this operation. More... | |
struct TimeSlot * | tslots_tail |
Tail pointer for DLL of tslots allocated to this operation. More... | |
struct GNUNET_TIME_Absolute | tstart |
The time at which the operation is started. More... | |
unsigned int | nqueues |
Number of queues in the operation queues array. More... | |
enum OperationState | state |
The state of the operation. More... | |
int | failed |
Is this a failed operation? More... | |
Opaque handle to an abstract operation to be executed by the testing framework.
Definition at line 307 of file testbed_api_operations.c.
OperationStart GNUNET_TESTBED_Operation::start |
Function to call when we have the resources to begin the operation.
Definition at line 312 of file testbed_api_operations.c.
OperationRelease GNUNET_TESTBED_Operation::release |
Function to call to clean up after the operation (which may or may not have been started yet).
Definition at line 318 of file testbed_api_operations.c.
Referenced by GNUNET_TESTBED_operation_create_().
void* GNUNET_TESTBED_Operation::cb_cls |
Closure for callbacks.
Definition at line 323 of file testbed_api_operations.c.
Referenced by GST_connection_pool_get_handle(), and handle_peer_create_success().
struct OperationQueue** GNUNET_TESTBED_Operation::queues |
Array of operation queues this Operation belongs to.
Definition at line 328 of file testbed_api_operations.c.
struct QueueEntry** GNUNET_TESTBED_Operation::qentries |
Array of operation queue entries corresponding to this operation in operation queues for this operation.
Definition at line 334 of file testbed_api_operations.c.
unsigned int* GNUNET_TESTBED_Operation::nres |
Array of number of resources an operation need from each queue.
The numbers in this array should correspond to the queues array
Definition at line 340 of file testbed_api_operations.c.
struct ReadyQueueEntry* GNUNET_TESTBED_Operation::rq_entry |
Entry corresponding to this operation in ready queue.
Will be NULL if the operation is not marked as READY
Definition at line 346 of file testbed_api_operations.c.
struct TimeSlot* GNUNET_TESTBED_Operation::tslots_head |
Head pointer for DLL of tslots allocated to this operation.
Definition at line 351 of file testbed_api_operations.c.
struct TimeSlot* GNUNET_TESTBED_Operation::tslots_tail |
Tail pointer for DLL of tslots allocated to this operation.
Definition at line 356 of file testbed_api_operations.c.
struct GNUNET_TIME_Absolute GNUNET_TESTBED_Operation::tstart |
The time at which the operation is started.
Definition at line 356 of file testbed_api_operations.c.
unsigned int GNUNET_TESTBED_Operation::nqueues |
Number of queues in the operation queues array.
Definition at line 366 of file testbed_api_operations.c.
enum OperationState GNUNET_TESTBED_Operation::state |
The state of the operation.
Definition at line 366 of file testbed_api_operations.c.
Referenced by httpdomain.autohttp.bottle.AutobottleDirective::run(), httpdomain.autohttp.flask.AutoflaskDirective::run(), httpdomain.autohttp.flaskqref.QuickReferenceFlaskDirective::run(), httpdomain.autohttp.tornado.AutoTornadoDirective::run(), and typescriptdomain.TypeScriptDefinition::run().
int GNUNET_TESTBED_Operation::failed |
Is this a failed operation?
Definition at line 376 of file testbed_api_operations.c.