fio_progress_callback 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

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


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

Generated on Wed May 5 11:44:54 2010 for Fusion-io Device Management Public SDK by  doxygen 1.6.1