![]() |
The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Go to the source code of this file.
Macros | |
#define | LOG_PREFIX "sql - firebird" |
Functions | |
static int | _sql_socket_destructor (rlm_sql_firebird_conn_t *conn) |
static int | sql_affected_rows (fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
Return the number of rows affected by the query (update, or insert) More... | |
static size_t | sql_error (UNUSED TALLOC_CTX *ctx, sql_log_entry_t out[], NDEBUG_UNUSED size_t outlen, fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
Retrieves any errors associated with the query context. More... | |
static unlang_action_t | sql_fetch_row (rlm_rcode_t *p_result, UNUSED int *priority, UNUSED request_t *request, void *uctx) |
Returns an individual row. More... | |
static sql_rcode_t | sql_fields (char const **out[], fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
Returns name of fields. More... | |
static sql_rcode_t | sql_finish_query (UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
End the query. More... | |
static sql_rcode_t | sql_finish_select_query (fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
End the select query, such as freeing memory or result. More... | |
static sql_rcode_t | sql_free_result (UNUSED fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
Frees memory allocated for a result set. More... | |
static unlang_action_t | sql_query (rlm_rcode_t *p_result, UNUSED int *priority, UNUSED request_t *request, void *uctx) |
Issue a query to the database. More... | |
static sql_rcode_t | sql_socket_init (rlm_sql_handle_t *handle, rlm_sql_config_t const *config, UNUSED fr_time_delta_t timeout) |
Establish connection to the db. More... | |
Variables | |
rlm_sql_driver_t | rlm_sql_firebird |
#define LOG_PREFIX "sql - firebird" |
Definition at line 23 of file rlm_sql_firebird.c.
|
static |
Definition at line 28 of file rlm_sql_firebird.c.
|
static |
Return the number of rows affected by the query (update, or insert)
Definition at line 271 of file rlm_sql_firebird.c.
|
static |
Retrieves any errors associated with the query context.
ctx | to allocate temporary error buffers in. |
out | Array of sql_log_entrys to fill. |
outlen | Length of out array. |
query_ctx | Query context to retrieve error for. |
config | rlm_sql config. |
Definition at line 252 of file rlm_sql_firebird.c.
|
static |
Returns an individual row.
Definition at line 178 of file rlm_sql_firebird.c.
|
static |
Returns name of fields.
Definition at line 157 of file rlm_sql_firebird.c.
|
static |
End the query.
Definition at line 228 of file rlm_sql_firebird.c.
|
static |
End the select query, such as freeing memory or result.
Definition at line 215 of file rlm_sql_firebird.c.
|
static |
Frees memory allocated for a result set.
Definition at line 236 of file rlm_sql_firebird.c.
|
static |
Issue a query to the database.
Definition at line 88 of file rlm_sql_firebird.c.
|
static |
Establish connection to the db.
Definition at line 63 of file rlm_sql_firebird.c.
rlm_sql_driver_t rlm_sql_firebird |
Definition at line 278 of file rlm_sql_firebird.c.