Functions | |
int | globus_rsl_assist_attributes_canonicalize (globus_rsl_t *rsl) |
void | globus_rsl_assist_string_canonicalize (char *ptr) |
The rsl_assist library provide a set of functions to canonicalize RSL parse trees or strings.
int globus_rsl_assist_attributes_canonicalize | ( | globus_rsl_t * | rsl) |
Canonicalize all attribute names in an RSL parse tree.
The globus_rsl_assist_attributes_canonicalize() function performs an in-place canonicalization of the RSL parse tree pointed to by its rsl parameter. All relation attribute names will be changed so that they lower-case, with all internal underscore characters removed.
rsl | Pointer to the RSL parse tree to canonicalize. |
GLOBUS_SUCCESS | Success |
GLOBUS_FAILURE | Failure |
References globus_rsl_assist_attributes_canonicalize(), globus_rsl_assist_string_canonicalize(), globus_rsl_boolean_get_operand_list(), globus_rsl_is_boolean(), globus_rsl_is_boolean_multi(), globus_rsl_is_relation(), and globus_rsl_relation_get_attribute().
void globus_rsl_assist_string_canonicalize | ( | char * | ptr) |
Canonicalize an attribute name.
The globus_rsl_assist_string_canonicalize() function modifies the NULL-terminated string pointed to by its ptr parameter so that it is in canonical form. The canonical form is all lower-case with all underscore characters removed.
ptr | Pointer to the RSL string to modify in place. |
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org