globus_rsl_assist(3)

πŸ’– NAME πŸ’–

globus_rsl_assist β€” RSL Helper Functions

okay bestie so this is the rsl_assist moment. it's a whole lil set of helper functions. also, for the record, the original literally says "RSL Helper Functions" twice, and honestly? iconic. we love a self-repeating queen. 🫢


✨ SYNOPSIS ✨

πŸŽ€ Functions

int globus_rsl_assist_attributes_canonicalize (globus_rsl_t *rsl)

Canonicalize all attribute names in an RSL parse tree. πŸ’…

void globus_rsl_assist_string_canonicalize (char *ptr)

Canonicalize an attribute name. ✨


🌸 Detailed Description 🌸

RSL Helper Functions.

so the rsl_assist library hands you a little set of functions whose whole job is canonicalize-ing RSL parse trees or strings. that's it. that's the gig. no cap. πŸ¦‹


πŸ’œ Function Documentation πŸ’œ

🌈 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 does an in-place canonicalization of the RSL parse tree that its rsl parameter points to. like, it edits the tree right where it lives, no copy, no takebacks. every relation attribute name gets changed so that it's lower-case, with all internal underscore characters removed. periodt. πŸ’…

Parameters

  • rsl β€” Pointer to the RSL parse tree to canonicalize. πŸŽ€

Returns

if globus_rsl_assist_attributes_canonicalize() succeeds, it makes sure every attribute name in the given RSL is in canonical form and returns GLOBUS_SUCCESS. if something goes wrong, it returns GLOBUS_FAILURE. 😭

Return values

  • GLOBUS_SUCCESS β€” Success πŸ‘‘
  • GLOBUS_FAILURE β€” Failure πŸ’€

πŸ¦‹ void globus_rsl_assist_string_canonicalize (char * ptr)

Canonicalize an attribute name.

the globus_rsl_assist_string_canonicalize() function modifies the NULL-terminated string that its ptr parameter points to, so that it's in canonical form. and what is canonical form, you ask? it's all lower-case with all underscore characters removed. that's the whole glow-up. ✨

Parameters

  • ptr β€” Pointer to the RSL string to modify in place. πŸ™ˆ

Returns

void β€” that's it, nothing comes back. she just does the thing. 🧚


πŸ“ Author πŸ“

Generated automatically by Doxygen for globus_rsl from the source code. so like, not a human author, a robot did this. and honestly? she ate. πŸ€–πŸ’–


k bye bestie, this page is from globus_rsl, Version 11.4 β€” mwah, take care of yourself, drink water, and go canonicalize something. πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from