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

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

?? osip.h

?? 基于GNU的VoIP SIP協議(RFC3261)實現代碼
?? 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一区二区三区免费野_久草精品视频
成年人国产精品| 成人av网站在线观看| 午夜欧美在线一二页| 亚洲欧美一区二区三区孕妇| 国产欧美日韩在线看| 国产午夜亚洲精品午夜鲁丝片| 日韩视频一区在线观看| 欧美一三区三区四区免费在线看 | 久久精品欧美日韩| 精品剧情在线观看| 精品国产三级电影在线观看| 在线综合视频播放| 日韩欧美二区三区| 国产片一区二区| 中文字幕在线免费不卡| 亚洲乱码精品一二三四区日韩在线| 亚洲视频在线一区二区| 亚洲精品免费在线播放| 日韩电影在线观看电影| 国产真实乱子伦精品视频| 国产精品主播直播| 一本色道久久综合亚洲aⅴ蜜桃| 91久久精品一区二区三| 欧美久久久久久久久中文字幕| 日韩一级黄色大片| 国产女人aaa级久久久级| 亚洲欧美日韩小说| 蜜臀久久99精品久久久久宅男| 韩国精品久久久| 色综合欧美在线| 日韩一区二区免费高清| 国产精品久久久久久久午夜片 | 91精品国产综合久久久蜜臀粉嫩| 日韩视频中午一区| 亚洲三级电影全部在线观看高清| 亚洲成人动漫精品| 成人永久免费视频| 91精品中文字幕一区二区三区| 久久久久亚洲蜜桃| 天天射综合影视| gogogo免费视频观看亚洲一| 91精选在线观看| 亚洲日本va午夜在线影院| 久久精品噜噜噜成人av农村| 91美女片黄在线观看| 欧美精品一区二区三区蜜桃 | 欧美电影在哪看比较好| 亚洲欧洲在线观看av| 久久精品国产99国产精品| 91丝袜美腿高跟国产极品老师| 日韩欧美在线综合网| 亚洲高清在线视频| caoporen国产精品视频| 久久丝袜美腿综合| 另类专区欧美蜜桃臀第一页| 欧美在线观看视频在线| 国产精品久久久久国产精品日日| 久久99热这里只有精品| 欧美精品日韩一区| 亚洲美腿欧美偷拍| 99久久精品国产观看| 日本一区二区免费在线| 久久er99精品| 精品国精品国产| 日韩av一区二区三区| 欧美日韩在线播放| 亚洲影视资源网| 日本精品视频一区二区| 亚洲男同性视频| 91福利国产成人精品照片| 国产精品成人网| 91天堂素人约啪| 一区二区三区四区高清精品免费观看| 成人免费黄色大片| 国产精品毛片大码女人| 波多野结衣亚洲| 国产精品免费av| 99视频精品在线| 一区二区三区欧美视频| 欧美唯美清纯偷拍| 亚洲午夜精品久久久久久久久| 欧美日韩免费观看一区三区| 亚洲成在人线在线播放| 91精品黄色片免费大全| 狠狠色丁香婷婷综合| 欧美激情一区二区三区四区| 丁香婷婷综合色啪| 亚洲视频综合在线| 欧美日韩高清不卡| 久久福利资源站| 中日韩免费视频中文字幕| 91蝌蚪porny成人天涯| 亚洲综合精品久久| 欧美大片在线观看一区二区| 国产高清不卡一区二区| 国产精品美女一区二区| 色丁香久综合在线久综合在线观看| 亚洲大尺度视频在线观看| 精品国产a毛片| 色综合天天综合狠狠| 视频一区二区中文字幕| 久久久久亚洲蜜桃| 日本高清不卡视频| 老司机精品视频一区二区三区| 欧美极品aⅴ影院| 欧美日韩精品一二三区| 国产精品一区二区久久精品爱涩| 一区在线播放视频| 538在线一区二区精品国产| 国产乱码精品一区二区三区av| 亚洲老妇xxxxxx| 精品sm捆绑视频| 色狠狠桃花综合| 国产一区二区三区在线观看免费 | 午夜精品久久久久久久99樱桃| 久久免费看少妇高潮| 欧美私人免费视频| 国产成人免费在线视频| 亚洲成人午夜电影| 中文字幕五月欧美| 日韩精品资源二区在线| 色婷婷综合久久久久中文| 国内精品视频666| 香蕉加勒比综合久久| 国产精品久久久久久亚洲毛片| 日韩欧美国产麻豆| 欧美视频日韩视频| 成人高清伦理免费影院在线观看| 日韩1区2区3区| 亚洲一区二区三区三| 日韩久久一区二区| 欧美激情一区二区三区蜜桃视频| 91超碰这里只有精品国产| 91丨porny丨户外露出| 国产成人无遮挡在线视频| 久久激情五月激情| 日韩精品一区第一页| 亚洲精品乱码久久久久| 国产精品久久久久影院亚瑟| 日韩一区国产二区欧美三区| 欧美日韩激情在线| 在线观看免费成人| 91免费国产视频网站| 成人av午夜影院| www.日韩大片| 成人高清伦理免费影院在线观看| 国产高清不卡一区| 国产精品系列在线播放| 国产在线一区二区| 九色综合国产一区二区三区| 日本视频免费一区| 美女久久久精品| 久久精品国产精品青草| 蜜臀av一区二区在线免费观看| 免费日韩伦理电影| 精品一区二区三区av| 国产毛片一区二区| 国产成人综合在线| 高潮精品一区videoshd| 波多野结衣一区二区三区| 99视频超级精品| 在线亚洲一区二区| 欧美色男人天堂| 欧美妇女性影城| 日韩欧美黄色影院| 国产欧美一区二区精品忘忧草| 国产欧美一区二区精品婷婷| 亚洲欧洲三级电影| 亚洲一区二区三区四区中文字幕 | 成人晚上爱看视频| 成人黄色av电影| 欧美私人免费视频| 26uuu亚洲婷婷狠狠天堂| 国产精品三级视频| 亚洲午夜在线电影| 久久精品国产色蜜蜜麻豆| 成人性生交大合| 欧美日韩中文一区| 久久奇米777| 亚洲乱码国产乱码精品精98午夜| 午夜欧美一区二区三区在线播放| 久久成人av少妇免费| eeuss鲁片一区二区三区在线看| 欧美丝袜自拍制服另类| 国产亚洲一区二区三区| 亚洲精品国产精品乱码不99| 日本中文字幕一区二区视频 | 亚洲精品久久久蜜桃| 六月丁香综合在线视频| 91蜜桃在线观看| 精品久久五月天| 亚洲精品日产精品乱码不卡| 激情av综合网| 91搞黄在线观看| 日本一区二区三区高清不卡| 日本不卡高清视频| 91视频com| 久久精品人人爽人人爽| 亚洲444eee在线观看| www.66久久|