The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Data Fields
rlm_sql_driver_t Struct Reference

#include <rlm_sql.h>

+ Collaboration diagram for rlm_sql_driver_t:

Data Fields

module_t common
 Common fields for all loadable modules.
 
int flags
 
int(* sql_affected_rows )(fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
sql_error_t sql_error
 Get any errors from the previous query.
 
void *(* sql_escape_arg_alloc )(TALLOC_CTX *ctx, fr_event_list_t *el, void *uctx)
 
void(* sql_escape_arg_free )(void *uctx)
 
xlat_escape_legacy_t sql_escape_func
 
unlang_function_t sql_fetch_row
 
sql_rcode_t(* sql_fields )(char const **out[], fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
sql_rcode_t(* sql_finish_query )(fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
sql_rcode_t(* sql_finish_select_query )(fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
sql_rcode_t(* sql_free_result )(fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
int(* sql_num_rows )(fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)
 
unlang_function_t sql_query_resume
 Callback run after an SQL trunk query is run.
 
unlang_function_t sql_select_query_resume
 Callback run after an SQL select trunk query is run.
 
trunk_io_funcs_t trunk_io_funcs
 Trunk callback functions for this driver.
 

Detailed Description

Definition at line 193 of file rlm_sql.h.

Field Documentation

◆ common

module_t rlm_sql_driver_t::common

Common fields for all loadable modules.

Definition at line 194 of file rlm_sql.h.

◆ flags

int rlm_sql_driver_t::flags

Definition at line 196 of file rlm_sql.h.

◆ sql_affected_rows

int(* rlm_sql_driver_t::sql_affected_rows) (fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 202 of file rlm_sql.h.

◆ sql_error

sql_error_t rlm_sql_driver_t::sql_error

Get any errors from the previous query.

Definition at line 208 of file rlm_sql.h.

◆ sql_escape_arg_alloc

void *(* rlm_sql_driver_t::sql_escape_arg_alloc) (TALLOC_CTX *ctx, fr_event_list_t *el, void *uctx)

Definition at line 214 of file rlm_sql.h.

◆ sql_escape_arg_free

void(* rlm_sql_driver_t::sql_escape_arg_free) (void *uctx)

Definition at line 215 of file rlm_sql.h.

◆ sql_escape_func

xlat_escape_legacy_t rlm_sql_driver_t::sql_escape_func

Definition at line 213 of file rlm_sql.h.

◆ sql_fetch_row

unlang_function_t rlm_sql_driver_t::sql_fetch_row

Definition at line 204 of file rlm_sql.h.

◆ sql_fields

sql_rcode_t(* rlm_sql_driver_t::sql_fields) (char const **out[], fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 205 of file rlm_sql.h.

◆ sql_finish_query

sql_rcode_t(* rlm_sql_driver_t::sql_finish_query) (fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 210 of file rlm_sql.h.

◆ sql_finish_select_query

sql_rcode_t(* rlm_sql_driver_t::sql_finish_select_query) (fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 211 of file rlm_sql.h.

◆ sql_free_result

sql_rcode_t(* rlm_sql_driver_t::sql_free_result) (fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 206 of file rlm_sql.h.

◆ sql_num_rows

int(* rlm_sql_driver_t::sql_num_rows) (fr_sql_query_t *query_ctx, rlm_sql_config_t const *config)

Definition at line 201 of file rlm_sql.h.

◆ sql_query_resume

unlang_function_t rlm_sql_driver_t::sql_query_resume

Callback run after an SQL trunk query is run.

Definition at line 198 of file rlm_sql.h.

◆ sql_select_query_resume

unlang_function_t rlm_sql_driver_t::sql_select_query_resume

Callback run after an SQL select trunk query is run.

Definition at line 199 of file rlm_sql.h.

◆ trunk_io_funcs

trunk_io_funcs_t rlm_sql_driver_t::trunk_io_funcs

Trunk callback functions for this driver.

Definition at line 217 of file rlm_sql.h.


The documentation for this struct was generated from the following file: