How to pass user data to the validation Init callbacks?

How to pass user data to confd_register_trans_validate_cb? Which could be accessed later in the init callback?

Regards,
Ramishet

You can’t do precisely that, and there is really no point - since there can only be one such registration per “daemon”, you can e.g. use dctx->d_opaque, which you can access in the init callback as tctx->dx->d_opaque.

Thank you very much per.

Regards,
Ramishet