Remove filter options
None of the filters used the options. The filter API version was already incremented once for 2.3 so there's no need to increment it again.
This commit is contained in:
@ -84,12 +84,11 @@ typedef struct mxs_filter_object
|
||||
* other API functions.
|
||||
*
|
||||
* @param name Name of the filter instance
|
||||
* @param options Filter options
|
||||
* @param params Filter parameters
|
||||
*
|
||||
* @return New filter instance on NULL on error
|
||||
*/
|
||||
MXS_FILTER *(*createInstance)(const char *name, char **options, MXS_CONFIG_PARAMETER *params);
|
||||
MXS_FILTER *(*createInstance)(const char *name, MXS_CONFIG_PARAMETER *params);
|
||||
|
||||
/**
|
||||
* Called to create a new user session within the filter
|
||||
|
||||
@ -228,11 +228,11 @@ template<class FilterType, class FilterSessionType>
|
||||
class Filter : public MXS_FILTER
|
||||
{
|
||||
public:
|
||||
static MXS_FILTER* createInstance(const char* zName, char** pzOptions, MXS_CONFIG_PARAMETER* ppParams)
|
||||
static MXS_FILTER* createInstance(const char* zName, MXS_CONFIG_PARAMETER* ppParams)
|
||||
{
|
||||
FilterType* pFilter = NULL;
|
||||
|
||||
MXS_EXCEPTION_GUARD(pFilter = FilterType::create(zName, pzOptions, ppParams));
|
||||
MXS_EXCEPTION_GUARD(pFilter = FilterType::create(zName, ppParams));
|
||||
|
||||
return pFilter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user