Commit a5e493e4 authored by Pekka Pessi's avatar Pekka Pessi

Added NUTAG_SOA_SESSION

darcs-hash:20050910185306-65a35-59155ec99a1eaeee6c2a186e7069d30e0c2984c7.gz
parent 8d18ffb8
......@@ -57,8 +57,12 @@ tag_typedef_t nutag_callee_caps = BOOLTAG_TYPEDEF(callee_caps);
tag_typedef_t nutag_early_media = BOOLTAG_TYPEDEF(early_media);
tag_typedef_t nutag_media_enable = BOOLTAG_TYPEDEF(media_enable);
tag_typedef_t nutag_media_address = STRTAG_TYPEDEF(media_address);
tag_typedef_t nutag_soa_session = PTRTAG_TYPEDEF(soa_session);
tag_typedef_t nutag_media_subsystem = PTRTAG_TYPEDEF(media_session);
tag_typedef_t nutag_media_session = PTRTAG_TYPEDEF(media_session);
tag_typedef_t nutag_media_clone = BOOLTAG_TYPEDEF(media_clone);
tag_typedef_t nutag_media_path = STRTAG_TYPEDEF(media_path);
tag_typedef_t nutag_media_params = STRTAG_TYPEDEF(media_params);
......
......@@ -221,6 +221,31 @@ extern tag_typedef_t nutag_media_path;
#define NUTAG_MEDIA_PATH_REF(x) nutag_media_path_ref, tag_str_vr(&(x))
extern tag_typedef_t nutag_media_path_ref;
#if 1
/**Pointer to a SDP Offer-Answer session object.
*
* Pointer to the media session object.
*
* @par Used with nua_create(), nua_handle().
*
* @par Parameter type
* void * (actually soa_session_t *)
*
* @par Values
* Pointer to MSS media session.
*
* Corresponding tag taking reference parameter is NUTAG_SOA_SESSION_REF.
*/
#define NUTAG_SOA_SESSION(x) nutag_soa_session, tag_ptr_v(x)
extern tag_typedef_t nutag_soa_session;
#define NUTAG_SOA_SESSION_REF(x) \
nutag_soa_session_ref, tag_ptr_vr(&(x),(x))
extern tag_typedef_t nutag_soa_session_ref;
#else
/** Pointer to a media subsystem.
*
* Pointer to MSS media subsystem object. The mss object can be used to
......@@ -266,6 +291,8 @@ extern tag_typedef_t nutag_media_session;
nutag_media_session_ref, tag_ptr_vr(&(x),(x))
extern tag_typedef_t nutag_media_session_ref;
#endif
/** Clone media session.
*
* @par Used with
......@@ -439,7 +466,7 @@ extern tag_typedef_t nutag_video_remote;
#define NUTAG_VIDEO_REMOTE_REF(x) nutag_video_remote_ref, tag_str_vr(&(x))
extern tag_typedef_t nutag_video_remote_ref;
/** Establish early media session using 183 responses and prac requests.
/** Establish early media session using 183 responses and PRACK requests.
*
* @par Used with
* nua_set_params() \n
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment