Addition of API modinfo implementation for filters

This commit is contained in:
Mark Riddoch
2014-06-02 18:18:31 +01:00
parent b764745fc3
commit 1d48794963
4 changed files with 33 additions and 0 deletions

View File

@ -69,6 +69,13 @@ typedef struct filter_object {
void (*diagnostics)(FILTER *instance, void *fsession, DCB *dcb);
} FILTER_OBJECT;
/**
* The filter API version. If the FILTER_OBJECT structure or the filter API
* is changed these values must be updated in line with the rules in the
* file modinfo.h.
*/
#define FILTER_VERSION {1, 0, 0}
/**
* The definition of a filter form the configuration file.
* This is basically the link between a plugin to load and the