l10n: sync translations with transifex.com (es, pt_BR)
[siplcs.git] / src / core / sipe-sign.h
blob55ba9168c585598fe5497568eba050e03bfe2c70
1 /*
2 * @file sipe-sign.h
4 * pidgin-sipe
6 * Copyright (C) 2008 Novell, Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
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 General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 struct sipmsg_breakdown {
24 struct sipmsg * msg;
25 gchar * protocol;
26 gchar * rand;
27 gchar * num;
28 gchar * realm;
29 gchar * target_name;
30 const gchar * call_id;
31 gchar * cseq;
32 //method
33 gchar * from_url;
34 gchar * from_tag;
35 /** @since 3 */
36 gchar * to_url;
37 gchar * to_tag;
38 /** @since 3 */
39 gchar * p_assertet_identity_sip_uri;
40 /** @since 3 */
41 gchar * p_assertet_identity_tel_uri;
42 const gchar * expires;
43 //response code
46 void sipmsg_breakdown_parse(struct sipmsg_breakdown * msg, gchar * realm, gchar * target,
47 const gchar *protocol);
48 gchar*
49 sipmsg_breakdown_get_string(int version,
50 struct sipmsg_breakdown * msgbd);
51 void sipmsg_breakdown_free(struct sipmsg_breakdown * msg);