Introduce get_ioengine for external engines
[fio.git] / ioengine.h
index 19ed10bf7a5401dd13fafe5cef97cb2d32748bd0..abf2b464d8dfcef30a4b4693536da89723c8ba08 100644 (file)
@@ -167,6 +167,11 @@ enum fio_ioengine_flags {
        FIO_BIT_BASED   = 1 << 10,      /* engine uses a bit base (e.g. uses Kbit as opposed to KB) */
 };
 
+/*
+ * External engine defined symbol to fill in the engine ops structure
+ */
+typedef void (*get_ioengine_t)(struct ioengine_ops **);
+
 /*
  * io engine entry points
  */