亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? exosip.h

?? libeXosip2-3.0.3.tar.gz
?? H
字號:
/*  eXosip - This is the eXtended osip library.  Copyright (C) 2002,2003,2004,2005,2006,2007  Aymeric MOIZARD  - jack@atosc.org    eXosip is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License as published by  the Free Software Foundation; either version 2 of the License, or  (at your option) any later version.    eXosip 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 General Public License for more details.    You should have received a copy of the GNU General Public License  along with this program; if not, write to the Free Software  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifdef ENABLE_MPATROL#include <mpatrol.h>#endif#ifndef __EXOSIP_H__#define __EXOSIP_H__#include <eXosip2/eX_setup.h>#include <eXosip2/eX_register.h>#include <eXosip2/eX_call.h>#include <eXosip2/eX_options.h>#include <eXosip2/eX_subscribe.h>#include <eXosip2/eX_refer.h>#include <eXosip2/eX_message.h>#include <eXosip2/eX_publish.h>#include <osipparser2/osip_parser.h>#include <osipparser2/sdp_message.h>#include <time.h>/** * @file eXosip.h * @brief eXosip API * * eXosip is a high layer library for rfc3261: the SIP protocol. * It offers a simple API to make it easy to use. eXosip2 offers * great flexibility for implementing SIP endpoint like: * <ul> * <li>SIP User-Agents</li> * <li>SIP Voicemail or IVR</li> * <li>SIP B2BUA</li> * <li>any SIP server acting as an endpoint (music server...)</li> * </ul> * * If you need to implement proxy or complex SIP applications, * you should consider using osip instead. * * Here are the eXosip capabilities: * <pre> *    REGISTER                 to handle registration. *    INVITE/BYE               to start/stop VoIP sessions. *    INFO                     to send DTMF within a VoIP sessions. *    OPTIONS                  to simulate VoIP sessions. *    re-INVITE                to modify VoIP sessions *    REFER/NOTIFY             to transfer calls. *    MESSAGE                  to send Instant Message. *    SUBSCRIBE/NOTIFY         to handle presence capabilities. *    any other request        to handle what you want! * </pre> * <P> */#ifdef __cplusplusextern "C"{#endif/** * Structure for event description. * @var eXosip_event_t */  typedef struct eXosip_event eXosip_event_t;/** * @defgroup eXosip2_authentication eXosip2 authentication API * @ingroup eXosip2_msg * @{ *//** * Add authentication credentials. These are used when an outgoing * request comes back with an authorization required response. * * @param username	username * @param userid	login (usually equals the username) * @param passwd	password * @param ha1		currently ignored * @param realm		realm within which credentials apply, or NULL *			to apply credentials to unrecognized realms */  int eXosip_add_authentication_info(const char *username, const char *userid,				     const char *passwd, const char *ha1,				     const char *realm);  /** * Clear all authentication credentials stored in eXosip. * */  int eXosip_clear_authentication_info(void);/** * Initiate some default actions: * *  Retry with credentials upon reception of 401/407. *  Retry with Contact header upon reception of 3xx request. *  */  int eXosip_default_action (eXosip_event_t *je);/** *  Refresh REGISTER and SUBSCRIBE before the expiration delay. */  void eXosip_automatic_refresh (void);/** * Initiate some automatic actions: * *  Retry with credentials upon reception of 401/407. *  Refresh REGISTER and SUBSCRIBE before the expiration delay. *  Retry with Contact header upon reception of 3xx request. *  */  void eXosip_automatic_action(void);#ifndef MINISIZE  /** * Automatic internal handling of known package. *  * @param evt          event related to an incoming subscription. */  int eXosip_insubscription_automatic(eXosip_event_t *evt);#endif/** * Generate random string: * * @param buf	        destination buffer for random string. * @param buf_size      size of destination buffer */  int eXosip_generate_random (char *buf, int buf_size);/** @} */  /** * @defgroup eXosip2_sdp eXosip2 SDP helper API. * @ingroup eXosip2_msg * @{ *//** * Get remote SDP body for the latest INVITE of call. *  * @param did          dialog id of call. */  sdp_message_t *eXosip_get_remote_sdp(int did);/** * Get local SDP body for the latest INVITE of call. *  * @param did          dialog id of call. */  sdp_message_t *eXosip_get_local_sdp(int did);/** * Get local SDP body for the previous latest INVITE of call. *  * @param did          dialog id of call. */  sdp_message_t *eXosip_get_previous_local_sdp (int did);/** * Get remote SDP body for the latest INVITE of call. *  * @param tid          transction id of transaction. */  sdp_message_t *eXosip_get_remote_sdp_from_tid (int tid);/** * Get local SDP body for the latest INVITE of call. *  * @param tid          transction id of transaction. */  sdp_message_t *eXosip_get_local_sdp_from_tid (int tid);/** * Get local SDP body for the given message. *  * @param message      message containing the SDP. */  sdp_message_t *eXosip_get_sdp_info(osip_message_t *message);/** * Get audio connection information for call. *  * @param sdp     sdp information. */  sdp_connection_t *eXosip_get_audio_connection(sdp_message_t *sdp);/** * Get audio media information for call. *  * @param sdp     sdp information. */  sdp_media_t *eXosip_get_audio_media(sdp_message_t *sdp);/** * Get video connection information for call. *  * @param sdp     sdp information. */  sdp_connection_t *eXosip_get_video_connection(sdp_message_t *sdp);/** * Get video media information for call. *  * @param sdp     sdp information. */  sdp_media_t *eXosip_get_video_media(sdp_message_t *sdp);/** * Get media connection information for call. *  * @param sdp     sdp information. * @param media   media to search. */  sdp_connection_t *eXosip_get_connection (sdp_message_t * sdp, const char *media);/** * Get media information for call. *  * @param sdp     sdp information. * @param media   media to search. */  sdp_media_t *eXosip_get_media (sdp_message_t * sdp, const char *media);/** @} *//** * @defgroup eXosip2_event eXosip2 event API * @ingroup eXosip2_setup * @{ *//** * Structure for event type description * @var eXosip_event_type */  typedef enum eXosip_event_type    {      /* REGISTER related events */      EXOSIP_REGISTRATION_NEW,         /**< announce new registration.       */      EXOSIP_REGISTRATION_SUCCESS,     /**< user is successfully registred.  */      EXOSIP_REGISTRATION_FAILURE,     /**< user is not registred.           */      EXOSIP_REGISTRATION_REFRESHED,   /**< registration has been refreshed. */      EXOSIP_REGISTRATION_TERMINATED,  /**< UA is not registred any more.    */            /* INVITE related events within calls */      EXOSIP_CALL_INVITE,          /**< announce a new call                   */      EXOSIP_CALL_REINVITE,        /**< announce a new INVITE within call     */      EXOSIP_CALL_NOANSWER,        /**< announce no answer within the timeout */      EXOSIP_CALL_PROCEEDING,      /**< announce processing by a remote app   */      EXOSIP_CALL_RINGING,         /**< announce ringback                     */      EXOSIP_CALL_ANSWERED,        /**< announce start of call                */      EXOSIP_CALL_REDIRECTED,      /**< announce a redirection                */      EXOSIP_CALL_REQUESTFAILURE,  /**< announce a request failure            */      EXOSIP_CALL_SERVERFAILURE,   /**< announce a server failure             */      EXOSIP_CALL_GLOBALFAILURE,   /**< announce a global failure             */      EXOSIP_CALL_ACK,             /**< ACK received for 200ok to INVITE      */            EXOSIP_CALL_CANCELLED,       /**< announce that call has been cancelled */      EXOSIP_CALL_TIMEOUT,         /**< announce that call has failed         */      /* request related events within calls (except INVITE) */      EXOSIP_CALL_MESSAGE_NEW,            /**< announce new incoming request. */      EXOSIP_CALL_MESSAGE_PROCEEDING,     /**< announce a 1xx for request. */      EXOSIP_CALL_MESSAGE_ANSWERED,       /**< announce a 200ok  */      EXOSIP_CALL_MESSAGE_REDIRECTED,     /**< announce a failure. */      EXOSIP_CALL_MESSAGE_REQUESTFAILURE, /**< announce a failure. */      EXOSIP_CALL_MESSAGE_SERVERFAILURE,  /**< announce a failure. */      EXOSIP_CALL_MESSAGE_GLOBALFAILURE,  /**< announce a failure. */      EXOSIP_CALL_CLOSED,          /**< a BYE was received for this call      */      /* for both UAS & UAC events */      EXOSIP_CALL_RELEASED,           /**< call context is cleared.            */            /* response received for request outside calls */      EXOSIP_MESSAGE_NEW,            /**< announce new incoming request. */      EXOSIP_MESSAGE_PROCEEDING,     /**< announce a 1xx for request. */      EXOSIP_MESSAGE_ANSWERED,       /**< announce a 200ok  */      EXOSIP_MESSAGE_REDIRECTED,     /**< announce a failure. */      EXOSIP_MESSAGE_REQUESTFAILURE, /**< announce a failure. */      EXOSIP_MESSAGE_SERVERFAILURE,  /**< announce a failure. */      EXOSIP_MESSAGE_GLOBALFAILURE,  /**< announce a failure. */            /* Presence and Instant Messaging */      EXOSIP_SUBSCRIPTION_UPDATE,       /**< announce incoming SUBSCRIBE.      */      EXOSIP_SUBSCRIPTION_CLOSED,       /**< announce end of subscription.     */            EXOSIP_SUBSCRIPTION_NOANSWER,        /**< announce no answer              */      EXOSIP_SUBSCRIPTION_PROCEEDING,      /**< announce a 1xx                  */      EXOSIP_SUBSCRIPTION_ANSWERED,        /**< announce a 200ok                */      EXOSIP_SUBSCRIPTION_REDIRECTED,      /**< announce a redirection          */      EXOSIP_SUBSCRIPTION_REQUESTFAILURE,  /**< announce a request failure      */      EXOSIP_SUBSCRIPTION_SERVERFAILURE,   /**< announce a server failure       */      EXOSIP_SUBSCRIPTION_GLOBALFAILURE,   /**< announce a global failure       */      EXOSIP_SUBSCRIPTION_NOTIFY,          /**< announce new NOTIFY request     */            EXOSIP_SUBSCRIPTION_RELEASED,        /**< call context is cleared.        */            EXOSIP_IN_SUBSCRIPTION_NEW,          /**< announce new incoming SUBSCRIBE.*/      EXOSIP_IN_SUBSCRIPTION_RELEASED,     /**< announce end of subscription.   */            EXOSIP_NOTIFICATION_NOANSWER,        /**< announce no answer              */      EXOSIP_NOTIFICATION_PROCEEDING,      /**< announce a 1xx                  */      EXOSIP_NOTIFICATION_ANSWERED,        /**< announce a 200ok                */      EXOSIP_NOTIFICATION_REDIRECTED,      /**< announce a redirection          */      EXOSIP_NOTIFICATION_REQUESTFAILURE,  /**< announce a request failure      */      EXOSIP_NOTIFICATION_SERVERFAILURE,   /**< announce a server failure       */      EXOSIP_NOTIFICATION_GLOBALFAILURE,   /**< announce a global failure       */      EXOSIP_EVENT_COUNT                /**< MAX number of events              */    } eXosip_event_type_t;/** * Structure for event description * @struct eXosip_event */  struct eXosip_event  {    eXosip_event_type_t type;               /**< type of the event */    char                textinfo[256];      /**< text description of event */     void               *external_reference; /**< external reference (for calls) */        osip_message_t     *request;   /**< request within current transaction */    osip_message_t     *response;  /**< last response within current transaction */    osip_message_t     *ack;       /**< ack within current transaction */        int tid; /**< unique id for transactions (to be used for answers) */    int did; /**< unique id for SIP dialogs */        int rid; /**< unique id for registration */    int cid; /**< unique id for SIP calls (but multiple dialogs!) */    int sid; /**< unique id for outgoing subscriptions */    int nid; /**< unique id for incoming subscriptions */        int ss_status;  /**< current Subscription-State for subscription */    int ss_reason;  /**< current Reason status for subscription */      };  /** * Free ressource in an eXosip event. *  * @param je    event to work on. */void eXosip_event_free(eXosip_event_t *je);/** * Wait for an eXosip event. *  * @param tv_s      timeout value (seconds). * @param tv_ms     timeout value (mseconds). */eXosip_event_t *eXosip_event_wait(int tv_s, int tv_ms);/** * Wait for next eXosip event. *  */eXosip_event_t *eXosip_event_get(void);/** @} */#ifdef __cplusplus}#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美视频在线观看| 国产偷国产偷亚洲高清人白洁| 国产精品影视在线| 五月婷婷欧美视频| 一区二区三区四区在线播放| 亚洲女人****多毛耸耸8| 中文av一区二区| 国产精品区一区二区三区| 久久美女高清视频| 一区二区三区中文免费| 中文字幕一区二区三区四区不卡| 国产日韩欧美精品电影三级在线| 国产日韩欧美一区二区三区乱码| 久久精品夜色噜噜亚洲aⅴ| 久久综合资源网| 久久久久亚洲综合| 国产精品免费视频一区| 国产精品国产a级| 亚洲中国最大av网站| 亚洲国产日韩av| 日韩成人免费电影| 久久精品国内一区二区三区| 国产毛片精品视频| www.日韩精品| 欧美日韩免费在线视频| 欧美电视剧在线看免费| 国产欧美日韩一区二区三区在线观看| 国产日韩欧美精品电影三级在线| 欧美国产日本韩| 亚洲欧美日韩国产综合| 日日夜夜免费精品| 国产精品中文字幕日韩精品| 99vv1com这只有精品| 欧美精品九九99久久| 久久亚洲捆绑美女| 一区二区三区日韩精品视频| 日本午夜精品视频在线观看| 国产精品99久久久久| 在线看不卡av| 久久夜色精品国产噜噜av| 国产精品第一页第二页第三页| 亚洲国产cao| 国产91丝袜在线18| 欧美伦理视频网站| 国产精品久久久久国产精品日日| 亚洲午夜免费视频| 国产丶欧美丶日本不卡视频| 欧美日韩高清一区二区三区| 久久久99久久| 日韩制服丝袜av| 91小视频在线免费看| 欧美成人高清电影在线| 一区二区三区精密机械公司| 国产精品一二三区在线| 欧美日韩一区精品| 中文字幕制服丝袜一区二区三区| 婷婷国产在线综合| 91首页免费视频| 国产午夜精品一区二区| 日欧美一区二区| 欧美在线视频你懂得| 国产精品视频一二三| 激情六月婷婷综合| 欧美一区二区三区在线观看视频| 亚洲欧美日韩国产手机在线| 国产米奇在线777精品观看| 精品视频一区 二区 三区| 亚洲欧洲日本在线| 从欧美一区二区三区| 欧美成人福利视频| 玖玖九九国产精品| 日韩欧美国产一区二区三区| 亚洲大片一区二区三区| 在线看日韩精品电影| 综合久久给合久久狠狠狠97色| 国产成人在线免费| 久久久久久免费| 国产自产高清不卡| 欧美精品一区二区三区蜜桃视频| 日韩精彩视频在线观看| 欧美精品日韩精品| 天堂av在线一区| 91精品欧美久久久久久动漫| 亚洲.国产.中文慕字在线| 欧美色窝79yyyycom| 午夜影院久久久| 欧美人动与zoxxxx乱| 日韩一区精品视频| 日韩三级视频在线观看| 麻豆专区一区二区三区四区五区| 日韩精品中文字幕一区二区三区| 无码av中文一区二区三区桃花岛| 欧美疯狂做受xxxx富婆| 蜜臀av一区二区在线免费观看 | 91麻豆精品国产| 视频在线观看一区| 日韩你懂的在线播放| 国产一区二区福利视频| 欧美激情中文不卡| 色天使色偷偷av一区二区| 亚洲成人先锋电影| 欧美成人猛片aaaaaaa| 国内精品不卡在线| 中文字幕一区二区三区在线观看| 色综合久久九月婷婷色综合| 午夜视频在线观看一区二区 | 欧美日本在线视频| 久久国产精品99精品国产| 亚洲精品一线二线三线| 成人黄色在线视频| 丝袜亚洲另类欧美| 国产午夜三级一区二区三| 色婷婷亚洲精品| 不卡大黄网站免费看| 亚洲欧美一区二区三区孕妇| 欧美精品视频www在线观看| 国内久久精品视频| 亚洲综合在线电影| 欧美精品一区男女天堂| 91色九色蝌蚪| 久久精品国产秦先生| 自拍偷拍国产亚洲| 精品国产伦理网| 91国产成人在线| 国产精品中文字幕日韩精品 | 欧美亚洲综合久久| 国产乱码精品1区2区3区| 亚洲一区二区在线免费看| 日本一区二区视频在线观看| 欧美三级资源在线| 成人福利电影精品一区二区在线观看 | 99视频在线精品| 看电视剧不卡顿的网站| 亚洲综合一区二区三区| 国产日韩欧美高清| 日韩欧美国产午夜精品| 欧美人妖巨大在线| 91蜜桃网址入口| 国产精品77777竹菊影视小说| 亚洲国产精品天堂| 国产精品九色蝌蚪自拍| 久久久噜噜噜久久人人看| 欧美一级精品在线| 欧美伦理电影网| 色婷婷综合久色| 99国产精品国产精品久久| 国产精品99久久久久久宅男| 美女网站色91| 免费久久精品视频| 日韩国产精品久久久| 午夜在线电影亚洲一区| 一区二区三区国产豹纹内裤在线| 亚洲视频一二区| 国产精品动漫网站| 亚洲女同女同女同女同女同69| 国产欧美一区二区精品忘忧草 | 麻豆久久一区二区| av亚洲精华国产精华精| 精品影院一区二区久久久| 日韩制服丝袜先锋影音| 午夜av区久久| 天堂蜜桃一区二区三区| 亚洲成人免费观看| 日韩高清在线电影| 日韩电影一区二区三区四区| 偷拍与自拍一区| 日韩电影一二三区| 精品一区二区三区影院在线午夜| 日本美女一区二区三区| 久久99热国产| 国产精品99久久久久久宅男| 成人av资源站| 在线一区二区观看| 欧美丰满少妇xxxbbb| 日韩你懂的在线播放| 久久久亚洲精品石原莉奈| 午夜精品久久久久久久99樱桃| 夜夜精品浪潮av一区二区三区| 亚洲黄色小视频| 午夜精品福利在线| 久久国产精品99精品国产 | 狠狠色狠狠色综合日日91app| 精品一区精品二区高清| 成人免费视频国产在线观看| 91久久久免费一区二区| 欧美一区二区日韩一区二区| 国产欧美日韩久久| 亚洲综合精品自拍| 激情综合色丁香一区二区| www.成人在线| 91精品国产一区二区三区| 久久综合九色综合久久久精品综合| 国产精品欧美久久久久无广告| 亚洲综合自拍偷拍| 国产一区二区三区黄视频| 色拍拍在线精品视频8848| 日韩免费观看高清完整版在线观看| 亚洲国产精品v| 毛片av中文字幕一区二区| 91在线视频18|