diff options
Diffstat (limited to 'database/storage_engine.h')
-rw-r--r-- | database/storage_engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database/storage_engine.h b/database/storage_engine.h index 0aa70d093..3ed515e0a 100644 --- a/database/storage_engine.h +++ b/database/storage_engine.h @@ -10,6 +10,8 @@ typedef struct storage_engine STORAGE_ENGINE; // ------------------------------------------------------------------------ // function pointers for all APIs provided by a storge engine typedef struct storage_engine_api { + STORAGE_METRIC_HANDLE *(*init)(RRDDIM *rd, STORAGE_INSTANCE *instance); + void (*free)(STORAGE_METRIC_HANDLE *); struct rrddim_collect_ops collect_ops; struct rrddim_query_ops query_ops; } STORAGE_ENGINE_API; |