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

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

?? osip.h

?? OSIP stack client source code
?? H
?? 第 1 頁 / 共 3 頁
字號:
/** * Set the socket for incoming message. * NOTE: THIS HAS NEVER TESTED! Please send feedback. * @param transaction The element to work on. * @param sock The socket for incoming message. */  int osip_transaction_set_in_socket (osip_transaction_t * transaction, int sock);/** * Set the socket for outgoing message. * NOTE: THIS HAS NEVER TESTED! Please send feedback. * @param transaction The element to work on. * @param sock The socket for outgoing message. */  int osip_transaction_set_out_socket (osip_transaction_t * transaction, int sock);/**  * Allocate an osip_t element. * @param osip the element to allocate. */  int osip_init (osip_t ** osip);/** * Free all resource in a osip_t element. * @param osip The element to release. */  void osip_release (osip_t * osip);/** * Set a pointer in a osip_t element. * This help to find your application layer in callbacks. * @param osip The element to work on. * @param pointer The element to set. */  void osip_set_application_context (osip_t * osip, void *pointer);/** * Get a pointer in a osip_t element. * This help to find your application layer in callbacks. * @param osip The element to work on. */  void *osip_get_application_context (osip_t * osip);/** * Remove a transaction from the osip stack. * @param osip The element to work on. * @param ict The transaction to add. */  int osip_remove_transaction (osip_t * osip, osip_transaction_t * ict);/** * Consume ALL pending osip_event_t previously added in the fifos of ict transactions. * @param osip The element to work on. */  int osip_ict_execute (osip_t * osip);/** * Consume ALL pending osip_event_t previously added in the fifos of ist transactions. * @param osip The element to work on. */  int osip_ist_execute (osip_t * osip);/** * Consume ALL pending osip_event_t previously added in the fifos of nict transactions. * @param osip The element to work on. */  int osip_nict_execute (osip_t * osip);/** * Consume ALL pending osip_event_t previously added in the fifos of nist transactions. * @param osip The element to work on. */  int osip_nist_execute (osip_t * osip);/** * Retreive the minimum timer value to be used by an application * so that the osip_timer_*_execute method don't have to be called * often. *  * @param osip The element to work on. * @param lower_tv The minimum timer when the application should wake up. */  void osip_timers_gettimeout (osip_t * osip, struct timeval *lower_tv);/** * Check if an ict transactions needs a timer event. * @param osip The element to work on. */  void osip_timers_ict_execute (osip_t * osip);/** * Check if an ist transactions needs a timer event. * @param osip The element to work on. */  void osip_timers_ist_execute (osip_t * osip);/** * Check if a nict transactions needs a timer event. * @param osip The element to work on. */  void osip_timers_nict_execute (osip_t * osip);/** * Check if a nist transactions needs a timer event. * @param osip The element to work on. */  void osip_timers_nist_execute (osip_t * osip);/* Take care of mutlithreading issuewhile using this method *//** * Search for a transaction that match this event (MUST be a MESSAGE event). * @param transactions The list of transactions to work on. * @param evt The element representing the SIP MESSAGE. */  osip_transaction_t *osip_transaction_find (osip_list_t * transactions,                                             osip_event_t * evt);#ifndef DOXYGEN/** * Some race conditions can happen in multi threaded applications. * Use this method carefully. * <BR>Search for a transaction that match this event (MUST be a MESSAGE event). * @param osip The element to work on. * @param evt The element representing the SIP MESSAGE. */#ifndef OSIP_MT  osip_transaction_t *osip_find_transaction (osip_t * osip, osip_event_t * evt);#endif  osip_transaction_t *__osip_find_transaction (osip_t * osip,                                               osip_event_t * evt, int consume);#endif/** * Search for a transaction that match this event (MUST be a MESSAGE event) * and add this event if a transaction is found.. * @param osip The element to work on. * @param evt The element representing the SIP MESSAGE. */  int osip_find_transaction_and_add_event (osip_t * osip, osip_event_t * evt);/** * Create a transaction for this event (MUST be a SIP REQUEST event). * @param osip The element to work on. * @param evt The element representing the new SIP REQUEST. */  osip_transaction_t *osip_create_transaction (osip_t * osip, osip_event_t * evt);/** * Create a sipevent from a SIP message string. * @param buf The SIP message as a string. * @param length The length of the buffer to parse. */  osip_event_t *osip_parse (const char *buf, size_t length);/** * Send required retransmissions * @param osip The element to work on. */  void osip_retransmissions_execute (osip_t * osip);/** * Start out of fsm 200 Ok retransmissions. This is usefull for user-agents. * @param osip The osip_t structure. * @param dialog The dialog the 200 Ok is part of. * @param msg200ok The 200 ok response. * @param sock The socket to be used to send the message. (optional). */  void osip_start_200ok_retransmissions (osip_t * osip,                                         struct osip_dialog *dialog,                                         osip_message_t * msg200ok, int sock);/** * Start out of fsm ACK retransmissions. This is usefull for user-agents. * @param osip The osip_t structure. * @param dialog The dialog the ACK is part of. * @param ack The ACK that has just been sent in response to a 200 Ok. * @param dest The destination host. * @param port The destination port. * @param sock The socket to be used to send the message. (optional). */  void osip_start_ack_retransmissions (osip_t * osip,                                       struct osip_dialog *dialog,                                       osip_message_t * ack, char *dest,                                       int port, int sock);/** * Stop the out of fsm 200 Ok retransmissions matching an incoming ACK. * @param osip The osip_t structure. * @param ack  The ack that has just been received. */  struct osip_dialog *osip_stop_200ok_retransmissions (osip_t * osip,                                                       osip_message_t * ack);/** * Stop out of fsm retransmissions (ACK or 200 Ok) associated to a given dialog. * This function must be called before freeing a dialog if out of fsm retransmissions * have been scheduled. * @param osip The osip_t structure * @param dialog The dialog. */  void osip_stop_retransmissions_from_dialog (osip_t * osip,                                              struct osip_dialog *dialog);/** * Allocate a sipevent (we know this message is an OUTGOING SIP message). * @param sip The SIP message we want to send. */  osip_event_t *osip_new_outgoing_sipmessage (osip_message_t * sip);/** * Free all ressource in a sipevent. * @param event The event to free. */  void osip_event_free (osip_event_t * event);/** * Register the callback used to send SIP message. * @param cf The osip element attached to the transaction. * @param cb The method we want to register. */  void osip_set_cb_send_message (osip_t * cf,                                 int (*cb) (osip_transaction_t *,                                            osip_message_t *, char *, int, int));/* FOR INCOMING TRANSACTION *//** * Check if the sipevent is of type RCV_REQINVITE. * @param event the event to check. */#define EVT_IS_RCV_INVITE(event)       (event->type==RCV_REQINVITE)/** * Check if the sipevent is of type RCV_REQACK. * @param event the event to check. */#define EVT_IS_RCV_ACK(event)          (event->type==RCV_REQACK)/** * Check if the sipevent is of type RCV_REQUEST. * @param event the event to check. */#define EVT_IS_RCV_REQUEST(event)      (event->type==RCV_REQUEST)/** * Check if the sipevent is of type RCV_STATUS_1XX. * @param event the event to check. */#define EVT_IS_RCV_STATUS_1XX(event)   (event->type==RCV_STATUS_1XX)/** * Check if the sipevent is of type RCV_STATUS_2XX. * @param event the event to check. */#define EVT_IS_RCV_STATUS_2XX(event)   (event->type==RCV_STATUS_2XX)/** * Check if the sipevent is of type RCV_STATUS_3456XX. * @param event the event to check. */#define EVT_IS_RCV_STATUS_3456XX(event)   (event->type==RCV_STATUS_3456XX)/* FOR OUTGOING TRANSACTION *//** * Check if the sipevent is of type SND_REQINVITE. * @param event the event to check. */#define EVT_IS_SND_INVITE(event)       (event->type==SND_REQINVITE)/** * Check if the sipevent is of type SND_REQACK. * @param event the event to check. */#define EVT_IS_SND_ACK(event)          (event->type==SND_REQACK)/** * Check if the sipevent is of type SND_REQUEST. * @param event the event to check. */#define EVT_IS_SND_REQUEST(event)      (event->type==SND_REQUEST)/** * Check if the sipevent is of type SND_STATUS_1XX. * @param event the event to check. */#define EVT_IS_SND_STATUS_1XX(event)   (event->type==SND_STATUS_1XX)/** * Check if the sipevent is of type SND_STATUS_2XX. * @param event the event to check. */#define EVT_IS_SND_STATUS_2XX(event)   (event->type==SND_STATUS_2XX)/** * Check if the sipevent is of type SND_STATUS_3456XX. * @param event the event to check. */#define EVT_IS_SND_STATUS_3456XX(event)   (event->type==SND_STATUS_3456XX)/** * Check if the sipevent is of an incoming SIP MESSAGE. * @param event the event to check. */#define EVT_IS_INCOMINGMSG(event)      (event->type>=RCV_REQINVITE \                	               &&event->type<=RCV_STATUS_3456XX)/** * Check if the sipevent is of an incoming SIP REQUEST. * @param event the event to check. */#define EVT_IS_INCOMINGREQ(event)      (EVT_IS_RCV_INVITE(event) \                                       ||EVT_IS_RCV_ACK(event) \                                       ||EVT_IS_RCV_REQUEST(event))/** * Check if the sipevent is of an incoming SIP RESPONSE. * @param event the event to check. */#define EVT_IS_INCOMINGRESP(event)     (EVT_IS_RCV_STATUS_1XX(event) \                                       ||EVT_IS_RCV_STATUS_2XX(event) \				       ||EVT_IS_RCV_STATUS_3456XX(event))/** * Check if the sipevent is of an outgoing SIP MESSAGE. * @param event the event to check. */#define EVT_IS_OUTGOINGMSG(event)      (event->type>=SND_REQINVITE \                	               &&event->type<=SND_STATUS_3456XX)/** * Check if the sipevent is of an outgoing SIP REQUEST. * @param event the event to check. */#define EVT_IS_OUTGOINGREQ(event)      (EVT_IS_SND_INVITE(event) \                                       ||EVT_IS_SND_ACK(event) \                                       ||EVT_IS_SND_REQUEST(event))/** * Check if the sipevent is of an outgoing SIP RESPONSE. * @param event the event to check. */#define EVT_IS_OUTGOINGRESP(event)     (EVT_IS_SND_STATUS_1XX(event) \                                       ||EVT_IS_SND_STATUS_2XX(event) \				       ||EVT_IS_SND_STATUS_3456XX(event))/** * Check if the sipevent is a SIP MESSAGE. * @param event the event to check. */#define EVT_IS_MSG(event)              (event->type>=RCV_REQINVITE \                	               &&event->type<=SND_STATUS_3456XX)/** * Check if the sipevent is of type KILL_TRANSACTION. * NOTE: THIS IS AN INTERNAL METHOD ONLY * @param event the event to check. */#define EVT_IS_KILL_TRANSACTION(event) (event->type==KILL_TRANSACTION)#ifdef __cplusplus}#endif/** @} */#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线视频欧美精品| 国产日韩欧美一区二区三区综合| 日韩三级免费观看| 1024成人网| 国产高清在线精品| 在线观看91精品国产麻豆| 亚洲色图另类专区| 东方欧美亚洲色图在线| 日韩色在线观看| 偷拍日韩校园综合在线| 91免费国产在线观看| 亚洲国产成人自拍| 精品无人码麻豆乱码1区2区| 欧美日韩色一区| 伊人一区二区三区| 99精品久久只有精品| 亚洲国产成人午夜在线一区 | 樱花草国产18久久久久| 国产盗摄一区二区| 久久综合99re88久久爱| 美日韩一级片在线观看| 日韩一区二区三区高清免费看看| 一区二区三区在线不卡| 91婷婷韩国欧美一区二区| 国产精品高清亚洲| 成人短视频下载| 中文字幕永久在线不卡| jvid福利写真一区二区三区| 欧美国产精品一区| 不卡av在线免费观看| 国产精品入口麻豆原神| 成人免费av网站| 国产精品久久精品日日| 99国产精品久久久久久久久久久| 一区在线中文字幕| 在线观看中文字幕不卡| 香蕉成人啪国产精品视频综合网 | 亚洲最大的成人av| 色婷婷亚洲精品| 亚洲高清视频在线| 欧美午夜理伦三级在线观看| 午夜av一区二区| 精品噜噜噜噜久久久久久久久试看 | 国产三级精品视频| 成人影视亚洲图片在线| 樱桃视频在线观看一区| 91精品黄色片免费大全| 国产自产视频一区二区三区| 欧美激情艳妇裸体舞| 99视频一区二区| 午夜久久久影院| 精品少妇一区二区三区在线视频| 风间由美一区二区三区在线观看| 国产亚洲精品中文字幕| 91免费版在线看| 日韩一区欧美二区| 久久久久国产成人精品亚洲午夜| 99国产精品久久久| 日韩福利电影在线| 国产亚洲成年网址在线观看| 色综合久久88色综合天天6| 日韩高清欧美激情| 国产精品久久夜| 欧美精品第1页| 高清久久久久久| 亚洲国产日韩a在线播放性色| 欧美精品一区二区高清在线观看 | 亚洲三级理论片| 欧美精品在欧美一区二区少妇| 精品亚洲aⅴ乱码一区二区三区| 国产精品久久久一本精品| 欧美色网一区二区| 粉嫩13p一区二区三区| 婷婷六月综合网| 国产精品卡一卡二| 日韩免费观看高清完整版| 成人aaaa免费全部观看| 麻豆国产精品一区二区三区| 亚洲欧洲三级电影| 久久综合久久99| 欧美日韩五月天| www.日韩大片| 国产综合久久久久久鬼色| 亚洲第一福利视频在线| 中文字幕一区二区三区精华液 | 六月丁香综合在线视频| 国产精品66部| 久久天堂av综合合色蜜桃网| 国产精品 日产精品 欧美精品| 国产婷婷一区二区| 欧美日韩在线精品一区二区三区激情| 蜜乳av一区二区| 亚洲乱码精品一二三四区日韩在线| 99久久国产免费看| 国产一区二区在线看| 蜜桃一区二区三区在线观看| 亚洲精品一区二区精华| 免费日韩伦理电影| 一区二区在线观看视频在线观看| 久久久亚洲欧洲日产国码αv| 欧美日韩免费一区二区三区| 99久久精品国产观看| 亚洲乱码国产乱码精品精98午夜| 天天色综合成人网| 亚洲午夜久久久| 亚洲欧美韩国综合色| 国产精品久久综合| 欧美激情在线看| 国产亚洲人成网站| 久久九九全国免费| 26uuu精品一区二区在线观看| 26uuu成人网一区二区三区| 日韩欧美www| 日韩视频在线你懂得| 日韩一区二区三免费高清| 91精品国产综合久久福利软件 | 欧美日韩极品在线观看一区| 色综合久久综合网97色综合| 99精品偷自拍| 日本电影欧美片| 91福利社在线观看| 在线中文字幕一区二区| 欧美日韩精品一区二区三区蜜桃 | 久久国产精品第一页| 香蕉影视欧美成人| 午夜精品久久久久久久久| 亚洲成av人片在www色猫咪| 日韩黄色一级片| 久久精品免费看| 国产乱人伦偷精品视频免下载 | 欧美亚洲动漫制服丝袜| 69堂国产成人免费视频| 精品少妇一区二区三区在线播放| 精品久久久久香蕉网| 国产精品久久久久影院亚瑟| 亚洲黄色在线视频| 免费久久99精品国产| 国产精品99久久久| 色婷婷亚洲精品| 欧美大片在线观看一区| 国产欧美日韩视频在线观看| 亚洲精品日产精品乱码不卡| 五月激情综合色| 国产一区二区三区电影在线观看| gogo大胆日本视频一区| 欧美日韩精品二区第二页| 久久久国产一区二区三区四区小说| 国产精品久久久久久久久免费相片 | 亚洲丝袜美腿综合| 亚洲一二三区不卡| 国产精品456露脸| 欧美日韩中文一区| 国产亲近乱来精品视频| 亚洲国产一区二区视频| 国产综合色产在线精品| 色偷偷88欧美精品久久久| 日韩小视频在线观看专区| 亚洲激情成人在线| 国产一区二区h| 欧美私模裸体表演在线观看| 久久香蕉国产线看观看99| 午夜精品视频一区| 不卡视频在线看| 精品国产不卡一区二区三区| 亚洲午夜一区二区| 成人自拍视频在线观看| 欧美v日韩v国产v| 亚洲综合999| 99久久婷婷国产精品综合| 精品福利一二区| 视频一区在线视频| 在线观看一区二区视频| 国产午夜三级一区二区三| 日韩电影在线免费看| 91麻豆精品一区二区三区| 亚洲精品一区二区三区在线观看 | 欧美精品日韩综合在线| 日韩理论片一区二区| 国产在线看一区| 欧美电影影音先锋| 亚洲国产精品精华液网站| 99久久国产综合精品女不卡| 久久久久国产免费免费| 久久激情五月婷婷| 欧美一区二区三区播放老司机 | 亚洲欧美激情小说另类| 成人av在线资源| 国产亚洲欧美色| 国产精品亚洲第一| 久久久www免费人成精品| 狠狠色丁香久久婷婷综| 精品久久久久久综合日本欧美| 五月天一区二区三区| 欧美日韩一区不卡| 午夜视频在线观看一区二区 | eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 久久99精品国产麻豆婷婷洗澡| 欧美一二三区在线| 日本视频在线一区| 日韩你懂的在线播放|