Release 1.25.0 -- Buddy Idle Time, RTF
[siplcs.git] / src / core / sipe-sign.h
blob4e90854a5a5ce68857e66ee2268218745e76e36b
1 /*
2 * @file sipe-sign.h
4 * pidgin-sipe
6 * Copyright (C) 2019 SIPE Project <http://sipe.sourceforge.net/>
7 * Copyright (C) 2008 Novell, Inc.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 struct sipmsg_breakdown {
25 struct sipmsg * msg;
26 gchar * protocol;
27 gchar * rand;
28 gchar * num;
29 gchar * realm;
30 gchar * target_name;
31 const gchar * call_id;
32 gchar * cseq;
33 //method
34 gchar * from_url;
35 gchar * from_tag;
36 /** @since 3 */
37 gchar * to_url;
38 gchar * to_tag;
39 /** @since 3 */
40 gchar * p_assertet_identity_sip_uri;
41 /** @since 3 */
42 gchar * p_assertet_identity_tel_uri;
43 const gchar * expires;
44 //response code
47 void sipmsg_breakdown_parse(struct sipmsg_breakdown * msg, const gchar * realm, const gchar * target,
48 const gchar *protocol);
49 gchar*
50 sipmsg_breakdown_get_string(int version,
51 struct sipmsg_breakdown * msgbd);
52 void sipmsg_breakdown_free(struct sipmsg_breakdown * msg);