= {
.common = {
.name = "sql_null"
},
.sql_query_resume = sql_query_resume,
.sql_select_query_resume = sql_query_resume,
.trunk_io_funcs = {
.connection_alloc = sql_trunk_connection_alloc,
}
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static unlang_action_t sql_fetch_row(rlm_rcode_t *p_result, UNUSED int *priority, UNUSED request_t *request, void *uctx)
static int sql_affected_rows(UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config)
static int sql_num_rows(UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config)
static sql_rcode_t sql_finish_query(UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config)
static size_t sql_error(UNUSED TALLOC_CTX *ctx, UNUSED sql_log_entry_t out[], UNUSED size_t outlen, UNUSED fr_sql_query_t *query_ctx)
Stub function for retrieving errors, should not be called.
static sql_rcode_t sql_free_result(UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config)
SQL_TRUNK_CONNECTION_ALLOC static SQL_QUERY_RESUME void sql_trunk_request_mux(UNUSED fr_event_list_t *el, trunk_connection_t *tconn, UNUSED connection_t *conn, UNUSED void *uctx)