Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
master
Branches (24)
Tags (112)
master
3.1
3.2
2.4
3.0
feature/tls_postgres
dialog_custom_ping_interval
uuid_doc_fix
feature/rtp_relay
feature/sql-cacher-iterators
coverity_scan
feature/pi
2.3
2.2
feature/new-globals-syntax
1.11
2.1
1.9
1.10
1.8
3.1.7
3.2.4
3.1.6
3.2.3
3.1.5
3.2.2
3.1.4
3.2.1
3.2.0
3.2.0-rc1
3.1.3
2.4.11
3.2.0-beta
2.4.10
3.1.2
3.0.5
2.4.9
3.0.4
3.1.1
3.1.0
master
Branches (24)
Tags (112)
master
3.1
3.2
2.4
3.0
feature/tls_postgres
dialog_custom_ping_interval
uuid_doc_fix
feature/rtp_relay
feature/sql-cacher-iterators
coverity_scan
feature/pi
2.3
2.2
feature/new-globals-syntax
1.11
2.1
1.9
1.10
1.8
3.1.7
3.2.4
3.1.6
3.2.3
3.1.5
3.2.2
3.1.4
3.2.1
3.2.0
3.2.0-rc1
3.1.3
2.4.11
3.2.0-beta
2.4.10
3.1.2
3.0.5
2.4.9
3.0.4
3.1.1
3.1.0
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
master
Branches (24)
Tags (112)
master
3.1
3.2
2.4
3.0
feature/tls_postgres
dialog_custom_ping_interval
uuid_doc_fix
feature/rtp_relay
feature/sql-cacher-iterators
coverity_scan
feature/pi
2.3
2.2
feature/new-globals-syntax
1.11
2.1
1.9
1.10
1.8
3.1.7
3.2.4
3.1.6
3.2.3
3.1.5
3.2.2
3.1.4
3.2.1
3.2.0
3.2.0-rc1
3.1.3
2.4.11
3.2.0-beta
2.4.10
3.1.2
3.0.5
2.4.9
3.0.4
3.1.1
3.1.0
opensips
/
parser
/
parse_supported.h
opensips
/
parser
/
parse_supported.h
parse_supported.h 2.40 KB
Copy Edit Raw Blame History
Razvan Crainea authored 2016年11月21日 20:00 +08:00 . sst: add timer extension to Require for replies
/*
* Supported parser.
*
* Copyright (C) 2006 Andreas Granig <agranig@linguin.org>
*
* This file is part of opensips, a free SIP server.
*
* opensips is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version
*
* opensips 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*
* History:
* -------
* 2006年03月02日 parse_supported() parses and cumulates all SUPPORTED
* headers (bogdan)
*/
#ifndef PARSE_SUPPORTED_H
#define PARSE_SUPPORTED_H
#include "msg_parser.h"
#include "../mem/mem.h"
#define F_SUPPORTED_PATH (1 << 0)
#define F_SUPPORTED_100REL (1 << 1)
#define F_SUPPORTED_TIMER (1 << 2)
#define F_SUPPORTED_EVENTLIST (1 << 3)
#define F_SUPPORTED_GRUU (1 << 4)
#define SUPPORTED_PATH_STR "path"
#define SUPPORTED_PATH_LEN (sizeof(SUPPORTED_PATH_STR)-1)
/* RFC 3262 */
#define SUPPORTED_100REL_STR "100rel"
#define SUPPORTED_100REL_LEN (sizeof(SUPPORTED_100REL_STR)-1)
/* RFC 4028 */
#define SUPPORTED_TIMER_STR "timer"
#define SUPPORTED_TIMER_LEN (sizeof(SUPPORTED_TIMER_STR)-1)
/* RFC 4662 - RLS */
#define SUPPORTED_EVENTLIST_STR "eventlist"
#define SUPPORTED_EVENTLIST_LEN (sizeof(SUPPORTED_EVENTLIST_STR)-1)
#define get_supported(p_msg) \
((p_msg)->supported ? ((struct supported_body*)(p_msg)->supported->parsed)->supported_all : 0)
struct supported_body {
unsigned int supported; /* supported mask for the current hdr */
unsigned int supported_all; /* supported mask for the all "supported" hdr
* - it's set only for the first hdr in
* sibling list*/
};
/*
* Parse all Supported headers.
*/
int parse_supported( struct sip_msg *msg);
int parse_supported_body(str *body, unsigned int *sup);
static inline void free_supported(struct supported_body **sb)
{
if (sb && *sb) {
pkg_free(*sb);
*sb = 0;
}
}
#endif /* PARSE_SUPPORTED_H */
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phpgoer/opensips.git
git@gitee.com:phpgoer/opensips.git
phpgoer
opensips
opensips
master
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /