auth: gathering params for v3+
[siplcs.git] / src / core / sipe-sign.h
bloba57ff6be217056143b2e7d20a5e0f096c21bf573
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 #ifndef _PIDGIN_SIPE_SIGN_H
24 #define _PIDGIN_SIPE_SIGN_H
26 #include "sipmsg.h"
28 struct sipmsg_breakdown {
29 struct sipmsg * msg;
30 gchar * protocol;
31 gchar * rand;
32 gchar * num;
33 gchar * realm;
34 gchar * target_name;
35 const gchar * call_id;
36 gchar * cseq;
37 //method
38 gchar * from_url;
39 gchar * from_tag;
40 /** @since 3 */
41 gchar * to_url;
42 gchar * to_tag;
43 /** @since 3 */
44 gchar * p_assertet_identity_sip_uri;
45 /** @since 3 */
46 gchar * p_assertet_identity_tel_uri;
47 const gchar * expires;
48 //response code
51 void sipmsg_breakdown_parse(struct sipmsg_breakdown * msg, gchar * realm, gchar * target);
52 gchar* sipmsg_breakdown_get_string(struct sipmsg_breakdown * msgbd);
53 void sipmsg_breakdown_free(struct sipmsg_breakdown * msg);
55 #endif /* _PIDGIN_SIPE_SIGN_H */