globus_url_t(3)

πŸ“¦
version 18.15 Β· 6 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– globus_url_t(3) β€” the parsed-URLs struct, bestie edition πŸ’–

okay so this is a page from the Library Functions Manual, and it's all about globus_url_t β€” a struct that holds a URL after somebody already chewed it up and spit out the pieces. no cap. it's giving "url but dissected" and honestly? iconic. 🧚


✨ NAME ✨

globus_url_t β€” Parsed URLs. that's it, that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

first things first, you gotta let the compiler know what's up:

#include <globus_url.h>

πŸŽ€ Data Fields πŸŽ€

here's the whole cast, the main characters of this struct:

  • char * scheme
  • globus_url_scheme_t scheme_type
  • char * user
  • char * password
  • char * host
  • unsigned short port
  • char * url_path
  • char * dn
  • char * attributes
  • char * scope
  • char * filter
  • char * url_specific_part

πŸ’… Detailed Description πŸ’…

so globus_url_t is, like, Parsed URLs. periodt.

this struct is holding all the fields that got parsed out of a string representation of an URL. yes bestie, the string goes in, the pieces come out. and here's the lowkey important part: there are no methods to access fields of this structure. you just… touch the fields directly. no getters, no setters, no little helper functions holding your hand. it's giving "raw dogging the struct" 😭 (affectionate).


πŸ‘‘ Field Documentation πŸ‘‘

okay now the moment you've all been waiting for β€” every single field, one by one, no skipping, because we do NOT gatekeep here. πŸ’œ

🌈 char* globus_url_t::attributes

The list of attributes which should be returned from an LDAP search. [ldap]

🌈 char* globus_url_t::dn

The distinguished name for the base of an LDAP search. [ldap]

🌈 char* globus_url_t::filter

The filter to be applied to an LDAP search [ldap]

🌈 char* globus_url_t::host

The host name or IP address of the URL. [ftp, gsiftp, http, https, ldap, x-nexus

🌈 char* globus_url_t::password

The user's password from the URL. [ftp, gsiftp]

bestie. a password. sitting in a URL. i'm just saying. πŸ™ˆ

🌈 unsigned short globus_url_t::port

The TCP port number of the service providing the URL [ftp, gsiftp, http, https, ldap, x-nexus]

🌈 char* globus_url_t::scheme

A string containing the URL's scheme (http, ftp, etc)

🌈 globus_url_scheme_t globus_url_t::scheme_type

An enumerated scheme type. This is derived from the scheme string

🌈 char* globus_url_t::scope

The scope of an LDAP search. [ldap]

🌈 char* globus_url_t::url_path

The path name of the resource on the service providing the URL. [ftp, gsiftp, http, https]

🌈 char* globus_url_t::url_specific_part

An unparsed string containing the remaining text after the optional host and port of an unknown URL, or the contents of a x-gass-cache URL [x-gass-cache, unknown]

🌈 char* globus_url_t::user

The username portion of the URL. [ftp, gsiftp]


⭐ Author ⭐

Generated automatically by Doxygen for globus_common from the source code. so like, a robot wrote this, not a girlie. we're just translating. πŸ’€


and that's the whole page, bestie!! 🫢 this was globus_common, Version 18.15, and the page you're reading is globus_url_t(3). slay, go parse some URLs, drink water, and remember: no methods, just fields. bye babes πŸ’–βœ¨πŸŽ€