blob: 950092e61af87503f80a9b1b55fa97437a723bc7 [file] [log] [blame]
Philipp Maier8970c492017-10-11 13:33:42 +02001/*
2 * SDP generation and parsing
3 *
4 * (C) 2009-2015 by Holger Hans Peter Freyther <zecke@selfish.org>
5 * (C) 2009-2014 by On-Waves
6 * All Rights Reserved
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23#pragma once
Philipp Maier8970c492017-10-11 13:33:42 +020024
25int mgcp_parse_sdp_data(const struct mgcp_endpoint *endp,
26 struct mgcp_conn_rtp *conn,
27 struct mgcp_parse_data *p);
28
Philipp Maier8970c492017-10-11 13:33:42 +020029int mgcp_write_response_sdp(const struct mgcp_endpoint *endp,
30 const struct mgcp_conn_rtp *conn, struct msgb *sdp,
31 const char *addr);