globus_rsl_print(3)
π globus_rsl_print π
okay bestie, welcome to the globus_rsl_print(3) page from the globus_rsl manual, and it's literally all about RSL Display π
so let's get into it, no cap.
β¨ NAME β¨
globus_rsl_print β RSL Display πΈ
- RSL Display.
π¦ SYNOPSIS π¦
Functions π
int globus_rsl_value_print_recursive (globus_rsl_value_t *globus_rsl_value_ptr)β Print the value of aglobus_rsl_value_tto standard output.char * globus_rsl_get_operator (int my_op)β Get the string representation of an RSL operator.int globus_rsl_print_recursive (globus_rsl_t *ast_node)β Print the value of an RSL syntax tree to standard output.char * globus_rsl_unparse (globus_rsl_t *rsl_spec)β Convert an RSL parse tree to a string.char * globus_rsl_value_unparse (globus_rsl_value_t *rsl_value)β Convert an RSL value pointer to a string.
π Detailed Description π
RSL Display. That's the whole vibe, and honestly? Iconic. π
π« Function Documentation π«
char * globus_rsl_get_operator (int my_op)
Get the string representation of an RSL operator. The globus_rsl_get_operator() function returns a pointer to a static string that represents the RSL operator you passed in through the my_op parameter. If the operator is not value, then globus_rsl_get_operator() hands you back a pointer to the string "??" β like, the saddest little shrug of a string π.
Parameters π
my_opβ The RSL operator to return.
Returns π«Ά
The globus_rsl_get_operator() function returns a pointer to the string representation of the my_op parameter, or "??" if that value is not a value RSL operator.
int globus_rsl_print_recursive (globus_rsl_t * ast_node)
Print the value of an RSL syntax tree to standard output. The globus_rsl_print_recursive() function prints a string representation of the RSL syntax tree pointed to by the ast_node parameter straight to standard output. Heads up though bestie β this function is not reentrant π so don't go calling it from everywhere at once.
Parameters πΈ
ast_nodeβ A pointer to the RSL syntax tree to display.
Returns β
The globus_rsl_print_recursive() function always returns GLOBUS_SUCCESS.
char * globus_rsl_unparse (globus_rsl_t * rsl_spec)
Convert an RSL parse tree to a string. The globus_rsl_unparse() function returns a new string which can be parsed into the RSL syntax tree you passed as the rsl_spec parameter. And listen β you, the caller, are responsible for freeing this string. Not it, not the library. You. π§
Parameters π
rsl_specβ A pointer to the RSL syntax tree to unparse.
Returns π
Upon success, the globus_rsl_unparse() function returns a new string which represents the RSL parse tree passed as the rsl_spec parameter. If an error occurs, globus_rsl_unparse() returns NULL.
int globus_rsl_value_print_recursive (globus_rsl_value_t * globus_rsl_value_ptr)
Print the value of a globus_rsl_value_t to standard output. The globus_rsl_value_print_recursive() function prints a string representation of the RSL value node pointed to by the globus_rsl_value_ptr parameter to standard output. Same energy as before: this function is not reentrant π.
Parameters π¦
globus_rsl_value_ptrβ A pointer to the RSL value to display.
Returns π₯
The globus_rsl_value_print_recursive() function always returns GLOBUS_SUCCESS.
char * globus_rsl_value_unparse (globus_rsl_value_t * rsl_value)
Convert an RSL value pointer to a string. The globus_rsl_value_unparse() function returns a new string which can be parsed into the value of an RSL relation that has the same syntactic meaning as the rsl_value parameter. And again, bestie, the caller is responsible for freeing this string β that's a you job π
.
Parameters πΊ
rsl_valueβ A pointer to the RSL value node to unparse.
Returns β¨
Upon success, the globus_rsl_value_unparse() function returns a new string which represents the RSL value ndoe passed as the rsl_value parameter. If an error occurs, globus_rsl_value_unparse() returns NULL.
π Author π
Generated automatically by Doxygen for globus_rsl from the source code. Doxygen really said "I'll write this one myself" and honestly? Ate. π
okay so that's the whole page, and the cute lil sign-off is: this is globus_rsl, Version 11.4, page globus_rsl_print(3) β go free those strings, bestie, and don't forget who owns them π«Άπ
π¦ where this page comes from
- fedora 43: globus-rsl-doc 11.4-4.fc43 Β· Apache-2.0
- fedora 44: globus-rsl-doc 11.4-5.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-rsl-doc 11.4-2build2 Β· Apache-2.0
- ubuntu stonking: libglobus-rsl-doc 11.4-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms