Make filter const correct and use snake case
CamelCase is still in use with the printing functions.
This commit is contained in:
@ -109,17 +109,17 @@ typedef struct filter_def
|
||||
struct filter_def *next; /**< Next filter in the chain of all filters */
|
||||
} FILTER_DEF;
|
||||
|
||||
FILTER_DEF *filter_alloc(char *, char *);
|
||||
FILTER_DEF *filter_alloc(const char *, const char *);
|
||||
void filter_free(FILTER_DEF *);
|
||||
bool filter_load(FILTER_DEF* filter);
|
||||
FILTER_DEF *filter_find(char *);
|
||||
void filterAddOption(FILTER_DEF *, char *);
|
||||
void filterAddParameter(FILTER_DEF *, char *, char *);
|
||||
DOWNSTREAM *filterApply(FILTER_DEF *, SESSION *, DOWNSTREAM *);
|
||||
UPSTREAM *filterUpstream(FILTER_DEF *, void *, UPSTREAM *);
|
||||
int filter_standard_parameter(char *);
|
||||
FILTER_DEF *filter_find(const char *);
|
||||
void filter_add_option(FILTER_DEF *, const char *);
|
||||
void filter_add_parameter(FILTER_DEF *, const char *, const char *);
|
||||
DOWNSTREAM *filter_apply(FILTER_DEF *, SESSION *, DOWNSTREAM *);
|
||||
UPSTREAM *filter_upstream(FILTER_DEF *, void *, UPSTREAM *);
|
||||
int filter_standard_parameter(const char *);
|
||||
void dprintAllFilters(DCB *);
|
||||
void dprintFilter(DCB *, FILTER_DEF *);
|
||||
void dprintFilter(DCB *, const FILTER_DEF *);
|
||||
void dListFilters(DCB *);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user