engines/adva_user/vendor/plugins/authentication/lib/radius/dictionary.rb
# Given an attribute name, return the corresponding type for it,
# based on the dictionary file(s) that have been read.
#
# ====Parameters
# +attrname+:: Name of the attribute whose type is desired.
#
# ====Return Value
# The type string corresponding to the appropriate attribute name
# given.  This is either string, ipaddr, integer, or date.
Given an attribute name, return the corresponding type for it,
based on the dictionary file(s) that have been read.

Parameters
+attrname+:: Name of the attribute whose type is desired.

Return Value
The type string corresponding to the appropriate attribute name
given.  This is either string, ipaddr, integer, or date.
Given an attribute name return the corresponding type for it based on the dictionary file ( s ) that have been read . Parameters + attrname + :: Name of the attribute whose type is desired . Return Value The type string corresponding to the appropriate attribute name given . This is either string ipaddr integer or date .
def attr_type(attrname)
      if (@attr[attrname] == nil || @attr[attrname][1] == nil)
	return(nil)
      end
      return(@attr[attrname][1])
    end
def attr_type ( attrname ) if ( @attr [ attrname ] == nil || @attr [ attrname ] [ 1 ] == nil ) return ( nil ) end return ( @attr [ attrname ] [ 1 ] ) end
Given an attribute name, return the corresponding type for it,
based on the dictionary file(s) that have been read.
Given an attribute name return the corresponding type for it based on the dictionary file ( s ) that have been read .
attrname