Go to the source code of this file.
|
|
Value: { \
int i; \
DICT_ATTR *da; \
DICT_VALUE *dv; \
\
for (i = 0; i < A_MAX; i++) { \
if (at[i].n == NULL) \
continue; \
da = rc_dict_findattr(rh, at[i].n); \
if (da == NULL) { \
LOG(L_ERR, "ERROR: %s: can't get code for the " \
"%s attribute\n", fn, at[i].n); \
return e1; \
} \
at[i].v = da->value; \
} \
for (i = 0; i < V_MAX; i++) { \
if (vl[i].n == NULL) \
continue; \
dv = rc_dict_findval(rh, vl[i].n); \
if (dv == NULL) { \
LOG(L_ERR, "ERROR: %s: can't get code for the " \
"%s attribute value\n", fn, vl[i].n);\
return e2; \
} \
vl[i].v = dv->value; \
} \
}
Definition at line 139 of file rad_dict.h. Referenced by mod_init(). |
|
|
|
|
|
|
|
|
Definition at line 46 of file rad_dict.h. |
|
|
Definition at line 112 of file rad_dict.h. |
1.3.9.1