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

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

?? osip_message.h

?? 基于GNU的VoIP SIP協(xié)議(RFC3261)實現(xiàn)代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*  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_MESSAGE_H_#define _OSIP_MESSAGE_H_#include <osipparser2/osip_const.h>#include <osipparser2/osip_headers.h>#include <osipparser2/osip_body.h>/** * @file osip_message.h * @brief oSIP SIP Message Accessor Routines * * This is the SIP accessor and parser related API. *//** * @defgroup oSIP_MESSAGE oSIP message API * @ingroup osip2_parser * @{ */#ifdef __cplusplusextern "C"{#endif/** * Structure for SIP Message (REQUEST and RESPONSE). * @var osip_message_t */  typedef struct osip_message osip_message_t;/** * Structure for SIP Message (REQUEST and RESPONSE). * @struct osip_message */  struct osip_message  {    char *sip_version;                /**< SIP version (SIP request only) */    osip_uri_t *req_uri;              /**< Request-Uri (SIP request only) */    char *sip_method;                 /**< METHOD (SIP request only) */    int status_code;                  /**< Status Code (SIP answer only) */    char *reason_phrase;              /**< Reason Phrase (SIP answer only) */#ifndef MINISIZE    osip_list_t accepts;             /**< Accept headers */    osip_list_t accept_encodings;    /**< Accept-Encoding headers */    osip_list_t accept_languages;    /**< Accept-Language headers */    osip_list_t alert_infos;         /**< Alert-Info headers */    osip_list_t allows;              /**< Allows headers */    osip_list_t authentication_infos;/**< authentication_info headers */#endif    osip_list_t authorizations;      /**< Authorizations headers */    osip_call_id_t *call_id;          /**< Call-ID header */#ifndef MINISIZE    osip_list_t call_infos;          /**< Call-Infos header */#endif    osip_list_t contacts;            /**< Contacts headers */#ifndef MINISIZE    osip_list_t content_encodings;   /**< Content-Encodings headers */#endif    osip_content_length_t *content_length;   /**< Content-Length header */    osip_content_type_t *content_type;       /**< Content-Type header */    osip_cseq_t *cseq;                /**< CSeq header */#ifndef MINISIZE    osip_list_t error_infos;         /**< Error-Info headers */#endif    osip_from_t *from;                /**< From header */    osip_mime_version_t *mime_version;/**< Mime-Version header */    osip_list_t proxy_authenticates; /**< Proxy-Authenticate headers */#ifndef MINISIZE    osip_list_t proxy_authentication_infos; /**< P-Authentication-Info headers */#endif    osip_list_t proxy_authorizations;/**< Proxy-authorization headers */    osip_list_t record_routes;       /**< Record-Route headers */    osip_list_t routes;              /**< Route headers */    osip_to_t *to;                    /**< To header */    osip_list_t vias;                /**< Vias headers */    osip_list_t www_authenticates;   /**< WWW-Authenticate headers */    osip_list_t headers;             /**< Other headers */    osip_list_t bodies;              /**< List of attachements */    /*       1: structure and buffer "message" are identical.       2: buffer "message" is not up to date with the structure info (call osip_message_to_str to update it).     */    int message_property;             /**@internal */    char *message;                    /**@internal */    size_t message_length;            /**@internal */    void *application_data;           /**can be used by upper layer*/  };#ifndef SIP_MESSAGE_MAX_LENGTH/** * You can re-define your own maximum length for SIP message. */#define SIP_MESSAGE_MAX_LENGTH 4000#endif#ifndef BODY_MESSAGE_MAX_SIZE/** * You can define the maximum length for a body inside a SIP message. */#define BODY_MESSAGE_MAX_SIZE  4000#endif/** * Allocate a osip_message_t element. * @param sip The element to allocate. */  int osip_message_init (osip_message_t ** sip);/** * Free all resource in a osip_message_t element. * @param sip The element to free. */  void osip_message_free (osip_message_t * sip);/** * Parse a osip_message_t element. * @param sip The resulting element. * @param buf The buffer to parse. * @param length The length of the buffer to parse. */  int osip_message_parse (osip_message_t * sip, const char *buf, size_t length);/** * Parse a message/sipfrag part and store it in an osip_message_t element. * @param sip The resulting element. * @param buf The buffer to parse. * @param length The length of the buffer to parse. */  int osip_message_parse_sipfrag (osip_message_t * sip, const char *buf,                                  size_t length);/** * Get a string representation of a osip_message_t element. * @param sip The element to work on. * @param dest new allocated buffer returned. * @param message_length The length of the returned buffer. */  int osip_message_to_str (osip_message_t * sip, char **dest,                           size_t * message_length);/** * Get a string representation of a message/sipfrag part * stored in an osip_message_t element. * @param sip The element to work on. * @param dest new allocated buffer returned. * @param message_length The length of the returned buffer. */  int osip_message_to_str_sipfrag (osip_message_t * sip, char **dest,                                   size_t * message_length);/** * Clone a osip_message_t element. * @param sip The element to clone. * @param dest The new allocated element cloned. */  int osip_message_clone (const osip_message_t * sip, osip_message_t ** dest);/** * Set the reason phrase. This is entirely free in SIP. * @param sip The element to work on. * @param reason The reason phrase. */  void osip_message_set_reason_phrase (osip_message_t * sip, char *reason);/** * Get the reason phrase. This is entirely free in SIP. * @param sip The element to work on. */  char *osip_message_get_reason_phrase (const osip_message_t * sip);/** * Set the status code. This is entirely free in SIP. * @param sip The element to work on. * @param statuscode The status code. */  void osip_message_set_status_code (osip_message_t * sip, int statuscode);/** * Get the status code. * @param sip The element to work on. */  int osip_message_get_status_code (const osip_message_t * sip);/** * Set the method. You can set any string here. * @param sip The element to work on. * @param method The method name. */  void osip_message_set_method (osip_message_t * sip, char *method);/** * Get the method name. * @param sip The element to work on. */  char *osip_message_get_method (const osip_message_t * sip);/** * Set the SIP version used. (default is "SIP/2.0") * @param sip The element to work on. * @param version The version of SIP. */  void osip_message_set_version (osip_message_t * sip, char *version);/** * Get the SIP version. * @param sip The element to work on. */  char *osip_message_get_version (const osip_message_t * sip);/** * Set the Request-URI. * @param sip The element to work on. * @param uri The uri to set. */  void osip_message_set_uri (osip_message_t * sip, osip_uri_t * uri);/** * Get the Request-URI. * @param sip The element to work on. */  osip_uri_t *osip_message_get_uri (const osip_message_t * sip);/* *  These are helpfull MACROs to test messages type. *//** * Test if the message is a SIP RESPONSE * @param msg the SIP message.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩av电影免费观看高清完整版在线观看| 精品免费日韩av| 最新国产精品久久精品| av影院午夜一区| 亚洲精品中文在线| 91精品婷婷国产综合久久竹菊| 日韩电影在线观看网站| 精品91自产拍在线观看一区| 福利一区二区在线| 亚洲精品乱码久久久久久久久| 欧美日韩久久久久久| 毛片av一区二区| 中文字幕的久久| 欧美日韩一级片在线观看| 麻豆国产精品官网| 中文字幕第一页久久| 色妞www精品视频| 日本不卡免费在线视频| 欧美国产综合色视频| 91黄色在线观看| 国产在线观看一区二区| 亚洲精品国产成人久久av盗摄| 91精品麻豆日日躁夜夜躁| 国产精品一区二区在线看| 亚洲人成7777| 日韩视频在线一区二区| 成人国产精品免费观看视频| 亚洲成av人**亚洲成av**| 久久一留热品黄| 欧美视频三区在线播放| 国产麻豆精品在线观看| 亚洲精品大片www| 久久精品亚洲乱码伦伦中文| 日本国产一区二区| 国产伦精品一区二区三区免费 | 夜夜揉揉日日人人青青一国产精品| 欧美一区二区三区四区久久| av电影天堂一区二区在线| 日本伊人色综合网| 亚洲免费观看在线视频| 久久免费视频色| 欧美一区二区三区免费视频| 99久久精品久久久久久清纯| 激情综合色综合久久| 一区二区三区.www| 国产精品嫩草99a| 精品国产人成亚洲区| 欧美天堂亚洲电影院在线播放| 成人精品亚洲人成在线| 久久精品久久精品| 三级欧美韩日大片在线看| 亚洲日本护士毛茸茸| 中文文精品字幕一区二区| 精品人伦一区二区色婷婷| 欧美日韩成人综合在线一区二区| 99re热这里只有精品免费视频 | 一区在线观看视频| 国产午夜亚洲精品午夜鲁丝片| 91精品国产麻豆| 精品视频一区二区不卡| 91福利视频久久久久| 99久久精品国产精品久久| 成人中文字幕合集| 国产黄色91视频| 国内精品写真在线观看| 精品一区二区三区日韩| 强制捆绑调教一区二区| 日韩中文字幕亚洲一区二区va在线| 依依成人精品视频| 亚洲最新视频在线播放| 亚洲欧美韩国综合色| 亚洲丝袜自拍清纯另类| 中文字幕精品在线不卡| 国产精品久久久久精k8| 中文字幕综合网| 亚洲精品欧美激情| 亚洲高清在线精品| 日韩av电影免费观看高清完整版 | 亚洲大片精品永久免费| 亚洲国产精品麻豆| 丝袜国产日韩另类美女| 日本人妖一区二区| 免费欧美高清视频| 国产麻豆成人传媒免费观看| 国产精品一二三四五| 国产99久久精品| 色综合天天综合在线视频| 一本色道**综合亚洲精品蜜桃冫| 在线免费观看日本欧美| 欧美日韩卡一卡二| 精品国产人成亚洲区| 国产精品素人视频| 亚洲欧洲制服丝袜| 午夜久久福利影院| 国产精品自在在线| 一本到不卡免费一区二区| 欧美日韩一区二区电影| 日韩欧美色综合| 国产精品亲子乱子伦xxxx裸| 伊人色综合久久天天人手人婷| 天堂蜜桃91精品| 国产精品77777| 欧美在线播放高清精品| 日韩你懂的在线播放| 国产日韩高清在线| 香蕉乱码成人久久天堂爱免费| 老司机午夜精品| 99久久婷婷国产综合精品| 91精品欧美综合在线观看最新 | 欧美日本一区二区在线观看| 日韩视频一区二区三区 | 午夜影院久久久| 国产麻豆9l精品三级站| 欧美亚洲综合网| 26uuu成人网一区二区三区| 亚洲精品视频免费看| 美女网站色91| 在线视频你懂得一区| 国产亚洲精品7777| 日日夜夜精品视频天天综合网| 成人做爰69片免费看网站| 制服丝袜激情欧洲亚洲| 自拍偷拍国产亚洲| 国产麻豆午夜三级精品| 亚洲欧美一区二区三区国产精品| 国产一区二区在线观看视频| 亚洲成人www| 国产精品18久久久| 8x8x8国产精品| 中文字幕精品一区二区精品绿巨人 | 国产高清成人在线| 欧美色精品在线视频| 国产精品欧美久久久久无广告 | 欧美日韩另类国产亚洲欧美一级| 久久精品夜色噜噜亚洲a∨| 午夜精品在线看| 一本大道久久a久久精品综合| 26uuu久久综合| 日韩福利视频导航| 欧美色视频在线| 亚洲人成网站在线| 国产91丝袜在线观看| 日韩欧美一区二区三区在线| 亚洲综合色网站| 91片在线免费观看| 国产精品久久99| 成人激情免费视频| 国产欧美日韩麻豆91| 国产一区二区精品久久99| 欧美不卡一区二区| 日本欧美一区二区三区| 欧美体内she精视频| 亚洲精品免费电影| 91在线观看下载| 国产精品电影院| av综合在线播放| 国产精品色哟哟网站| 国产经典欧美精品| 国产欧美日韩一区二区三区在线观看| 另类欧美日韩国产在线| 日韩精品一区二区三区视频在线观看| 亚洲成av人在线观看| 欧美日韩中文字幕精品| 亚洲成人一二三| 欧美日韩免费视频| 午夜影院久久久| 欧美一区二区国产| 久久精品国产久精国产爱| 精品欧美乱码久久久久久1区2区| 久久精品国产999大香线蕉| 欧美www视频| 国产一区二区三区美女| 国产欧美精品在线观看| 99久久精品情趣| 亚洲国产视频在线| 日韩一级视频免费观看在线| 久久99久久久久久久久久久| 欧美精品一区二区三区视频| 国产精品亚洲人在线观看| 中文字幕va一区二区三区| 91蝌蚪porny成人天涯| 亚洲第一激情av| 精品福利一区二区三区| 国产毛片一区二区| 亚洲欧美一区二区三区久本道91| 欧美三区在线观看| 激情五月激情综合网| 国产日产精品一区| 在线视频观看一区| 久久精品国产精品亚洲精品| 欧美国产一区二区| 色婷婷精品久久二区二区蜜臂av | 亚洲欧美电影院| 69av一区二区三区| 国产精品自拍av| 亚洲一区中文日韩| 精品成人一区二区三区| 色综合色狠狠综合色| 日本vs亚洲vs韩国一区三区 | 国产资源在线一区|