engines/adva_user/vendor/plugins/authentication/lib/radius/dictionary.rb
# Given an attribute number, return the type of the attribute
# corresponding to it, based on the dictionary file(s) that have
# been read.
#
# ====Parameters
# +attrnum+:: Number of the attribute whose type is desired.
#
# ====Return Value
# The number corresponding to the appropriate attribute name
# given.
Given an attribute number, return the type of the attribute
corresponding to it, based on the dictionary file(s) that have
been read.

Parameters
+attrnum+:: Number of the attribute whose type is desired.

Return Value
The number corresponding to the appropriate attribute name
given.
Given an attribute number return the type of the attribute corresponding to it based on the dictionary file ( s ) that have been read . Parameters + attrnum + :: Number of the attribute whose type is desired . Return Value The number corresponding to the appropriate attribute name given .
def attr_numtype(attrnum)
      if (@rattr[attrnum] == nil || @rattr[attrnum][1] == nil)
	return(nil)
      end
      return(@rattr[attrnum][1])
    end
def attr_numtype ( attrnum ) if ( @rattr [ attrnum ] == nil || @rattr [ attrnum ] [ 1 ] == nil ) return ( nil ) end return ( @rattr [ attrnum ] [ 1 ] ) end
Given an attribute number, return the type of the attribute
corresponding to it, based on the dictionary file(s) that have
been read.
Given an attribute number return the type of the attribute corresponding to it based on the dictionary file ( s ) that have been read .
attrnum