fio_progress_callback2 Struct Reference

structure used to register for callbacks from the SDK. All operations will block until they are complete, so the only way to tell how far along they are is to register with callbacks via this structure More...

#include <common_types.h>

Data Fields

uint32_t lib_version
uint64_t id
fio_cb_fn_t callback
clock_t callback_period_ms
void * context

Detailed Description

structure used to register for callbacks from the SDK. All operations will block until they are complete, so the only way to tell how far along they are is to register with callbacks via this structure


Field Documentation

Function to call with the progress updates

Number of milliseconds to wait between each callback

void* context

Additional user context to propagate. This is passed to the callback function when it is invoked.

uint64_t id

Unique ID passed to the callback function so it can identify the purpose of the callback operation

uint32_t lib_version

Fusion -io SDK API version (populated by FIO_STRUCT_INIT)


The documentation for this struct was generated from the following file:
Generated on Sun Oct 24 15:03:00 2010 for Fusion-io Device Management Public SDK by  doxygen 1.6.3