inst->group_da = boot->group_da;
inst->name = mctx->mi->name; /* Need this for functions in sql.c */
+ inst->mi = mctx->mi; /* For looking up thread instance data */
/*
* We need authorize_group_check_query or authorize_group_reply_query
char const *name; //!< Module instance name.
fr_dict_attr_t const *group_da; //!< Group dictionary attribute.
+ module_instance_t const *mi; //!< Module instance data for thread lookups.
};
void *sql_mod_conn_create(TALLOC_CTX *ctx, void *instance, fr_time_delta_t timeout);