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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? osip.h

?? 基于GNU的VoIP SIP協(xié)議(RFC3261)實(shí)現(xiàn)代碼
?? H
?? 第 1 頁 / 共 3 頁
字號(hào):
/*  The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)  Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.org    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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifndef _OSIP_H_#define _OSIP_H_#if defined(HAVE_DICT_DICT_H)#include <dict/dict.h>#endif#include <osipparser2/osip_const.h>/* Time-related functions and data types */#include <osip2/osip_time.h>#ifdef __sun#include <sys/types.h>#endif#include <osipparser2/osip_parser.h>#include <osip2/osip_fifo.h>/** * @file osip.h * @brief oSIP fsm Routines * *//** * @defgroup oSIP_FSM oSIP fsm Handling * @ingroup osip2_fsm * @{ */#ifdef __cplusplusextern "C"{#endif/** * Enumeration for transaction state. * Those states are extracted from the diagram found in rfc3261.txt * */  typedef enum _state_t  {    /* STATES for invite client transaction */    ICT_PRE_CALLING,    ICT_CALLING,    ICT_PROCEEDING,    ICT_COMPLETED,    ICT_TERMINATED,    /* STATES for invite server transaction */    IST_PRE_PROCEEDING,    IST_PROCEEDING,    IST_COMPLETED,    IST_CONFIRMED,    IST_TERMINATED,    /* STATES for NON-invite client transaction */    NICT_PRE_TRYING,    NICT_TRYING,    NICT_PROCEEDING,    NICT_COMPLETED,    NICT_TERMINATED,    /* STATES for NON-invite server transaction */    NIST_PRE_TRYING,    NIST_TRYING,    NIST_PROCEEDING,    NIST_COMPLETED,    NIST_TERMINATED,#ifndef DOXYGEN    DIALOG_EARLY,    DIALOG_CONFIRMED,    DIALOG_CLOSE                /* ?? */#endif  }  state_t;/** * Enumeration for event type. * <BR>The list of values that you need to know is reduced to this: * <BR> RCV_REQINVITE, * <BR> RCV_REQACK, * <BR> RCV_REQUEST, * <BR> RCV_STATUS_1XX, * <BR> RCV_STATUS_2XX, * <BR> RCV_STATUS_3456XX, *<BR> * <BR> SND_REQINVITE, * <BR> SND_REQACK, * <BR> SND_REQUEST, * <BR> SND_STATUS_1XX, * <BR> SND_STATUS_2XX, * <BR> SND_STATUS_3456XX, */  typedef enum type_t  {    /* TIMEOUT EVENTS for ICT */    TIMEOUT_A,   /**< Timer A */    TIMEOUT_B,   /**< Timer B */    TIMEOUT_D,   /**< Timer D */    /* TIMEOUT EVENTS for NICT */    TIMEOUT_E,   /**< Timer E */    TIMEOUT_F,   /**< Timer F */    TIMEOUT_K,   /**< Timer K */    /* TIMEOUT EVENTS for IST */    TIMEOUT_G,   /**< Timer G */    TIMEOUT_H,   /**< Timer H */    TIMEOUT_I,   /**< Timer I */    /* TIMEOUT EVENTS for NIST */    TIMEOUT_J,   /**< Timer J */    /* FOR INCOMING MESSAGE */    RCV_REQINVITE,    /**< Event is an incoming INVITE request */    RCV_REQACK,       /**< Event is an incoming ACK request */    RCV_REQUEST,      /**< Event is an incoming NON-INVITE and NON-ACK request */    RCV_STATUS_1XX,   /**< Event is an incoming informational response */    RCV_STATUS_2XX,   /**< Event is an incoming 2XX response */    RCV_STATUS_3456XX,/**< Event is an incoming final response (not 2XX) */    /* FOR OUTGOING MESSAGE */    SND_REQINVITE,    /**< Event is an outgoing INVITE request */    SND_REQACK,       /**< Event is an outgoing ACK request */    SND_REQUEST,      /**< Event is an outgoing NON-INVITE and NON-ACK request */    SND_STATUS_1XX,   /**< Event is an outgoing informational response */    SND_STATUS_2XX,   /**< Event is an outgoing 2XX response */    SND_STATUS_3456XX,/**< Event is an outgoing final response (not 2XX) */    KILL_TRANSACTION, /**< Event to 'kill' the transaction before termination */    UNKNOWN_EVT  }  type_t;/** * Enumeration for transaction type. * A transaction can be either of: *  ICT, *  IST, *  NICT, *  NIST, */  typedef enum osip_fsm_type_t  {    ICT, /**< Invite Client (outgoing) Transaction */    IST, /**< Invite Server (incoming) Transaction */    NICT,/**< Non-Invite Client (outgoing) Transaction */    NIST /**< Non-Invite Server (incoming) Transaction */  }  osip_fsm_type_t;#ifndef DEFAULT_T1/** * You can re-define the default value for T1. (T1 is defined in rfcxxxx) * The default value is 500ms. */#define DEFAULT_T1 500          /* 500 ms */#endif#ifndef DEFAULT_T2/** * You can re-define the default value for T2. (T2 is defined in rfcxxxx) * The default value is 4000ms. */#define DEFAULT_T2 4000         /* 4s */#endif#ifndef DEFAULT_T4/** * You can re-define the default value for T4. (T1 is defined in rfcxxxx) * The default value is 5000ms. */#define DEFAULT_T4 5000         /* 5s */#endif/** * Structure for INVITE CLIENT TRANSACTION (outgoing INVITE transaction). * @var osip_ict_t */  typedef struct osip_ict osip_ict_t;/** * Structure for INVITE CLIENT TRANSACTION. * @struct osip_ict */  struct osip_ict  {    int timer_a_length;           /**@internal A=T1, A=2xT1... (unreliable only) */    struct timeval timer_a_start; /**@internal */    int timer_b_length;           /**@internal B = 64* T1 */    struct timeval timer_b_start; /**@internal fire when transaction timeouts */    int timer_d_length;           /**@internal D >= 32s for unreliable tr (or 0) */    struct timeval timer_d_start; /**@internal should be equal to timer H */    char *destination;            /**@internal url used to send requests */    int port;                     /**@internal port of next hop */  };/** * Structure for NON-INVITE CLIENT TRANSACTION (outgoing NON-INVITE transaction). * @var osip_nict_t */  typedef struct osip_nict osip_nict_t;/** * Structure for NON-INVITE CLIENT TRANSACTION. * @struct osip_nict */  struct osip_nict  {    int timer_e_length;           /**@internal A=T1, A=2xT1... (unreliable only) */    struct timeval timer_e_start; /**@internal */    int timer_f_length;           /**@internal B = 64* T1 */    struct timeval timer_f_start; /**@internal fire when transaction timeouts */    int timer_k_length;           /**@internal K = T4 (else = 0) */    struct timeval timer_k_start; /**@internal */    char *destination;            /**@internal url used to send requests */    int port;                     /**@internal port of next hop */  };/** * Structure for INVITE SERVER TRANSACTION (incoming INVITE transaction). * @var osip_ist_t */  typedef struct osip_ist osip_ist_t;/** * Structure for INVITE SERVER TRANSACTION. * @struct osip_ist */  struct osip_ist  {    int timer_g_length;      /**@internal G=MIN(T1*2,T2) for unreliable trans. */    struct timeval timer_g_start; /**@internal 0 when reliable transport is used */    int timer_h_length;           /**@internal H = 64* T1 */    struct timeval timer_h_start; /**@internal fire when if no ACK is received */    int timer_i_length;           /**@internal I = T4 for unreliable (or 0) */    struct timeval timer_i_start; /**@internal absorb all ACK */  };/** * Structure for NON-INVITE SERVER TRANSACTION (incoming SERVER transaction). * @var osip_nist_t */  typedef struct osip_nist osip_nist_t;/** * Structure for NON-INVITE SERVER TRANSACTION. * @struct osip_nist */  struct osip_nist  {    int timer_j_length;            /**@internal J = 64*T1 (else 0) */    struct timeval timer_j_start;  /**@internal */  };/** * Structure for SRV record entry. * @var osip_srv_entry_t */  typedef struct osip_srv_entry osip_srv_entry_t;/** * Structure for SRV record entry. * @struct osip_srv_entry */  struct osip_srv_entry {    char srv[512];    int priority;    int weight;    int rweight;    int port;  };/** * Structure for SRV record. * @var osip_srv_record_t */  typedef struct osip_srv_record osip_srv_record_t;/** * Structure for SRV record entry. * @struct osip_srv_record */  struct osip_srv_record {    char name[512];    char protocol[64];    struct osip_srv_entry srventry[10];  };/** * Structure for transaction handling. * @var osip_transaction_t */  typedef struct osip_transaction osip_transaction_t;/** * Structure for transaction handling * @struct osip_transaction */  struct osip_transaction  {    void *your_instance;        /**< User Defined Pointer. */    int transactionid;          /**< Internal Transaction Identifier. */    osip_fifo_t *transactionff; /**< events must be added in this fifo */    osip_via_t *topvia;         /**< CALL-LEG definition (Top Via) */    osip_from_t *from;          /**< CALL-LEG definition (From)    */    osip_to_t *to;              /**< CALL-LEG definition (To)      */    osip_call_id_t *callid;     /**< CALL-LEG definition (Call-ID) */    osip_cseq_t *cseq;          /**< CALL-LEG definition (CSeq)    */    osip_message_t *orig_request;  /**< Initial request            */    osip_message_t *last_response; /**< Last response              */    osip_message_t *ack;           /**< ack request sent           */    state_t state;              /**< Current state of the transaction */    time_t birth_time;          /**< birth date of transaction        */    time_t completed_time;      /**< end   date of transaction        */    int in_socket;              /**< Optional socket for incoming message */    int out_socket;             /**< Optional place for outgoing message */    void *config;               /**@internal transaction is managed by osip_t  */    osip_fsm_type_t ctx_type;   /**< Type of the transaction */    osip_ict_t *ict_context;    /**@internal */    osip_ist_t *ist_context;    /**@internal */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
97成人超碰视| 色狠狠桃花综合| 视频一区二区三区在线| 亚洲午夜久久久久久久久电影院| 中文字幕日本不卡| 中文字幕一区二区日韩精品绯色| 国产精品久久免费看| 亚洲四区在线观看| 亚洲一区二区五区| 免费在线观看日韩欧美| 麻豆91在线观看| 国产精品综合av一区二区国产馆| 国产精品911| 99精品国产一区二区三区不卡| 99久免费精品视频在线观看| 99久精品国产| 69精品人人人人| 日韩精品一区在线观看| 国产欧美精品一区二区色综合 | 亚洲成人免费看| 视频在线观看91| 国产一区二区不卡| 97久久超碰国产精品电影| 欧美亚洲免费在线一区| 日韩精品在线一区二区| 国产午夜精品久久| 亚洲精品欧美综合四区| 青青草国产精品亚洲专区无| 国产成人av一区二区三区在线观看| 91在线云播放| 精品蜜桃在线看| 中文字幕亚洲成人| 午夜视频一区二区| www.成人网.com| 在线不卡中文字幕播放| 欧美激情在线观看视频免费| 亚洲一区二区欧美日韩| 国产一区二区在线观看免费| 色一区在线观看| 欧美精品一区二区三区蜜桃 | 精品在线免费观看| 不卡一区中文字幕| 日韩欧美国产一区在线观看| 亚洲欧美日韩国产综合| 国产精品一区二区你懂的| 欧美日韩中文国产| 国产亚洲一区二区三区四区| 五月天亚洲精品| 成人av网站在线观看免费| 欧美一级日韩免费不卡| 亚洲精品免费看| 丰满亚洲少妇av| 日韩三级av在线播放| 亚洲精品成a人| 国产凹凸在线观看一区二区 | 日韩高清在线电影| 97精品电影院| 中文字幕一区二区三区在线不卡| 国产一区三区三区| 日韩一区二区三区电影| 亚洲成av人片观看| 色94色欧美sute亚洲线路一久| 国产亚洲人成网站| 精品一区二区三区日韩| 日韩欧美综合在线| 日韩和的一区二区| 欧美日韩久久久| 一区二区在线观看不卡| 成人app网站| 成人欧美一区二区三区白人| 成人黄色国产精品网站大全在线免费观看 | 亚洲精品一二三四区| av成人免费在线| 国产精品三级视频| 成人开心网精品视频| 中文字幕av在线一区二区三区| 捆绑紧缚一区二区三区视频| 日韩一卡二卡三卡| 美腿丝袜亚洲三区| 欧美mv日韩mv亚洲| 国内精品第一页| 精品国产百合女同互慰| 国产一区二区三区久久久| 久久久久免费观看| av在线一区二区| 亚洲综合久久久久| 欧美一区二区三区四区五区 | 欧美激情一区二区三区| 成人激情免费视频| 亚洲欧美日韩久久| 欧美日韩国产片| 日本aⅴ免费视频一区二区三区| 欧美一区二区福利在线| 经典三级在线一区| 中文字幕av一区二区三区高| 99久久er热在这里只有精品15| 亚洲蜜桃精久久久久久久| 欧美三级电影在线观看| 久久99蜜桃精品| 欧美激情资源网| 欧美亚洲国产一区在线观看网站| 亚洲一区在线看| 精品成人在线观看| 成人黄色av网站在线| 亚洲国产色一区| 26uuu国产日韩综合| 成人永久免费视频| 午夜精品福利一区二区三区av| 亚洲精品一区二区三区精华液 | 亚洲欧洲av在线| 欧美精品色综合| 欧美综合亚洲图片综合区| 丝袜美腿成人在线| 国产精品亲子乱子伦xxxx裸| 欧美日韩精品一区二区在线播放| 国产一区二区三区视频在线播放| 亚洲欧美国产毛片在线| 日韩免费福利电影在线观看| 91麻豆国产香蕉久久精品| 麻豆精品久久久| 一区二区成人在线| 欧美激情自拍偷拍| 日韩一区二区三区在线视频| 91色porny在线视频| 国产乱人伦偷精品视频免下载| 亚洲国产wwwccc36天堂| 中文字幕的久久| 精品少妇一区二区三区视频免付费 | 午夜av一区二区三区| 国产精品素人一区二区| 日韩欧美不卡一区| 欧美在线观看一区| 99这里只有久久精品视频| 精品亚洲aⅴ乱码一区二区三区| 亚洲最新在线观看| 国产精品久久影院| 国产亚洲一本大道中文在线| 欧美一级黄色录像| 欧美日韩在线观看一区二区| 99综合电影在线视频| 国产精品综合视频| 另类综合日韩欧美亚洲| 午夜电影一区二区三区| 亚洲一二三四在线观看| 中文字幕综合网| 亚洲国产成人自拍| 国产色产综合产在线视频| 欧美va亚洲va在线观看蝴蝶网| 91精品啪在线观看国产60岁| 欧美日免费三级在线| 26uuu精品一区二区在线观看| 欧美在线一二三| 欧美中文字幕一二三区视频| 欧美视频在线一区二区三区| 欧美三级资源在线| 欧美另类变人与禽xxxxx| 欧美精品日韩综合在线| 7777精品伊人久久久大香线蕉 | 国产日韩欧美精品一区| 国产亚洲精品中文字幕| 久久精品在这里| 中文字幕乱码日本亚洲一区二区| 国产欧美精品一区二区色综合 | 在线一区二区三区| 日本韩国欧美一区| 9191成人精品久久| 精品久久久久久久久久久久久久久 | 婷婷成人综合网| 蜜桃一区二区三区四区| 国产一区久久久| 成人av先锋影音| 色妹子一区二区| 在线电影一区二区三区| 欧美白人最猛性xxxxx69交| 国产校园另类小说区| 亚洲欧洲精品天堂一级| 亚洲综合丁香婷婷六月香| 亚洲v日本v欧美v久久精品| 美日韩一区二区| 99久久综合国产精品| 欧美日韩国产色站一区二区三区| 精品福利av导航| 亚洲日本中文字幕区| 日韩1区2区3区| 北岛玲一区二区三区四区| 在线免费观看日本一区| 精品国一区二区三区| 亚洲三级在线观看| 极品尤物av久久免费看| 在线精品视频免费观看| 2欧美一区二区三区在线观看视频| 亚洲国产成人在线| 美女视频第一区二区三区免费观看网站| 国产精品亚洲成人| 欧美日韩精品二区第二页| 久久精品男人天堂av| 亚洲成人自拍网| 不卡一区在线观看| 欧美精品一区二区三区视频| 亚洲成人av一区二区三区|