The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
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. More...
 
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. More...
 
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
 Run an SQL query on a pool connection. More...
 
unlang_function_t sql_query_resume
 Callback run after an SQL trunk query is run. More...
 
unlang_function_t sql_select_query
 Run an SQL select query on a pool connection. More...
 
unlang_function_t sql_select_query_resume
 Callback run after an SQL select trunk query is run. More...
 
sql_rcode_t(* sql_socket_init )(rlm_sql_handle_t *handle, rlm_sql_config_t const *config, fr_time_delta_t timeout)
 
trunk_io_funcs_t trunk_io_funcs
 Trunk callback functions for this driver. More...
 
bool uses_trunks
 Transitional flag for drivers which use trunks. More...
 

Detailed Description

Definition at line 203 of file rlm_sql.h.

Field Documentation

◆ common

module_t rlm_sql_driver_t::common

Common fields for all loadable modules.

Definition at line 204 of file rlm_sql.h.

◆ flags

int rlm_sql_driver_t::flags

Definition at line 206 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 218 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 224 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 230 of file rlm_sql.h.

◆ sql_escape_arg_free

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

Definition at line 231 of file rlm_sql.h.

◆ sql_escape_func

xlat_escape_legacy_t rlm_sql_driver_t::sql_escape_func

Definition at line 229 of file rlm_sql.h.

◆ sql_fetch_row

unlang_function_t rlm_sql_driver_t::sql_fetch_row

Definition at line 220 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 221 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 226 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 227 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 222 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 217 of file rlm_sql.h.

◆ sql_query

unlang_function_t rlm_sql_driver_t::sql_query

Run an SQL query on a pool connection.

Definition at line 211 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 214 of file rlm_sql.h.

◆ sql_select_query

unlang_function_t rlm_sql_driver_t::sql_select_query

Run an SQL select query on a pool connection.

Definition at line 212 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 215 of file rlm_sql.h.

◆ sql_socket_init

sql_rcode_t(* rlm_sql_driver_t::sql_socket_init) (rlm_sql_handle_t *handle, rlm_sql_config_t const *config, fr_time_delta_t timeout)

Definition at line 208 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 234 of file rlm_sql.h.

◆ uses_trunks

bool rlm_sql_driver_t::uses_trunks

Transitional flag for drivers which use trunks.

Definition at line 233 of file rlm_sql.h.


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