Change mechanism to detect data type/size changes by plugins
* Remove "probe" type from db_field_log * Supply probe when registering plugin chains * Minor refactoring (rename) in dbfl_type and chFilter
This commit is contained in:
committed by
Michael Davidsaver
parent
c41fcef260
commit
ec7dfb1890
@@ -481,23 +481,23 @@ static long channel_open(chFilter *filter)
|
||||
}
|
||||
|
||||
static void channel_register_pre(chFilter *filter,
|
||||
chPostEventFunc **cb_out, void **arg_out)
|
||||
chPostEventFunc **cb_out, void **arg_out, db_field_log *probe)
|
||||
{
|
||||
chfPlugin *p = (chfPlugin*) filter->plug->puser;
|
||||
chfFilter *f = (chfFilter*) filter->puser;
|
||||
|
||||
if (p->pif->channelRegisterPre)
|
||||
p->pif->channelRegisterPre(filter->chan, f->puser, cb_out, arg_out);
|
||||
p->pif->channelRegisterPre(filter->chan, f->puser, cb_out, arg_out, probe);
|
||||
}
|
||||
|
||||
static void channel_register_post(chFilter *filter,
|
||||
chPostEventFunc **cb_out, void **arg_out)
|
||||
chPostEventFunc **cb_out, void **arg_out, db_field_log *probe)
|
||||
{
|
||||
chfPlugin *p = (chfPlugin*) filter->plug->puser;
|
||||
chfFilter *f = (chfFilter*) filter->puser;
|
||||
|
||||
if (p->pif->channelRegisterPost)
|
||||
p->pif->channelRegisterPost(filter->chan, f->puser, cb_out, arg_out);
|
||||
p->pif->channelRegisterPost(filter->chan, f->puser, cb_out, arg_out, probe);
|
||||
}
|
||||
|
||||
static void channel_report(chFilter *filter, const char *intro, int level)
|
||||
|
||||
Reference in New Issue
Block a user