globus_url_t(3)
π 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 * schemeglobus_url_scheme_t scheme_typechar * userchar * passwordchar * hostunsigned short portchar * url_pathchar * dnchar * attributeschar * scopechar * filterchar * 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 πβ¨π
π¦ where this page comes from
- epel 10: globus-common-doc 18.15-1.el10_2 Β· Apache-2.0
- fedora 43: globus-common-doc 18.15-1.fc43 Β· Apache-2.0
- fedora 44: globus-common-doc 18.15-2.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-common-doc 18.15-1 Β· Apache-2.0
- ubuntu stonking: libglobus-common-doc 18.15-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms