* @param[in] table_len The number of elements in the table.
* @param[in] name to locate.
* @param[in] name_len the maximum amount of name that should be matched.
+ * If < 0, the length of the name in the table element
+ * will be used as the maximum match length.
* @param[in] def Value to return if there are no matches.
* @return
* - num value of matching entry.
* @param[in] table_len The number of elements in the table.
* @param[in] name to locate.
* @param[in] name_len the maximum amount of name that should be matched.
+ * If < 0, the length of the name in the table element
+ * will be used as the maximum match length.
* @param[in] def Value to return if there are no matches.
* @return
* - num value of matching entry.
* @param[in] _table to search in.
* @param[in] _name to resolve to a number.
* @param[in] _name_len The amount of name to match.
+ * If < 0, the length of the name in the table element
+ * will be used as the maximum match length.
* @param[in] _def Default value if no entry matched.
* @return
* - _def if name matched no entries in the table.