Lines Matching defs:type
66 * of a DHCP symbol type.
69 char *dt_string; /* string value for the type */
70 dsym_cdtype_t dt_id; /* numerical value for the type */
515 * dsym_validate_granularity(): given a symbol type, validates
516 * that the granularity is valid for the type
518 * input: dsym_cdtype_t: the symbol type
524 dsym_validate_granularity(dsym_cdtype_t type, uchar_t gran)
531 if (gran == 0 && type != DSYM_BOOL) {
538 * dsym_get_type_by_name(): given a type field, returns the pointer to its
539 * entry in the internal type table.
541 * input: const char *: the type name
548 dsym_get_type_by_name(const char *type, dsym_type_t **entry, boolean_t cs)
557 result = strcmp(type, types[i].dt_string);
559 result = strcasecmp(type, types[i].dt_string);
572 * dsym_parse_type(): given a DHCP type string, returns the type id
574 * input: char *: a DHCP type string
575 * dsym_cdtype_t *: the return location for the type id
580 dsym_parse_type(char *field, dsym_cdtype_t *type)
590 * symbol definitions, only a subset of the DHCP type
594 *type = entry->dt_id;
886 * dsym_get_type_id(): given a type string, return the associated type id.
888 * input: const char *: the type name
895 dsym_get_type_id(const char *type, dsym_cdtype_t *id, boolean_t cs)
901 ret = dsym_get_type_by_name(type, &entry, cs);