Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

Classes | Defines | Typedefs | Enumerations | Functions | Variables

nua.h File Reference

Sofia-SIP User Agent Library API. More...

#include <sofia-sip/su_wait.h>
#include <sofia-sip/url.h>
#include <sofia-sip/sip.h>
#include <sofia-sip/nua_tag.h>
Include dependency graph for nua.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  event_s

Defines

#define NUA_H
#define nua_handle_home(nh)   ((su_home_t *)(nh))
#define NUA_HMAGIC_T   void
#define NUA_MAGIC_T   void
#define NUA_SAVED_EVENT_T   struct nua_saved_event *
#define NUA_VERSION   "2.0"

Typedefs

typedef void(* nua_callback_f )(nua_event_t event, int status, char const *phrase, nua_t *nua, nua_magic_t *magic, nua_handle_t *nh, nua_hmagic_t *hmagic, sip_t const *sip, tagi_t tags[])
typedef struct event_s nua_event_data_t
typedef enum nua_event_e nua_event_t
typedef NUA_HMAGIC_T nua_hmagic_t
typedef NUA_MAGIC_T nua_magic_t
typedef enum nua_nw_detector_e nua_nw_detector_t
typedef NUA_SAVED_EVENT_T nua_saved_event_t

Enumerations

enum  nua_event_e {
  nua_i_none = -1, nua_i_error, nua_i_invite, nua_i_cancel,
  nua_i_ack, nua_i_fork, nua_i_active, nua_i_terminated,
  nua_i_state, nua_i_outbound, nua_i_bye, nua_i_options,
  nua_i_refer, nua_i_publish, nua_i_prack, nua_i_info,
  nua_i_update, nua_i_message, nua_i_chat, nua_i_subscribe,
  nua_i_subscription, nua_i_notify, nua_i_method, nua_i_media_error,
  nua_r_set_params, nua_r_get_params, nua_r_shutdown, nua_r_notifier,
  nua_r_terminate, nua_r_authorize, nua_r_register, nua_r_unregister,
  nua_r_invite, nua_r_cancel, nua_r_bye, nua_r_options,
  nua_r_refer, nua_r_publish, nua_r_unpublish, nua_r_info,
  nua_r_prack, nua_r_update, nua_r_message, nua_r_chat,
  nua_r_subscribe, nua_r_unsubscribe, nua_r_notify, nua_r_method,
  nua_r_authenticate, nua_r_redirect, nua_r_destroy, nua_r_respond,
  nua_r_nit_respond, nua_r_ack, nua_i_network_changed, nua_i_register
}
enum  nua_nw_detector_e { NUA_NW_DETECT_NOTHING = 0, NUA_NW_DETECT_ONLY_INFO, NUA_NW_DETECT_TRY_FULL }

Functions

SOFIAPUBFUN void nua_ack (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_authenticate (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_authorize (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_bye (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN char const * nua_callstate_name (enum nua_callstate state)
SOFIAPUBFUN void nua_cancel (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_chat (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN nua_tnua_create (su_root_t *root, nua_callback_f callback, nua_magic_t *magic, tag_type_t tag, tag_value_t value,...)
SOFIAPUBFUN msg_tnua_current_request (nua_t const *nua)
SOFIAPUBFUN nua_handle_tnua_default (nua_t *nua)
SOFIAPUBFUN void nua_destroy (nua_t *nua)
SOFIAPUBFUN void nua_destroy_event (nua_saved_event_t *saved)
SOFIAPUBFUN nua_event_data_t
const * 
nua_event_data (nua_saved_event_t const saved[1])
SOFIAPUBFUN int nua_event_is_incoming_request (nua_event_t e)
SOFIAPUBFUN char const * nua_event_name (nua_event_t event)
SOFIAPUBFUN char const * nua_generate_instance_identifier (su_home_t *)
SOFIAPUBFUN void nua_get_hparams (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_get_params (nua_t *nua, tag_type_t, tag_value_t,...)
SOFIAPUBFUN nua_handle_tnua_handle (nua_t *nua, nua_hmagic_t *hmagic, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_handle_bind (nua_handle_t *nh, nua_hmagic_t *magic)
nua_handle_tnua_handle_by_call_id (nua_t *nua, const char *call_id)
SOFIAPUBFUN nua_handle_tnua_handle_by_replaces (nua_t *nua, sip_replaces_t const *rp)
SOFIAPUBFUN void nua_handle_destroy (nua_handle_t *h)
SOFIAPUBFUN int nua_handle_has_active_call (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_call_on_hold (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_events (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_invite (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_register (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_registrations (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_has_subscribe (nua_handle_t const *nh)
SOFIAPUBFUN sip_to_t const * nua_handle_local (nua_handle_t const *nh)
SOFIAPUBFUN nua_hmagic_tnua_handle_magic (nua_handle_t *nh)
SOFIAPUBFUN sip_replaces_tnua_handle_make_replaces (nua_handle_t *nh, su_home_t *home, int early_only)
SOFIAPUBFUN nua_handle_tnua_handle_ref (nua_handle_t *)
SOFIAPUBFUN sip_to_t const * nua_handle_remote (nua_handle_t const *nh)
SOFIAPUBFUN int nua_handle_unref (nua_handle_t *)
SOFIAPUBFUN void nua_info (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_invite (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN nua_magic_tnua_magic (nua_t *nua)
SOFIAPUBFUN void nua_message (nua_handle_t *nh, tag_type_t, tag_value_t,...)
 MESSAGE method.
SOFIAPUBFUN void nua_method (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_notifier (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_notify (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_options (nua_handle_t *nh, tag_type_t, tag_value_t,...)
 Implementation of OPTIONS client.
SOFIAPUBFUN void nua_prack (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_publish (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_redirect (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_refer (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_register (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_respond (nua_handle_t *nh, int status, char const *phrase, tag_type_t, tag_value_t,...)
SOFIAPUBFUN int nua_save_event (nua_t *nua, nua_saved_event_t return_saved[1])
SOFIAPUBFUN msg_tnua_saved_event_request (nua_saved_event_t const *saved)
SOFIAPUBFUN void nua_set_hparams (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_set_params (nua_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_shutdown (nua_t *nua)
SOFIAPUBFUN void nua_subscribe (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN enum nua_substate nua_substate_make (char const *sip_substate)
SOFIAPUBFUN char const * nua_substate_name (enum nua_substate substate)
SOFIAPUBFUN void nua_terminate (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_unpublish (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_unregister (nua_handle_t *nh, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_unsubscribe (nua_handle_t *, tag_type_t, tag_value_t,...)
SOFIAPUBFUN void nua_update (nua_handle_t *, tag_type_t, tag_value_t,...)

Variables

SOFIAPUBVAR char const nua_version []

Detailed Description

Sofia-SIP User Agent Library API.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>
Date:
Created: Wed Feb 14 17:09:44 2001 ppessi

Definition in file nua.h.


Generated by  Doxygen 1.6.0   Back to index