|
| static void | _sql_connect_io_notify (fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) |
| |
| static void | _sql_connect_query_run (connection_t *conn, UNUSED connection_state_t prev, UNUSED connection_state_t state, void *uctx) |
| |
| static void | _sql_connection_close (fr_event_list_t *el, void *h, UNUSED void *uctx) |
| |
| static connection_state_t | _sql_connection_init (void **h, connection_t *conn, void *uctx) |
| |
| static int | affected_rows (PGresult *result) |
| | Return the number of affected rows of the result as an int instead of the string that postgresql provides.
|
| |
| static void | free_result_row (rlm_sql_postgres_conn_t *conn) |
| | Free the row of the current result that's stored in the conn struct.
|
| |
| static int | mod_instantiate (module_inst_ctx_t const *mctx) |
| |
| static int | mod_load (void) |
| |
| static int | sql_affected_rows (fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
| |
| static sql_rcode_t | sql_classify_error (UNUSED PGresult const *result) |
| |
| static size_t | sql_error (TALLOC_CTX *ctx, sql_log_entry_t out[], size_t outlen, fr_sql_query_t *query_ctx) |
| | Retrieves any errors associated with the query context.
|
| |
| static void * | sql_escape_arg_alloc (TALLOC_CTX *ctx, fr_event_list_t *el, void *uctx) |
| |
| static void | sql_escape_arg_free (void *uctx) |
| |
| static int | sql_escape_func (request_t *request, fr_value_box_t *vb, void *arg) |
| |
| static unlang_action_t | sql_fetch_row (unlang_result_t *p_result, UNUSED request_t *request, void *uctx) |
| |
| SQL_QUERY_FAIL static SQL_QUERY_RESUME sql_rcode_t | sql_fields (char const **out[], fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
| |
| static sql_rcode_t | sql_free_result (fr_sql_query_t *query_ctx, UNUSED rlm_sql_config_t const *config) |
| |
| static void | sql_request_cancel (connection_t *conn, void *preq, trunk_cancel_reason_t reason, UNUSED void *uctx) |
| |
| static void | sql_request_cancel_mux (UNUSED fr_event_list_t *el, trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
| |
| static void | sql_trunk_request_demux (UNUSED fr_event_list_t *el, UNUSED trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
| |
| static SQL_TRUNK_CONNECTION_ALLOC void | sql_trunk_request_mux (UNUSED fr_event_list_t *el, trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
| |