Updated to release 1.7.1
[siplcs.git] / src / sipe-sign.h
blob1f1b45384832cb09524f69a2ea25f370b1879758
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 gchar * call_id;
36 gchar * cseq;
37 gchar * from_url;
38 gchar * from_tag;
39 gchar * to_tag;
40 gchar * expires;
43 void sipmsg_breakdown_parse(struct sipmsg_breakdown * msg, gchar * realm, gchar * target);
44 gchar* sipmsg_breakdown_get_string(struct sipmsg_breakdown * msgbd);
45 void sipmsg_breakdown_free(struct sipmsg_breakdown * msg);
47 #endif /* _PIDGIN_SIPE_SIGN_H */