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

Decode Authorization header.

Parameters:
http HTTP transport object.
username Username will be stored there.
password Password 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, Sun Nov 28 2010 15:53:36.