Osipua Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up |
#include <osipua.h> RegistrationCtxt* registration_ctxt_new (); void registration_ctxt_set_registrar (RegistrationCtxt *ctxt, char *registrar); void registration_ctxt_set_password (RegistrationCtxt *ctxt, char *password); void registration_ctxt_set_address_of_record (RegistrationCtxt *ctxt, char *addr_of_rec); #define registration_ctxt_set_expires (r,e) #define registration_ctxt_set_action (r,a) void registration_ctxt_destroy (RegistrationCtxt *ctx); |
RegistrationCtxt* registration_ctxt_new (); |
Creates a new RegistrationCtxt (registration context) to be used with #osip_call_leg_register().
void registration_ctxt_set_registrar (RegistrationCtxt *ctxt, char *registrar); |
Sets the registrar address.
void registration_ctxt_set_password (RegistrationCtxt *ctxt, char *password); |
Sets the password to be used for the registration (can be NULL).
void registration_ctxt_set_address_of_record (RegistrationCtxt *ctxt, char *addr_of_rec); |
void registration_ctxt_destroy (RegistrationCtxt *ctx); |
Destroys a registration context.