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

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

?? osip.h

?? 基于GNU的VoIP SIP協(xié)議(RFC3261)實現(xiàn)代碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
    osip_nict_t *nict_context;  /**@internal */    osip_nist_t *nist_context;  /**@internal */	osip_srv_record_t record;   /**@internal */  };/** * Enumeration for callback type. */  typedef enum osip_message_callback_type  {    OSIP_ICT_INVITE_SENT = 0,               /**< INVITE MESSAGE SENT */    OSIP_ICT_INVITE_SENT_AGAIN,             /**< INVITE MESSAGE RETRANSMITTED */    OSIP_ICT_ACK_SENT,                      /**< ACK MESSAGE SENT */    OSIP_ICT_ACK_SENT_AGAIN,                /**< ACK MESSAGE RETRANSMITTED */    OSIP_ICT_STATUS_1XX_RECEIVED,           /**< 1XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_2XX_RECEIVED,           /**< 2XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_2XX_RECEIVED_AGAIN,     /**< 2XX FOR INVITE RECEIVED AGAIN */    OSIP_ICT_STATUS_3XX_RECEIVED,           /**< 3XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_4XX_RECEIVED,           /**< 4XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_5XX_RECEIVED,           /**< 5XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_6XX_RECEIVED,           /**< 6XX FOR INVITE RECEIVED */    OSIP_ICT_STATUS_3456XX_RECEIVED_AGAIN,  /**< RESPONSE RECEIVED AGAIN */    OSIP_IST_INVITE_RECEIVED,               /**< INVITE MESSAGE RECEIVED */    OSIP_IST_INVITE_RECEIVED_AGAIN,         /**< INVITE MESSAGE RECEIVED AGAN */    OSIP_IST_ACK_RECEIVED,                  /**< ACK MESSAGE RECEIVED */    OSIP_IST_ACK_RECEIVED_AGAIN,            /**< ACK MESSAGE RECEIVED AGAIN */    OSIP_IST_STATUS_1XX_SENT,               /**< 1XX FOR INVITE SENT */    OSIP_IST_STATUS_2XX_SENT,               /**< 2XX FOR INVITE SENT */    OSIP_IST_STATUS_2XX_SENT_AGAIN,         /**< 2XX FOR INVITE RETRANSMITTED */    OSIP_IST_STATUS_3XX_SENT,               /**< 3XX FOR INVITE SENT */    OSIP_IST_STATUS_4XX_SENT,               /**< 4XX FOR INVITE SENT */    OSIP_IST_STATUS_5XX_SENT,               /**< 5XX FOR INVITE SENT */    OSIP_IST_STATUS_6XX_SENT,               /**< 6XX FOR INVITE SENT */    OSIP_IST_STATUS_3456XX_SENT_AGAIN,      /**< RESPONSE RETRANSMITTED */    OSIP_NICT_REGISTER_SENT,                /**< REGISTER MESSAGE SENT */    OSIP_NICT_BYE_SENT,                     /**< BYE MESSAGE SENT */    OSIP_NICT_OPTIONS_SENT,                 /**< OPTIONS MESSAGE SENT */    OSIP_NICT_INFO_SENT,                    /**< INFO MESSAGE SENT */    OSIP_NICT_CANCEL_SENT,                  /**< CANCEL MESSAGE SENT */    OSIP_NICT_NOTIFY_SENT,                  /**< NOTIFY MESSAGE SENT */    OSIP_NICT_SUBSCRIBE_SENT,               /**< SUBSCRIBE MESSAGE SENT */    OSIP_NICT_UNKNOWN_REQUEST_SENT,         /**< UNKNOWN REQUEST MESSAGE SENT */    OSIP_NICT_REQUEST_SENT_AGAIN,           /**< REQUEST MESSAGE RETRANMITTED */    OSIP_NICT_STATUS_1XX_RECEIVED,          /**< 1XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_2XX_RECEIVED,          /**< 2XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_2XX_RECEIVED_AGAIN,    /**< 2XX FOR MESSAGE RECEIVED AGAIN */    OSIP_NICT_STATUS_3XX_RECEIVED,          /**< 3XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_4XX_RECEIVED,          /**< 4XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_5XX_RECEIVED,          /**< 5XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_6XX_RECEIVED,          /**< 6XX FOR MESSAGE RECEIVED */    OSIP_NICT_STATUS_3456XX_RECEIVED_AGAIN, /**< RESPONSE RECEIVED AGAIN */    OSIP_NIST_REGISTER_RECEIVED,            /**< REGISTER RECEIVED */    OSIP_NIST_BYE_RECEIVED,                 /**< BYE RECEIVED */    OSIP_NIST_OPTIONS_RECEIVED,             /**< OPTIONS RECEIVED */    OSIP_NIST_INFO_RECEIVED,                /**< INFO RECEIVED */    OSIP_NIST_CANCEL_RECEIVED,              /**< CANCEL RECEIVED */    OSIP_NIST_NOTIFY_RECEIVED,              /**< NOTIFY RECEIVED */    OSIP_NIST_SUBSCRIBE_RECEIVED,           /**< SUBSCRIBE RECEIVED */    OSIP_NIST_UNKNOWN_REQUEST_RECEIVED,     /**< UNKNWON REQUEST RECEIVED */    OSIP_NIST_REQUEST_RECEIVED_AGAIN,       /**< UNKNWON REQUEST RECEIVED AGAIN */    OSIP_NIST_STATUS_1XX_SENT,              /**< 1XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_2XX_SENT,              /**< 2XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_2XX_SENT_AGAIN,        /**< 2XX FOR MESSAGE RETRANSMITTED */    OSIP_NIST_STATUS_3XX_SENT,              /**< 3XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_4XX_SENT,              /**< 4XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_5XX_SENT,              /**< 5XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_6XX_SENT,              /**< 6XX FOR MESSAGE SENT */    OSIP_NIST_STATUS_3456XX_SENT_AGAIN,     /**< RESPONSE RETRANSMITTED */    OSIP_ICT_STATUS_TIMEOUT,                /**< TIMER B EXPIRATION: NO REMOTE ANSWER  */    OSIP_NICT_STATUS_TIMEOUT,               /**< TIMER F EXPIRATION: NO REMOTE ANSWER  */    OSIP_MESSAGE_CALLBACK_COUNT             /**< END OF ENUM */  } osip_message_callback_type_t;/** * Enumeration for callback type used when transaction is over. */  typedef enum osip_kill_callback_type  {    OSIP_ICT_KILL_TRANSACTION,      /**< end of Client INVITE transaction */    OSIP_IST_KILL_TRANSACTION,      /**< end of Server INVITE transaction */    OSIP_NICT_KILL_TRANSACTION,     /**< end of Client Non-INVITE transaction */    OSIP_NIST_KILL_TRANSACTION,     /**< end of Server Non-INVITE transaction */    OSIP_KILL_CALLBACK_COUNT        /**< END OF ENUM */  } osip_kill_callback_type_t;/** * Enumeration for callback type used when a transport error is detected. * @var osip_transport_error_callback_type_t */  typedef enum osip_transport_error_callback_type  {    OSIP_ICT_TRANSPORT_ERROR,             /**< transport error for ICT */    OSIP_IST_TRANSPORT_ERROR,             /**< transport error for IST */    OSIP_NICT_TRANSPORT_ERROR,            /**< transport error for NICT */    OSIP_NIST_TRANSPORT_ERROR,            /**< transport error for NIST */    OSIP_TRANSPORT_ERROR_CALLBACK_COUNT   /**< END OF ENUM */  } osip_transport_error_callback_type_t;/** * Callback definition for message announcements. * @var osip_message_cb_t */  typedef void (*osip_message_cb_t) (int type, osip_transaction_t *,                                     osip_message_t *);/** * Callback definition for end of transaction announcements. * @var osip_kill_transaction_cb_t */  typedef void (*osip_kill_transaction_cb_t) (int type, osip_transaction_t *);/** * Callback definition for transport error announcements. * @var osip_transport_error_cb_t */  typedef void (*osip_transport_error_cb_t) (int type, osip_transaction_t *,                                             int error);  struct osip_dialog;/** * Structure for 2XX retransmission management. * @var ixt_t */  typedef struct ixt_t ixt_t;/** * Structure for 2XX retransmission management. * @struct ixt */  struct ixt_t  {    /* any ACK received that match this context will set counter to -1 */    struct osip_dialog *dialog; /**< related dialog */    osip_message_t *msg2xx;     /**< buffer to retransmit */    osip_message_t *ack;        /**< ack message if needed */    struct timeval start;       /**< Time of first retransmission */    int interval;               /**< delay between retransmission, in ms */    char *dest;                 /**< destination host */    int port;                   /**< destination port */    int sock;                   /**< socket to use */    int counter;                /**< start at 7 */  };/** * Structure for osip handling. * In order to use osip, you have to manage at least one global instance * of an osip_t element. Then, you'll register a set of required callbacks * and a set of optional ones. * @var osip_t */  typedef struct osip osip_t;/** * Structure for osip handling. * @struct osip */  struct osip  {    void *application_context;  /**< User defined Pointer */    /* list of transactions for ict, ist, nict, nist */    osip_list_t osip_ict_transactions;   /**< list of ict transactions */    osip_list_t osip_ist_transactions;   /**< list of ist transactions */    osip_list_t osip_nict_transactions;  /**< list of nict transactions */    osip_list_t osip_nist_transactions;  /**< list of nist transactions */    osip_list_t ixt_retransmissions;    /**< list of ixt elements */    osip_message_cb_t msg_callbacks[OSIP_MESSAGE_CALLBACK_COUNT];        /**@internal */    osip_kill_transaction_cb_t kill_callbacks[OSIP_KILL_CALLBACK_COUNT]; /**@internal */    osip_transport_error_cb_t tp_error_callbacks[OSIP_TRANSPORT_ERROR_CALLBACK_COUNT];  /**@internal */    int (*cb_send_message) (osip_transaction_t *, osip_message_t *, char *,                            int, int);                                        /**@internal */#if defined(HAVE_DICT_DICT_H)    dict *osip_ict_hastable;              /**< htable of ict transactions */    dict *osip_ist_hastable;              /**< htable of ist transactions */    dict *osip_nict_hastable;             /**< htable of nict transactions */    dict *osip_nist_hastable;             /**< htable of nist transactions */#endif  };/** * Set a callback for each transaction operation.  * @param osip The element to work on. * @param type The event type to hook on. * @param cb The method to be called upon the event. */  int osip_set_message_callback (osip_t * osip, int type, osip_message_cb_t cb);/** * Set a callback for transaction operation related to the end of transactions.  * @param osip The element to work on. * @param type The event type to hook on. * @param cb The method to be called upon the event. */  int osip_set_kill_transaction_callback (osip_t * osip, int type,                                          osip_kill_transaction_cb_t cb);/** * Set a callback for each transaction operation related to network error. * @param osip The element to work on. * @param type The event type to hook on. * @param cb The method to be called upon the event. */  int osip_set_transport_error_callback (osip_t * osip, int type,                                         osip_transport_error_cb_t cb);/** * Structure for osip event handling. * A osip_event_t element will have a type and will be related * to a transaction. In the general case, it is used by the * application layer to give SIP messages to the oSIP finite * state machine. * @var osip_event_t */  typedef struct osip_event osip_event_t;/** * Structure for osip event handling. * @struct osip_event */  struct osip_event  {    type_t type;             /**< Event Type */    int transactionid;       /**< identifier of the related osip transaction */    osip_message_t *sip;     /**< SIP message (optional) */  };/** * Allocate an osip_transaction_t element. * @param transaction The element to allocate. * @param ctx_type The type of transaction. (ICT, IST, NICT, NIST) * @param osip The global instance of oSIP. * @param request The SIP request that initiate the transaction. */  int osip_transaction_init (osip_transaction_t ** transaction,                             osip_fsm_type_t ctx_type, osip_t * osip,                             osip_message_t * request);/** * Free all resource in a osip_transaction_t element. * @param transaction The element to free. */  int osip_transaction_free (osip_transaction_t * transaction);/** * Free all resource in a osip_transaction_t element. * This method does the same than osip_transaction_free() but it assumes * that the transaction is already removed from the list of transaction * in the osip stack. (to remove it use osip_xixt_remove(osip, transaction); * @param transaction The element to free. */  int osip_transaction_free2 (osip_transaction_t * transaction);/** * Search in a SIP response the destination where the message * should be sent. * @param response the message to work on. * @param address a pointer to receive the allocated host address. * @param portnum a pointer to receive the host port. */  void osip_response_get_destination (osip_message_t * response,                                      char **address, int *portnum);/** * Set the host and port destination used for sending the SIP message. * This can be useful for an application with 'DIRECT ROOTING MODE' * NOTE: Instead, you should use the 'Route' header facility which * leads to the same behaviour. * @param ict The element to work on. * @param destination The destination host. * @param port The destination port. */  int osip_ict_set_destination (osip_ict_t * ict, char *destination, int port);/** * Set the host and port destination used for sending the SIP message. * This can be useful for an application with 'DIRECT ROOTING MODE' * NOTE: Instead, you should use the 'Route' header facility which * leads to the same behaviour. * @param nict The element to work on. * @param destination The destination host. * @param port The destination port. */  int osip_nict_set_destination (osip_nict_t * nict, char *destination, int port);/** * Add a SIP event in the fifo of a osip_transaction_t element. * @param transaction The element to work on. * @param evt The event to add. */  int osip_transaction_add_event (osip_transaction_t * transaction,                                  osip_event_t * evt);/** * Consume one osip_event_t element previously added in the fifo. * NOTE: This method MUST NEVER be called within another call * of this method. (For example, you can't call osip_transaction_execute() * in a callback registered in the osip_t element.) * @param transaction The element to free. * @param evt The element to consume. */  int osip_transaction_execute (osip_transaction_t * transaction,                                osip_event_t * evt);/** * Set a pointer to your personal context associated with this transaction. * NOTE: this is a very useful method that allow you to avoid searching * for your personal context inside the registered callbacks. * You can initialise this pointer to your context right after * the creation of the osip_transaction_t element. Then, you'll be * able to get the address of your context by calling * osip_transaction_get_your_instance(). * @param transaction The element to work on. * @param instance The address of your context. */  int osip_transaction_set_your_instance (osip_transaction_t * transaction,                                          void *instance);/** * Get a pointer to your personal context associated with this transaction. * @param transaction The element to work on. */  void *osip_transaction_get_your_instance (osip_transaction_t * transaction);/** * Get target ip and port for this request. * (automaticly set by osip_transaction_init() for ict and nict) * @param transaction The element to work on. * @param ip The ip of host where to send initial request. * @param port The port where to send initial request. */  int osip_transaction_get_destination (osip_transaction_t * transaction,                                        char **ip, int *port);/** * Set SRV lookup information to be used by state machine. * * @param transaction The element to work on. * @param record The SRV lookup results for this transaction. */  int osip_transaction_set_srv_record(osip_transaction_t *transaction, osip_srv_record_t *record);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
|精品福利一区二区三区| 国产成人啪午夜精品网站男同| 不卡av电影在线播放| 国产亚洲欧洲一区高清在线观看| 激情久久五月天| 久久久午夜电影| 成人午夜私人影院| 中文字幕一区三区| 色8久久精品久久久久久蜜| 亚洲一区二区三区中文字幕在线| 精品视频色一区| 日韩电影在线一区二区三区| 欧美大白屁股肥臀xxxxxx| 精品午夜久久福利影院| 2020日本不卡一区二区视频| 不卡av电影在线播放| 一区二区三区欧美视频| 日韩一区二区三区四区| 国产一区福利在线| 日韩毛片视频在线看| 色8久久精品久久久久久蜜| 亚洲国产一区二区三区| 欧美亚洲综合久久| 六月婷婷色综合| 中文字幕av不卡| 在线观看日韩一区| 蜜臀av国产精品久久久久| 国产欧美日韩综合| 欧洲日韩一区二区三区| 麻豆国产欧美日韩综合精品二区 | 亚洲福利视频导航| 欧美电视剧在线看免费| 色婷婷综合中文久久一本| 视频一区视频二区中文| 欧美国产欧美亚州国产日韩mv天天看完整| 色综合久久综合网| 国产真实乱子伦精品视频| 亚洲黄色尤物视频| 久久青草国产手机看片福利盒子 | 成人免费高清在线| 婷婷夜色潮精品综合在线| 日本一区二区免费在线观看视频 | 精品国产乱码久久久久久蜜臀| 成人黄色片在线观看| 亚洲国产精品一区二区www在线| 2021国产精品久久精品| 欧美日韩一本到| 成人午夜私人影院| 日韩福利电影在线| 一区二区三区久久久| 久久免费电影网| 欧美在线观看18| 成人精品免费视频| 精品系列免费在线观看| 午夜精品久久久久久久蜜桃app| 国产精品美女久久久久久久网站| 欧美一区二区三区系列电影| 色成人在线视频| 成人高清在线视频| 精品午夜久久福利影院| 日本亚洲最大的色成网站www| 一区二区三区中文字幕电影 | 欧美精品一区二区三区蜜桃| 欧美精品丝袜中出| 91一区在线观看| 国产不卡视频一区二区三区| 久久99国产精品免费| 视频一区欧美精品| 亚洲黄一区二区三区| 亚洲日本va在线观看| 欧美激情资源网| 国产清纯美女被跳蛋高潮一区二区久久w | 极品少妇一区二区三区精品视频| 亚洲制服丝袜av| 尤物在线观看一区| 亚洲乱码中文字幕综合| 亚洲欧美在线视频观看| 国产精品久久久久7777按摩 | 精品国产一区二区三区忘忧草| 欧美老年两性高潮| 欧美一区二区三区播放老司机| 欧美亚洲动漫精品| 在线影视一区二区三区| 91丨九色丨国产丨porny| 成人国产亚洲欧美成人综合网 | 日本欧美大码aⅴ在线播放| 午夜亚洲福利老司机| 午夜精品久久久久久不卡8050| 亚洲123区在线观看| 午夜精品一区在线观看| 日韩高清在线不卡| 蜜桃久久av一区| 精久久久久久久久久久| 国产成+人+日韩+欧美+亚洲| 大尺度一区二区| 色婷婷久久99综合精品jk白丝 | 91精品国产免费久久综合| 欧美精选午夜久久久乱码6080| 91精品视频网| 久久综合久久鬼色中文字| 国产欧美精品一区二区色综合 | 免费高清在线一区| 国产裸体歌舞团一区二区| 成人丝袜视频网| 日本电影欧美片| 欧美一区二区三区男人的天堂| 欧美xxxx在线观看| 国产喷白浆一区二区三区| 亚洲区小说区图片区qvod| 亚洲福利视频一区| 国产一区二区三区黄视频 | 在线观看欧美精品| 欧美一区二区三区公司| 国产欧美一区二区精品仙草咪| 136国产福利精品导航| 亚洲一区二区黄色| 国内偷窥港台综合视频在线播放| 成人黄动漫网站免费app| 欧美日本一区二区三区| 国产亚洲一区二区在线观看| 亚洲精品成人天堂一二三| 免费的成人av| 91色.com| 久久伊人中文字幕| 亚洲国产精品久久不卡毛片| 国产精品一区专区| 欧美体内she精高潮| 久久久国产精华| 亚洲国产欧美在线| 成人av网站在线观看免费| 在线播放欧美女士性生活| 久久麻豆一区二区| 午夜久久久影院| av一区二区三区| 精品久久久久久久一区二区蜜臀| 亚洲欧洲性图库| 国产二区国产一区在线观看| 欧美日韩中文字幕一区二区| 国产精品久久久久久久久图文区| 久久99国产精品尤物| 欧美精品1区2区3区| 一区二区三区资源| 91免费观看视频在线| 欧美国产精品一区| 国产一区二区三区精品视频| 日韩亚洲欧美中文三级| 午夜视频一区二区| 欧美日韩免费观看一区二区三区| 国产精品国模大尺度视频| 国产成人一区在线| 欧美成人高清电影在线| 免费看日韩a级影片| 91精品国产手机| 婷婷综合另类小说色区| 欧美日韩美少妇| 日韩综合小视频| 欧美日韩国产成人在线免费| 一区二区三区不卡视频| 一本大道久久a久久精品综合| 国产精品色眯眯| 东方欧美亚洲色图在线| 久久色在线观看| 久久国产人妖系列| 欧美色综合天天久久综合精品| 亚洲精品va在线观看| 北岛玲一区二区三区四区 | 国产精品欧美一级免费| 精品中文av资源站在线观看| 91久久人澡人人添人人爽欧美| 国产欧美一区二区三区鸳鸯浴 | wwww国产精品欧美| 天堂蜜桃91精品| 91在线国产观看| 亚洲一区在线视频| 一本色道久久综合狠狠躁的推荐 | 日韩一区二区在线免费观看| 精品国产欧美一区二区| 国产精品一区二区三区乱码 | 欧美综合一区二区| 亚洲欧洲一区二区三区| 91色|porny| 亚洲午夜在线电影| 在线观看亚洲精品视频| 日本不卡不码高清免费观看| 日韩欧美一二三| 国产精品亚洲人在线观看| 国产视频一区不卡| 国产成人aaaa| 亚洲免费av在线| 色婷婷久久久亚洲一区二区三区| 亚洲欧洲国产日韩| 欧美日韩视频在线一区二区| 亚洲一二三区不卡| 91麻豆精品国产91久久久久久久久 | 九九九精品视频| 中文字幕制服丝袜成人av| 99精品视频一区二区三区| 亚洲欧洲美洲综合色网| 91精品蜜臀在线一区尤物| 日韩国产欧美在线播放|