Typedef struct jauthinfo_t;
Struct jauthinfo_t
{
Char username [50];
Char userid [50];
Char passwd [50];
Char HA1 [50];
Char realm [50];
Jauthinfo_t * parent;
Jauthinfo_t * next;
};
Int
_ Exosip_create_authorization_header (osip_www_authenticate_t * Wa,
Const char * rquri,
Const char * username,
Const char * passwd,
Const char * HA1,
Osip_authorization_t ** auth,
Const char * method,
Const char * pszcnonce, int inoncecount );
Int _ exosip_create_proxy_authorization_header (osip_proxy_authenticate_t * Wa,
Const char * rquri,
Const char * username,
Const char * passwd,
Const char * HA1,
Osip_proxy_authorization_t
** Auth, const char * method,
Const char * pszcnonce,
Int inoncecount );
Int _ exosip_store_nonce (const char * call_id, osip_proxy_authenticate_t * Wa,
Int answer_code );
Int _ exosip_delete_nonce (const char * call_id );
Q: Why does a developer provide a nonce storage and what makes them save something that seems worthless?
Int
_ Exosip_create_authorization_header will guide the answer