libxrdeveloper's documentation
gboolean xr_http_get_basic_auth ( xr_http http,
char **  username,
char **  password 
)

Decode Authorization header.

Parameters
httpHTTP transport object.
usernameUsername will be stored there.
passwordPassword will be stored there.
Returns
TRUE if Authorization header was set and valid and username/password was decoded, FALSE otherwise. Caller must free username and password if TRUE was returned.
Documentation for libxr, Wed Apr 27 2016 22:07:49.