.TH "globus_rsl_print" 3 "Version 11.4" "globus_rsl" \" -*- nroff -*- .ad l .nh .SH NAME globus_rsl_print \- RSL Display .PP \- RSL Display\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "int \fBglobus_rsl_value_print_recursive\fP (globus_rsl_value_t *globus_rsl_value_ptr)" .br .RI "Print the value of a globus_rsl_value_t to standard output\&. " .ti -1c .RI "char * \fBglobus_rsl_get_operator\fP (int my_op)" .br .RI "Get the string representation of an RSL operator\&. " .ti -1c .RI "int \fBglobus_rsl_print_recursive\fP (globus_rsl_t *ast_node)" .br .RI "Print the value of an RSL syntax tree to standard output\&. " .ti -1c .RI "char * \fBglobus_rsl_unparse\fP (globus_rsl_t *rsl_spec)" .br .RI "Convert an RSL parse tree to a string\&. " .ti -1c .RI "char * \fBglobus_rsl_value_unparse\fP (globus_rsl_value_t *rsl_value)" .br .RI "Convert an RSL value pointer to a string\&. " .in -1c .SH "Detailed Description" .PP RSL Display\&. .SH "Function Documentation" .PP .SS "char * globus_rsl_get_operator (int my_op)" .PP Get the string representation of an RSL operator\&. The \fBglobus_rsl_get_operator()\fP function returns a pointer to a static string that represents the RSL operator passed in via the \fImy_op\fP parameter\&. If the operator is not value, then \fBglobus_rsl_get_operator()\fP returns a pointer to the string '??' .PP \fBParameters\fP .RS 4 \fImy_op\fP The RSL operator to return\&. .RE .PP \fBReturns\fP .RS 4 The \fBglobus_rsl_get_operator()\fP function returns a pointer to the string representation of the \fImy_op\fP parameter, or '??' if that value is not a value RSL operator\&. .RE .PP .SS "int globus_rsl_print_recursive (globus_rsl_t * ast_node)" .PP Print the value of an RSL syntax tree to standard output\&. The \fBglobus_rsl_print_recursive()\fP function prints a string representation of the RSL syntax tree pointed to by the \fIast_node\fP parameter to standard output\&. This function is not reentrant\&. .PP \fBParameters\fP .RS 4 \fIast_node\fP A pointer to the RSL syntax tree to display\&. .RE .PP \fBReturns\fP .RS 4 The \fBglobus_rsl_print_recursive()\fP function always returns \fIGLOBUS_SUCCESS\fP\&. .RE .PP .SS "char * globus_rsl_unparse (globus_rsl_t * rsl_spec)" .PP Convert an RSL parse tree to a string\&. The \fBglobus_rsl_unparse()\fP function returns a new string which can be parsed into the RSL syntax tree passed as the \fIrsl_spec\fP parameter\&. The caller is responsible for freeing this string\&. .PP \fBParameters\fP .RS 4 \fIrsl_spec\fP A pointer to the RSL syntax tree to unparse\&. .RE .PP \fBReturns\fP .RS 4 Upon success, the \fBglobus_rsl_unparse()\fP function returns a new string which represents the RSL parse tree passed as the \fIrsl_spec\fP parameter\&. If an error occurs, \fBglobus_rsl_unparse()\fP returns NULL\&. .RE .PP .SS "int globus_rsl_value_print_recursive (globus_rsl_value_t * globus_rsl_value_ptr)" .PP Print the value of a globus_rsl_value_t to standard output\&. The \fBglobus_rsl_value_print_recursive()\fP function prints a string representation of the RSL value node pointed to by the \fIglobus_rsl_value_ptr\fP parameter to standard output\&. This function is not reentrant\&. .PP \fBParameters\fP .RS 4 \fIglobus_rsl_value_ptr\fP A pointer to the RSL value to display\&. .RE .PP \fBReturns\fP .RS 4 The \fBglobus_rsl_value_print_recursive()\fP function always returns \fIGLOBUS_SUCCESS\fP\&. .RE .PP .SS "char * globus_rsl_value_unparse (globus_rsl_value_t * rsl_value)" .PP Convert an RSL value pointer to a string\&. The \fBglobus_rsl_value_unparse()\fP function returns a new string which can be parsed into the value of an RSL relation that has the same syntactic meaning as the \fIrsl_value\fP parameter\&. The caller is responsible for freeing this string\&. .PP \fBParameters\fP .RS 4 \fIrsl_value\fP A pointer to the RSL value node to unparse\&. .RE .PP \fBReturns\fP .RS 4 Upon success, the \fBglobus_rsl_value_unparse()\fP function returns a new string which represents the RSL value ndoe passed as the \fIrsl_value\fP parameter\&. If an error occurs, \fBglobus_rsl_value_unparse()\fP returns NULL\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for globus_rsl from the source code\&.