Kai Vehmanen <Kai.Vehmanen@nokia-email.address.hidden>
#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_tag.h>
Include dependency graph for soa.h:

Go to the source code of this file.
Functions | |
| SOFIAPUBFUN void | soa_destroy (soa_session_t *) |
| Destroy a session. | |
| SOFIAPUBFUN int | soa_set_params (soa_session_t *ss, tag_type_t tag, tag_value_t value,...) |
| Set tagged parameters. | |
| SOFIAPUBFUN int | soa_get_params (soa_session_t const *ss, tag_type_t tag, tag_value_t value,...) |
| Get tagged parameters. | |
| SOFIAPUBFUN tagi_t * | soa_get_paramlist (soa_session_t const *ss, tag_type_t tag, tag_value_t value,...) |
| Return a list of parameters. | |
| SOFIAPUBFUN int | soa_get_warning (soa_session_t *ss, char const **return_phrase) |
| Return warning code and text. | |
| SOFIAPUBFUN int | soa_get_remote_version (soa_session_t const *ss) |
| Returns the version number of remote session description. | |
| SOFIAPUBFUN int | soa_get_user_version (soa_session_t const *ss) |
| Returns the version number of user session description. | |
| SOFIAPUBFUN int | soa_generate_offer (soa_session_t *, int always, soa_callback_f *) |
| Run Offer step. | |
| SOFIAPUBFUN int | soa_generate_answer (soa_session_t *, soa_callback_f *) |
| SOFIAPUBFUN int | soa_process_answer (soa_session_t *, soa_callback_f *) |
| Complete offer-answer after receiving answer. | |
| SOFIAPUBFUN int | soa_process_reject (soa_session_t *, soa_callback_f *) |
| Process rejection of offer. | |
| SOFIAPUBFUN int | soa_activate (soa_session_t *, char const *option) |
| Activate session. | |
| SOFIAPUBFUN int | soa_deactivate (soa_session_t *, char const *option) |
| Deactivate session. | |
| SOFIAPUBFUN void | soa_terminate (soa_session_t *, char const *option) |
| Terminate session. | |
| SOFIAPUBFUN int | soa_init_offer_answer (soa_session_t *ss) |
| Initialize offer/answer state machine. | |
| SOFIAPUBFUN int soa_activate | ( | soa_session_t * | , | |
| char const * | option | |||
| ) |
Activate session.
| SOFIAPUBFUN int soa_deactivate | ( | soa_session_t * | , | |
| char const * | option | |||
| ) |
Deactivate session.
| SOFIAPUBFUN int soa_generate_answer | ( | soa_session_t * | , | |
| soa_callback_f * | ||||
| ) |
| SOFIAPUBFUN int soa_generate_offer | ( | soa_session_t * | ss, | |
| int | always, | |||
| soa_callback_f * | completed | |||
| ) |
Run Offer step.
| ss | pointer to session object | |
| always | always send offer (even if offer/answer has been completed) | |
| completed | pointer to callback function which is invoked when operation is completed |
| 1 | when operation is successful | |
| 0 | when operation is not needed | |
| -1 | upon an error |
| SOFIAPUBFUN int soa_get_remote_version | ( | soa_session_t const * | ss | ) |
Returns the version number of remote session description.
The version numbering starts from zero and is incremented for each modification.
| SOFIAPUBFUN int soa_get_user_version | ( | soa_session_t const * | ss | ) |
Returns the version number of user session description.
The version numbering starts from zero and is incremented for each modification.
| SOFIAPUBFUN int soa_process_answer | ( | soa_session_t * | , | |
| soa_callback_f * | ||||
| ) |
Complete offer-answer after receiving answer.
| SOFIAPUBFUN int soa_process_reject | ( | soa_session_t * | , | |
| soa_callback_f * | ||||
| ) |
Process rejection of offer.
| SOFIAPUBFUN void soa_terminate | ( | soa_session_t * | , | |
| char const * | option | |||
| ) |
Terminate session.