add "603 Decline" response to undelivered message handling
[siplcs.git] / src / core / sipe-sign.h
blobf7417320a2bb7f02d4418b1b387342e862977c67
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 gchar*
48 sipmsg_breakdown_get_string(int version,
49 struct sipmsg_breakdown * msgbd);
50 void sipmsg_breakdown_free(struct sipmsg_breakdown * msg);