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

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

?? osip.h

?? OSIP stack client source code
?? 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. * @enum 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);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av网站免费线看精品| 日韩av一区二| 日韩三级视频在线看| 91在线免费看| 久久国产精品免费| 亚洲午夜久久久久| 中文字幕欧美激情| 精品久久免费看| 欧美日韩国产成人在线免费| 高清不卡一二三区| 久久国产精品露脸对白| 一区二区三区鲁丝不卡| 欧美激情一区二区三区不卡| 91精品黄色片免费大全| 欧美日韩综合在线| 欧美日韩一级二级| 欧美日韩国产色站一区二区三区| 国产69精品久久久久毛片| 国产精品1区2区3区在线观看| 激情综合色播五月| 国内精品伊人久久久久av影院| 老司机精品视频导航| 国产成人鲁色资源国产91色综| 国产一区二区免费视频| 蜜臀av国产精品久久久久| 国产一区二区三区av电影| 国产999精品久久久久久| www.av亚洲| 欧美日韩国产a| 久久美女艺术照精彩视频福利播放| 国产女人水真多18毛片18精品视频| 1024精品合集| 蜜臀av性久久久久av蜜臀妖精| 国产传媒一区在线| 欧美日韩综合色| 中文子幕无线码一区tr| 亚洲成人中文在线| 成人免费毛片a| 91.麻豆视频| 亚洲乱码国产乱码精品精小说 | 美女在线一区二区| 成人av在线影院| 欧美va亚洲va| 亚洲精品国产无套在线观| 日本一不卡视频| 97精品久久久午夜一区二区三区| 精品少妇一区二区三区| 亚洲乱码精品一二三四区日韩在线| 老司机精品视频在线| 色综合中文字幕国产 | 欧洲精品一区二区| 久久精品欧美日韩| 久久99精品久久久| 欧美性生活大片视频| 亚洲四区在线观看| 国产乱码一区二区三区| 日韩一区二区中文字幕| 视频一区欧美精品| 欧美精品一级二级| 亚洲国产日韩在线一区模特| 91视频91自| 亚洲人午夜精品天堂一二香蕉| 国产九色精品成人porny| 精品美女一区二区| 久久狠狠亚洲综合| 欧美一级欧美一级在线播放| 亚洲bt欧美bt精品777| 欧美精品丝袜久久久中文字幕| 亚洲国产日产av| 欧美精品tushy高清| 三级久久三级久久| 在线综合+亚洲+欧美中文字幕| 日韩在线观看一区二区| 欧美午夜精品免费| 成人免费在线播放视频| 91精品国产乱| 日本强好片久久久久久aaa| 欧美一级国产精品| 成人一级黄色片| 亚洲久草在线视频| 91精品国产综合久久精品图片| 天堂精品中文字幕在线| 91精品国产乱| 韩国精品主播一区二区在线观看 | 欧美精品电影在线播放| 秋霞电影一区二区| 国产视频911| 欧美日韩午夜在线视频| 美女性感视频久久| 中文字幕一区三区| 欧美电影在线免费观看| 久草这里只有精品视频| 亚洲色图一区二区三区| 精品成a人在线观看| 在线观看视频一区二区| 蜜桃久久精品一区二区| 国产精品妹子av| 欧美一卡在线观看| 国产成人免费视频网站高清观看视频| 亚洲人妖av一区二区| 日韩精品专区在线| 色综合久久久久久久久| 国产成人av在线影院| 九色综合狠狠综合久久| 久久99国产精品成人| 一区二区国产盗摄色噜噜| 2017欧美狠狠色| 欧美大片一区二区| 6080yy午夜一二三区久久| 91九色02白丝porn| 97久久精品人人澡人人爽| 欧美自拍偷拍一区| 91色九色蝌蚪| 粉嫩绯色av一区二区在线观看| 免费成人结看片| 日日欢夜夜爽一区| 午夜视频久久久久久| 亚洲18色成人| 五月天中文字幕一区二区| 亚洲国产精品久久久久秋霞影院| 亚洲色图清纯唯美| 亚洲国产va精品久久久不卡综合| 一区二区三区四区在线免费观看 | 从欧美一区二区三区| 国产精品中文字幕欧美| 欧美精品一区二区三| 欧美日韩高清影院| 欧美一级夜夜爽| 日韩欧美成人一区| 国产精品伦一区二区三级视频| 国产日韩视频一区二区三区| 久久这里只有精品首页| 亚洲视频 欧洲视频| 一区二区高清免费观看影视大全| 亚洲国产成人av| 青青草91视频| 国产成人午夜精品5599| 欧美亚洲综合另类| 制服丝袜亚洲精品中文字幕| 日韩色在线观看| 精品少妇一区二区三区在线播放| 中文字幕一区三区| 日韩电影免费一区| 91女厕偷拍女厕偷拍高清| 欧美性色aⅴ视频一区日韩精品| 日韩欧美国产系列| 亚洲精品午夜久久久| 日本网站在线观看一区二区三区| 成人一区二区三区| 久久综合九色欧美综合狠狠| 伊人婷婷欧美激情| 国产精品一区二区x88av| 欧美亚洲精品一区| 欧美激情一区三区| 极品少妇xxxx偷拍精品少妇| 欧美在线视频你懂得| 中文字幕精品综合| 老司机精品视频线观看86| 欧洲中文字幕精品| **欧美大码日韩| 国内精品久久久久影院色| 欧美色国产精品| 亚洲综合免费观看高清在线观看| av福利精品导航| 久久久99久久精品欧美| 久久疯狂做爰流白浆xx| 日韩欧美亚洲国产精品字幕久久久| 夜夜亚洲天天久久| 色综合久久中文综合久久牛| 亚洲欧美综合另类在线卡通| 国产高清在线精品| 中文字幕av一区 二区| 成人精品在线视频观看| 国产欧美一区二区在线| 波多野结衣精品在线| 国产精品成人在线观看| 99精品一区二区三区| 亚洲精品免费播放| 欧美系列一区二区| 丝袜国产日韩另类美女| 日韩一区二区免费在线电影| 美女一区二区视频| 欧美激情一区二区三区在线| 国产91清纯白嫩初高中在线观看| 国产午夜精品美女毛片视频| 99久久精品久久久久久清纯| 综合久久给合久久狠狠狠97色| 欧美日韩一区二区三区不卡| 激情文学综合网| 亚洲婷婷综合久久一本伊一区| 欧美日韩免费不卡视频一区二区三区 | 久久久亚洲欧洲日产国码αv| 国产成人免费视频精品含羞草妖精| 亚洲免费在线观看视频| 在线观看成人免费视频| 国产精品66部| 日韩二区三区在线观看| 国产亚洲成aⅴ人片在线观看| 欧美日韩免费高清一区色橹橹| 国产精品一区二区男女羞羞无遮挡|