libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_uri.h File Reference

Go to the source code of this file.

Typedefs

typedef GblFlags GBL_URI_FLAGS
 

Enumerations

enum  GBL_URI_FLAGS
 

Functions

GblUriGblUri_create (void)
 
GblUriGblUri_createParsed (const char *pToParse, GblBool relaxed)
 
GblUriGblUri_ref (GblUri *pSelf)
 
GblRefCount GblUri_unref (GblUri *pSelf)
 
GblRefCount GblUri_refCount (const GblUri *pSelf)
 
GblUriGblUri_copy (const GblUri *pSelf, GblUri *pDest)
 
GBL_RESULT GblUri_parse (GblUri *pSelf, const char *pStr, GblBool relaxed)
 
const char * GblUri_format (const GblUri *pSelf, GBL_URI_FLAGS flags, GblStringBuffer *pStrBuff)
 
GblBool GblUri_isValid (const GblUri *pSelf)
 
GblStringRefGblUri_error (const GblUri *pSelf)
 
GblBool GblUri_isEmpty (const GblUri *pSelf)
 
void GblUri_clear (GblUri *pSelf)
 
void GblUri_setScheme (GblUri *pSelf, const char *pStr)
 
void GblUri_setSchemeRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_scheme (const GblUri *pSelf)
 
void GblUri_setAuthority (GblUri *pSelf, const char *pStr)
 
const char * GblUri_authority (const GblUri *pSelf, GblStringBuffer *pStrBuff)
 
void GblUri_setUserInfo (GblUri *pSelf, const char *pStr)
 
void GblUri_setUserInfoRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_userInfo (const GblUri *pSelf)
 
void GblUri_setUserName (GblUri *pSelf, const char *pStr)
 
void GblUri_setUserNameRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_userName (const GblUri *pSelf)
 
void GblUri_setPassword (GblUri *pSelf, const char *pStr)
 
void GblUri_setPasswordRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_password (const GblUri *pSelf)
 
void GblUri_setHost (GblUri *pSelf, const char *pStr)
 
void GblUri_setHostRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_host (const GblUri *pSelf)
 
void GblUri_setPort (GblUri *pSelf, int port)
 
int GblUri_port (const GblUri *pSelf)
 
void GblUri_setPath (GblUri *pSelf, const char *pStr)
 
void GblUri_setPathRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_path (const GblUri *pSelf)
 
GblStringView GblUri_directory (const GblUri *pSelf)
 
GblStringView GblUri_fileName (const GblUri *pSelf)
 
GblStringView GblUri_extension (const GblUri *pSelf)
 
void GblUri_setQuery (GblUri *pSelf, const char *pStr)
 
void GblUri_setQueryRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_query (const GblUri *pSelf)
 
void GblUri_setFragment (GblUri *pSelf, const char *pStr)
 
void GblUri_setFragmentRef (GblUri *pSelf, GblStringRef *pRef)
 
GblStringRefGblUri_fragment (const GblUri *pSelf)
 
GblBool GblUri_isRelative (const GblUri *pSelf)
 
GblBool GblUri_isParentOf (const GblUri *pSelf, const GblUri *pUri)
 
int GblUri_compare (const GblUri *pSelf, const GblUri *pUri)
 
GblBool GblUri_equals (const GblUri *pSelf, const GblUri *pOther, GBL_URI_FLAGS flags)
 

Detailed Description

GblUri: URI parsing, formatting, validation, and management.

Todo:
  • design URI flags
  • implement parsing, formatting, validating back-end
Author
Falco Girgis

Definition in file gimbal_uri.h.

Typedef Documentation

◆ GBL_URI_FLAGS

typedef GblFlags GBL_URI_FLAGS

Definition at line 21 of file gimbal_uri.h.

Enumeration Type Documentation

◆ GBL_URI_FLAGS

enum GBL_URI_FLAGS

Definition at line 21 of file gimbal_uri.h.

21 {
22 None = 0x0,
23/*
24
25 */
26};