Lines Matching refs:tag

2057  * get_node_attr(node, tag)
2059 * Get the specified tag(attribute) if it exists on the node. This is
2064 get_node_attr(void *nodehdl, char *tag)
2070 name = xmlGetProp(node, (xmlChar *)tag);
2075 * set_node_attr(node, tag)
2077 * Set the specified tag(attribute) to the specified value This is
2083 set_node_attr(void *nodehdl, char *tag, char *value)
2086 if (node != NULL && tag != NULL) {
2088 (void) xmlSetProp(node, (xmlChar *)tag,
2091 (void) xmlUnsetProp(node, (xmlChar *)tag);
2096 * sa_get_group_attr(group, tag)
2102 sa_get_group_attr(sa_group_t group, char *tag)
2104 return (get_node_attr((void *)group, tag));
2108 * sa_set_group_attr(group, tag, value)
2110 * set the specified tag/attribute on the group using value as its
2118 sa_set_group_attr(sa_group_t group, char *tag, char *value)
2128 set_node_attr((void *)group, tag, value);
2137 set_node_attr((void *)group, tag, value);
2142 tag, value);
2163 * sa_get_share_attr(share, tag)
2165 * Return the value of the tag/attribute set on the specified
2166 * share. Returns NULL if the tag doesn't exist.
2170 sa_get_share_attr(sa_share_t share, char *tag)
2172 return (get_node_attr((void *)share, tag));
2178 * Add a description tag with text contents to the specified share. A
2179 * separate XML tag is used rather than a property. This can also be
2194 * sa_set_share_attr(share, tag, value)
2196 * Set the share attribute specified by tag to the specified value. In
2203 sa_set_share_attr(sa_share_t share, char *tag, char *value)
2218 if (strcmp(tag, "resource") == 0) {
2224 set_node_attr((void *)share, tag, value);
2250 * sa_get_property_attr(prop, tag)
2257 sa_get_property_attr(sa_property_t prop, char *tag)
2259 return (get_node_attr((void *)prop, tag));
2263 * sa_get_optionset_attr(prop, tag)
2270 sa_get_optionset_attr(sa_property_t optionset, char *tag)
2272 return (get_node_attr((void *)optionset, tag));
2277 * sa_set_optionset_attr(optionset, tag, value)
2279 * Set the specified attribute(tag) to the specified value on the
2284 sa_set_optionset_attr(sa_group_t optionset, char *tag, char *value)
2286 set_node_attr((void *)optionset, tag, value);
2989 * sa_get_security_attr(optionset, tag)
2995 sa_get_security_attr(sa_property_t optionset, char *tag)
2997 return (get_node_attr((void *)optionset, tag));
3002 * sa_set_security_attr(optionset, tag, value)
3004 * Set the optioset attribute specied by tag to the specified value.
3008 sa_set_security_attr(sa_group_t optionset, char *tag, char *value)
3010 set_node_attr((void *)optionset, tag, value);
3965 * sa_get_resource_attr(resource, tag)
3968 * currently defined. NULL if tag not defined.
3972 sa_get_resource_attr(sa_resource_t resource, char *tag)
3974 return (get_node_attr((void *)resource, tag));
3978 * sa_set_resource_attr(resource, tag, value)
3981 * currently defined. NULL if tag not defined. Currently we don't do
3986 sa_set_resource_attr(sa_resource_t resource, char *tag, char *value)
3988 set_node_attr((void *)resource, tag, value);