.TH "globus_rsl_assist" 3 "Version 11.4" "globus_rsl" \" -*- nroff -*- .ad l .nh .SH NAME globus_rsl_assist \- RSL Helper Functions .PP \- RSL Helper Functions\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "int \fBglobus_rsl_assist_attributes_canonicalize\fP (globus_rsl_t *rsl)" .br .RI "Canonicalize all attribute names in an RSL parse tree\&. " .ti -1c .RI "void \fBglobus_rsl_assist_string_canonicalize\fP (char *ptr)" .br .RI "Canonicalize an attribute name\&. " .in -1c .SH "Detailed Description" .PP RSL Helper Functions\&. The rsl_assist library provide a set of functions to canonicalize RSL parse trees or strings\&. .SH "Function Documentation" .PP .SS "int globus_rsl_assist_attributes_canonicalize (globus_rsl_t * rsl)" .PP Canonicalize all attribute names in an RSL parse tree\&. The \fBglobus_rsl_assist_attributes_canonicalize()\fP function performs an in-place canonicalization of the RSL parse tree pointed to by its \fIrsl\fP parameter\&. All relation attribute names will be changed so that they lower-case, with all internal underscore characters removed\&. .PP \fBParameters\fP .RS 4 \fIrsl\fP Pointer to the RSL parse tree to canonicalize\&. .RE .PP \fBReturns\fP .RS 4 If \fBglobus_rsl_assist_attributes_canonicalize()\fP is successful, it will ensure that all attribute names in the given RSL will be in canonical form and return GLOBUS_SUCCESS\&. If an error occurs, it will return GLOBUS_FAILURE\&. .RE .PP \fBReturn values\fP .RS 4 \fIGLOBUS_SUCCESS\fP Success .br \fIGLOBUS_FAILURE\fP Failure .RE .PP .SS "void globus_rsl_assist_string_canonicalize (char * ptr)" .PP Canonicalize an attribute name\&. The \fBglobus_rsl_assist_string_canonicalize()\fP function modifies the NULL-terminated string pointed to by its \fIptr\fP parameter so that it is in canonical form\&. The canonical form is all lower-case with all underscore characters removed\&. .PP \fBParameters\fP .RS 4 \fIptr\fP Pointer to the RSL string to modify in place\&. .RE .PP \fBReturns\fP .RS 4 void .RE .PP .SH "Author" .PP Generated automatically by Doxygen for globus_rsl from the source code\&.