Lines Matching refs:hier_part
15943 set_active(nvlist_t *mech, const char *hier_part)
15947 if (*hier_part == '\0' || strcmp(hier_part, PARAM_ACTIVE) == 0) {
15949 } else if (strcmp(hier_part, PARAM_INACTIVE) == 0) {
15962 add_snmp_params(nvlist_t *mech, char *hier_part)
15964 return (set_active(mech, hier_part));
15968 add_syslog_params(nvlist_t *mech, char *hier_part)
15970 return (set_active(mech, hier_part));
15975 * parse the hier_part of mailto URI
15980 add_mailto_params(nvlist_t *mech, char *hier_part)
15995 * process the hier_part.
15997 if (set_active(mech, hier_part) == 0)
16002 if ((p = strtok_r(hier_part, tok, &lasts)) == NULL) {
16004 * sanity check: we only get here if hier_part = "", but
16022 uri_split(char *uri, char **scheme, char **hier_part)
16026 if ((*scheme = strtok_r(uri, ":", hier_part)) == NULL ||
16027 *hier_part == NULL) {
16044 char *hier_part;
16049 if ((index = uri_split(uri, &scheme, &hier_part)) < 0)
16058 r = add_mailto_params(mech, hier_part);
16062 if ((r = add_snmp_params(mech, hier_part)) != 0)
16064 hier_part);
16068 if ((r = add_syslog_params(mech, hier_part)) != 0)
16070 hier_part);