|
static int | _sql_map_proc_get_value (TALLOC_CTX *ctx, VALUE_PAIR **out, REQUEST *request, vp_map_t const *map, void *uctx) |
| Converts a string value into a VALUE_PAIR. More...
|
|
static int | acct_redundant (rlm_sql_t *inst, REQUEST *request, sql_acct_section_t *section) |
|
static sql_fall_through_t | fall_through (VALUE_PAIR *vp) |
|
static int | generate_sql_clients (rlm_sql_t *inst) |
|
static rlm_rcode_t | mod_accounting (void *instance, REQUEST *request) CC_HINT(nonnull) |
|
static rlm_rcode_t | mod_authorize (void *instance, REQUEST *request) CC_HINT(nonnull) |
|
static int | mod_bootstrap (CONF_SECTION *conf, void *instance) |
|
static rlm_rcode_t | mod_checksimul (void *instance, REQUEST *request) CC_HINT(nonnull) |
|
static int | mod_detach (void *instance) |
|
static int | mod_instantiate (CONF_SECTION *conf, void *instance) |
|
static rlm_rcode_t | mod_map_proc (void *mod_inst, UNUSED void *proc_inst, REQUEST *request, char const *query, vp_map_t const *maps) |
| Executes a SELECT query and maps the result to server attributes. More...
|
|
static rlm_rcode_t | mod_post_auth (void *instance, REQUEST *request) CC_HINT(nonnull) |
|
static rlm_rcode_t | rlm_sql_process_groups (rlm_sql_t *inst, REQUEST *request, rlm_sql_handle_t **handle, sql_fall_through_t *do_fall_through) |
|
static size_t | sql_escape_for_xlat_func (REQUEST *request, char *out, size_t outlen, char const *in, void *arg) |
| Passed as the escape function to map_proc and sql xlat methods. More...
|
|
static size_t | sql_escape_func (REQUEST *, char *out, size_t outlen, char const *in, void *arg) |
|
static size_t | sql_escape_func (UNUSED REQUEST *request, char *out, size_t outlen, char const *in, void *arg) |
| xlat escape function for drivers which do not provide their own More...
|
|
static int | sql_get_grouplist (rlm_sql_t *inst, rlm_sql_handle_t **handle, REQUEST *request, rlm_sql_grouplist_t **phead) |
|
static int | sql_groupcmp (void *instance, REQUEST *request, UNUSED VALUE_PAIR *request_vp, VALUE_PAIR *check, UNUSED VALUE_PAIR *check_pairs, UNUSED VALUE_PAIR **reply_pairs) CC_HINT(nonnull(1 |
|
int | sql_set_user (rlm_sql_t const *inst, REQUEST *request, char const *username) |
|
static ssize_t | sql_xlat (char **out, UNUSED size_t outlen, void const *mod_inst, UNUSED void const *xlat_inst, REQUEST *request, char const *fmt) |
| Execute an arbitrary SQL query. More...
|
|
Implements FreeTDS rlm_sql driver.
Implements SQL 'users' file, and SQL accounting.
- Id:
- 2932e61d65e98e34ede0b62bb0ccc1de4028690f
- Copyright
- 2013 Arran Cudbard-Bell a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg
-
2000,2006 The FreeRADIUS server project
-
2000 Mattias Sjostrom matti.nosp@m.as@n.nosp@m.ogui..nosp@m.se
- Id:
- 4748ef6ccf12f9b13ea80124dabefe524a86aa19
- Copyright
- 2012-2014 Arran Cudbard-Bell a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg
-
2000,2006 The FreeRADIUS server project
-
2000 Mike Machado mike@.nosp@m.inne.nosp@m.rcite.nosp@m..com
-
2000 Alan DeKok aland.nosp@m.@ox..nosp@m.org
Definition in file rlm_sql.c.