]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Slightly more descriptive name
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 29 Sep 2020 15:46:12 +0000 (10:46 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 29 Sep 2020 15:46:12 +0000 (10:46 -0500)
src/lib/server/tmpl.h
src/lib/server/tmpl_eval.c
src/modules/rlm_csv/rlm_csv.c

index 4f11da056d8c4f7642522dd104d389f359202f74..216f0c118f05c32b1b70952040cb1fc312f5fc3d 100644 (file)
@@ -910,7 +910,7 @@ ssize_t                     tmpl_print_quoted(fr_sbuff_t *out, tmpl_t const *vpt, tmpl_attr_prefix
 /** @name Expand the tmpl, returning one or more values
  * @{
  */
-fr_type_t              tmpl_data_type(tmpl_t const *vpt);
+fr_type_t              tmpl_expanded_type(tmpl_t const *vpt);
 
 ssize_t                        _tmpl_to_type(void *out,
                                      uint8_t *buff, size_t outlen,
index 0f9f1282bfa6fa828eeeaaa29f7f60c167d32407..a38e3dcadc59a9224f1ee01d6659c9bd8cd48796 100644 (file)
@@ -201,7 +201,7 @@ int radius_request(REQUEST **context, request_ref_t name)
  *     - The data type we'd expect the #tmpl_t to produce at runtime
  *       when expanded.
  */
-fr_type_t tmpl_data_type(tmpl_t const *vpt)
+fr_type_t tmpl_expanded_type(tmpl_t const *vpt)
 {
        /*
         *      Casts take precedence over everything.
index 1e2c4baf4efc0e24485f9a6a27963672f966add4..1c62740036ee4e3d6f50e57909c3fa6e9c99e0f6 100644 (file)
@@ -542,7 +542,7 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf)
        }
 
        if (inst->key) {
-               inst->key_data_type = tmpl_data_type(inst->key);
+               inst->key_data_type = tmpl_expanded_type(inst->key);
                switch (inst->key_data_type) {
                case FR_TYPE_VALUE:
                        break;