⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nua_tag.h

📁 Sofia SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
💻 H
📖 第 1 页 / 共 2 页
字号:
/* * This file is part of the Sofia-SIP package * * Copyright (C) 2006 Nokia Corporation. * * Contact: Pekka Pessi <pekka.pessi@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * */#ifndef NUA_TAG_H/** Defined when <sofia-sip/nua_tag.h> has been included. */#define NUA_TAG_H/**@file sofia-sip/nua_tag.h * @brief Tags for Sofia-SIP User Agent Library * * @author Pekka Pessi <Pekka.Pessi@nokia.com> * @author Martti Mela <Martti.Mela@nokia.com> * * @date Created: Mon Feb 19 18:54:26 EET 2001 ppessi */#ifndef SU_TAG_H#include <sofia-sip/su_tag.h>#endif#ifndef SDP_TAG_H#include <sofia-sip/sdp_tag.h>#endif#ifndef URL_TAG_H#include <sofia-sip/url_tag.h>#endif#ifndef SIP_TAG_H#include <sofia-sip/sip_tag.h>#endif#ifndef NTA_TAG_H#include <sofia-sip/nta_tag.h>#endif#ifndef NEA_TAG_H#include <sofia-sip/nea_tag.h>#endif#ifndef SOA_TAG_H#include <sofia-sip/soa_tag.h>#endifSOFIA_BEGIN_DECLS/** NUA agent. */typedef struct nua_s nua_t;/** NUA transaction handle. */typedef struct nua_handle_s nua_handle_t;/** List of all NUA tags. */SOFIAPUBVAR tag_type_t nua_tag_list[];/** Filter tag matching any nua tag. */#define NUTAG_ANY()          nutag_any, ((tag_value_t)0)SOFIAPUBVAR tag_typedef_t nutag_any;#define NUTAG_URL(x)            nutag_url, urltag_url_v(x)SOFIAPUBVAR tag_typedef_t nutag_url;#define NUTAG_URL_REF(x)        nutag_url_ref, urltag_url_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_url_ref;#define NUTAG_ADDRESS(x)        nutag_address, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_address;#define NUTAG_ADDRESS_REF(x)    nutag_address_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_address_ref;#define NUTAG_WITH(x)         nutag_with, tag_ptr_v(x)SOFIAPUBVAR tag_typedef_t nutag_with;#define NUTAG_WITH_THIS(nua) nutag_with, tag_ptr_v(nua_current_request((nua)))#define NUTAG_WITH_CURRENT(nua) \   nutag_with, tag_ptr_v(nua_current_request((nua)))#define NUTAG_WITH_SAVED(e) nutag_with, tag_ptr_v(nua_saved_event_request((e)))#define NUTAG_DIALOG(b) nutag_dialog, tag_uint_v((b))SOFIAPUBVAR tag_typedef_t nutag_dialog;#define NUTAG_METHOD(x)            nutag_method, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_method;#define NUTAG_METHOD_REF(x)        nutag_method_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_method_ref;#define NUTAG_MAX_SUBSCRIPTIONS(x)      nutag_max_subscriptions, tag_uint_v(x)SOFIAPUBVAR tag_typedef_t nutag_max_subscriptions;#define NUTAG_MAX_SUBSCRIPTIONS_REF(x) \nutag_max_subscriptions_ref, tag_uint_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_max_subscriptions_ref;#define NUTAG_UICC(x)  nutag_uicc, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_uicc;#define NUTAG_UICC_REF(x) nutag_uicc_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_uicc_ref;#define NUTAG_USE_DIALOG(x)        nutag_use_dialog, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_use_dialog;#define NUTAG_USE_DIALOG_REF(x)    nutag_use_dialog_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_use_dialog_ref;/* Protocol engine parameters, * set by nua_set_params(), get by nua_get_params() */#define NUTAG_RETRY_COUNT(x)      nutag_retry_count, tag_uint_v(x)SOFIAPUBVAR tag_typedef_t nutag_retry_count;#define NUTAG_RETRY_COUNT_REF(x)  nutag_retry_count_ref, tag_uint_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_retry_count_ref;#define NUTAG_SOA_NAME(x)  nutag_soa_name, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_soa_name;#define NUTAG_SOA_NAME_REF(x) \ nutag_soa_name_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_soa_name_ref;#define NUTAG_EARLY_MEDIA(x)    nutag_early_media, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_early_media;#define NUTAG_EARLY_MEDIA_REF(x) nutag_early_media_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_early_media_ref;#define NUTAG_ONLY183_100REL(x)    nutag_only183_100rel, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_only183_100rel;#define NUTAG_ONLY183_100REL_REF(x) nutag_only183_100rel_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_only183_100rel_ref;#define NUTAG_EARLY_ANSWER(x)    nutag_early_answer, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_early_answer;#define NUTAG_EARLY_ANSWER_REF(x) nutag_early_answer_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_early_answer_ref;#define NUTAG_INCLUDE_EXTRA_SDP(x)    nutag_include_extra_sdp, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_include_extra_sdp;#define NUTAG_INCLUDE_EXTRA_SDP_REF(x) \   nutag_include_extra_sdp_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_include_extra_sdp_ref;#define NUTAG_INVITE_TIMER(x)  nutag_invite_timer, tag_uint_v((x))SOFIAPUBVAR tag_typedef_t nutag_invite_timer;#define NUTAG_INVITE_TIMER_REF(x) nutag_invite_timer_ref, tag_uint_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_invite_timer_ref;#define NUTAG_SESSION_TIMER(x)  nutag_session_timer, tag_uint_v((x))SOFIAPUBVAR tag_typedef_t nutag_session_timer;#define NUTAG_SESSION_TIMER_REF(x) nutag_session_timer_ref, tag_uint_vr((&(x)))SOFIAPUBVAR tag_typedef_t nutag_session_timer_ref;#define NUTAG_MIN_SE(x)         nutag_min_se, tag_uint_v((x))SOFIAPUBVAR tag_typedef_t nutag_min_se;#define NUTAG_MIN_SE_REF(x)     nutag_min_se_ref, tag_uint_vr((&(x)))SOFIAPUBVAR tag_typedef_t nutag_min_se_ref;/** Enumeration type of NUTAG_SESSION_REFRESHER(). */enum nua_session_refresher {  nua_no_refresher,		/**< Disable session timer. */  nua_local_refresher,		/**< Session refresh by local end. */  nua_remote_refresher,		/**< Session refresh by remote end. */  nua_any_refresher		/**< No preference (default). */};#define NUTAG_SESSION_REFRESHER(x)  nutag_session_refresher, tag_int_v((x))SOFIAPUBVAR tag_typedef_t nutag_session_refresher;#define NUTAG_SESSION_REFRESHER_REF(x) nutag_session_refresher_ref, tag_int_vr((&(x)))SOFIAPUBVAR tag_typedef_t nutag_session_refresher_ref;#define NUTAG_UPDATE_REFRESH(x)  nutag_update_refresh, tag_bool_v((x))SOFIAPUBVAR tag_typedef_t nutag_update_refresh;#define NUTAG_UPDATE_REFRESH_REF(x) nutag_update_refresh_ref, tag_bool_vr((&(x)))SOFIAPUBVAR tag_typedef_t nutag_update_refresh_ref;#define NUTAG_AUTOALERT(x)      nutag_autoalert, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_autoalert;#define NUTAG_AUTOALERT_REF(x)  nutag_autoalert_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_autoalert_ref;#define NUTAG_AUTOACK(x)        nutag_autoack, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_autoack;#define NUTAG_AUTOACK_REF(x)    nutag_autoack_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_autoack_ref;#define NUTAG_AUTOANSWER(x)     nutag_autoanswer, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_autoanswer;#define NUTAG_AUTOANSWER_REF(x) nutag_autoanswer_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_autoanswer_ref;#define NUTAG_ENABLEINVITE(x)   nutag_enableinvite, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_enableinvite;#define NUTAG_ENABLEINVITE_REF(x) nutag_enableinvite_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_enableinvite_ref;#define NUTAG_ENABLEMESSAGE(x)  nutag_enablemessage, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_enablemessage;#define NUTAG_ENABLEMESSAGE_REF(x) nutag_enablemessage_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_enablemessage_ref;#define NUTAG_ENABLEMESSENGER(x)  nutag_enablemessenger, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_enablemessenger;#define NUTAG_ENABLEMESSENGER_REF(x) \  nutag_enablemessenger_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_enablemessenger_ref;/* Start NRC Boston */#define NUTAG_SMIME_ENABLE(x)  nutag_smime_enable, tag_bool_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_enable;#define NUTAG_SMIME_ENABLE_REF(x) nutag_smime_enable_ref, tag_bool_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_smime_enable_ref;#define NUTAG_SMIME_OPT(x)  nutag_smime_opt, tag_int_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_opt;#define NUTAG_SMIME_OPT_REF(x) nutag_smime_opt_ref, tag_int_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_smime_opt_ref;#define NUTAG_SMIME_PROTECTION_MODE(x) nutag_smime_protection_mode, tag_uint_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_protection_mode;#define NUTAG_SMIME_PROTECTION_MODE_REF(x) \           nutag_smime_protection_mode_ref, tag_uint_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_smime_protection_mode_ref;#define NUTAG_SMIME_MESSAGE_DIGEST(x) nutag_smime_message_digest, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_message_digest;#define NUTAG_SMIME_MESSAGE_DIGEST_REF(x) \            nutag_smime_message_digest_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_smime_message_digest_ref;#define NUTAG_SMIME_SIGNATURE(x) nutag_smime_signature, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_signature;#define NUTAG_SMIME_SIGNATURE_REF(x) \            nutag_smime_signature_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_smime_signature_ref;#define NUTAG_SMIME_KEY_ENCRYPTION(x) nutag_smime_key_encryption, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_key_encryption;#define NUTAG_SMIME_KEY_ENCRYPTION_REF(x) \          nutag_smime_key_encryption_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_smime_key_encryption_ref;#define NUTAG_SMIME_MESSAGE_ENCRYPTION(x) nutag_smime_message_encryption, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_smime_message_encryption;#define NUTAG_SMIME_MESSAGE_ENCRYPTION_REF(x) \           nutag_smime_message_encryption_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_smime_message_encryption_ref;/* End NRC Boston */#define NUTAG_CERTIFICATE_DIR(x) nutag_certificate_dir, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_certificate_dir;#define NUTAG_CERTIFICATE_DIR_REF(x) \          nutag_certificate_dir_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_certificate_dir_ref;#define NUTAG_CERTIFICATE_PHRASE(x) nutag_certificate_phrase, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_certificate_phrase;#define NUTAG_CERTIFICATE_PHRASE_REF(x) \          nutag_certificate_phrase_ref, tag_str_vr((&x))SOFIAPUBVAR tag_typedef_t nutag_certificate_phrase_ref;#define NUTAG_SIPS_URL(x)       nutag_sips_url, urltag_url_v(x)SOFIAPUBVAR tag_typedef_t nutag_sips_url;#define NUTAG_SIPS_URL_REF(x)   nutag_sips_url_ref, urltag_url_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_sips_url_ref;#define NUTAG_PROXY(x)          NTATAG_DEFAULT_PROXY(x)#define NUTAG_PROXY_REF(x)      NTATAG_DEFAULT_PROXY_REF(x)#define nutag_proxy             ntatag_default_proxy#define NUTAG_INITIAL_ROUTE(x)     nutag_initial_route, siptag_route_v(x)SOFIAPUBVAR tag_typedef_t nutag_initial_route;#define NUTAG_INITIAL_ROUTE_REF(x) nutag_initial_route_ref, siptag_route_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_initial_route_ref;#define NUTAG_INITIAL_ROUTE_STR(x)     nutag_initial_route_str, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_initial_route_str;#define NUTAG_INITIAL_ROUTE_STR_REF(x) nutag_initial_route_str_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_initial_route_str_ref;#define NUTAG_REGISTRAR(x)      nutag_registrar, urltag_url_v(x)SOFIAPUBVAR tag_typedef_t nutag_registrar;#define NUTAG_REGISTRAR_REF(x)  nutag_registrar_ref, urltag_url_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_registrar_ref;#define NUTAG_OUTBOUND(x)      nutag_outbound, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_outbound;#define NUTAG_OUTBOUND_REF(x)  nutag_outbound_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_outbound_ref;#if notyet#define NUTAG_OUTBOUND_SET1(x)      nutag_outbound_set1, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_outbound_set1;#define NUTAG_OUTBOUND_SET1_REF(x)  nutag_outbound_set1_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_outbound_set1_ref;#define NUTAG_OUTBOUND_SET2(x)      nutag_outbound_set2, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_outbound_set2;#define NUTAG_OUTBOUND_SET2_REF(x)  nutag_outbound_set2_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_outbound_set2_ref;#define NUTAG_OUTBOUND_SET3(x)      nutag_outbound_set3, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_outbound_set3;#define NUTAG_OUTBOUND_SET3_REF(x)  nutag_outbound_set3_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_outbound_set3_ref;#define NUTAG_OUTBOUND_SET4(x)      nutag_outbound_set4, tag_str_v(x)SOFIAPUBVAR tag_typedef_t nutag_outbound_set4;#define NUTAG_OUTBOUND_SET4_REF(x)  nutag_outbound_set4_ref, tag_str_vr(&(x))SOFIAPUBVAR tag_typedef_t nutag_outbound_set4_ref;#endif	/* ...notyet */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -