Rechercher une page de manuel
eXosip2_authentication
Langue: en
Version: 359901 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- Function Documentation
- int eXosip_add_authentication_info (const char * username, const char * userid, const char * passwd, const char * ha1, const char * realm)Add authentication credentials. These are used when an outgoing request comes back with an authorization required response.
- int eXosip_clear_authentication_info (void)Clear all authentication credentials stored in eXosip.
- int eXosip_default_action (eXosip_event_t * je)Initiate some default actions:
- void eXosip_automatic_refresh (void)Refresh REGISTER and SUBSCRIBE before the expiration delay.
- void eXosip_automatic_action (void)Initiate some automatic actions:
- int eXosip_insubscription_automatic (eXosip_event_t * evt)Automatic internal handling of known package.
- int eXosip_generate_random (char * buf, int buf_size)Generate random string:
- Author
NAME
eXosip2 authentication API -Functions
int eXosip_add_authentication_info (const char *username, const char *userid, const char *passwd, const char *ha1, const char *realm)
int eXosip_clear_authentication_info (void)
int eXosip_default_action (eXosip_event_t *je)
void eXosip_automatic_refresh (void)
void eXosip_automatic_action (void)
int eXosip_insubscription_automatic (eXosip_event_t *evt)
int eXosip_generate_random (char *buf, int buf_size)
Function Documentation
int eXosip_add_authentication_info (const char * username, const char * userid, const char * passwd, const char * ha1, const char * realm)Add authentication credentials. These are used when an outgoing request comes back with an authorization required response.
Parameters:
- username username
userid login (usually equals the username)
passwd password
ha1 currently ignored
realm realm within which credentials apply, or NULL to apply credentials to unrecognized realms
int eXosip_clear_authentication_info (void)Clear all authentication credentials stored in eXosip.
int eXosip_default_action (eXosip_event_t * je)Initiate some default actions:
Retry with credentials upon reception of 401/407. Retry with Contact header upon reception of 3xx request.
void eXosip_automatic_refresh (void)Refresh REGISTER and SUBSCRIBE before the expiration delay.
void eXosip_automatic_action (void)Initiate some automatic actions:
Retry with credentials upon reception of 401/407. Refresh REGISTER and SUBSCRIBE before the expiration delay. Retry with Contact header upon reception of 3xx request.
int eXosip_insubscription_automatic (eXosip_event_t * evt)Automatic internal handling of known package.
Parameters:
- evt event related to an incoming subscription.
int eXosip_generate_random (char * buf, int buf_size)Generate random string:
Parameters:
- buf destination buffer for random string.
buf_size size of destination buffer
Author
Generated automatically by Doxygen for libeXosip2 from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre