comparison libpurple/protocols/msn/slpcall.h @ 29373:462cb893521b

Minor header file cleanup. Mostly I wanted to move some enums above some #includes
author Mark Doliner <mark@kingant.net>
date Fri, 05 Feb 2010 22:49:11 +0000
parents 59b0c556f787
children 119bd7b072eb
comparison
equal deleted inserted replaced
29372:791606778223 29373:462cb893521b
19 * 19 *
20 * You should have received a copy of the GNU General Public License 20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software 21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
23 */ 23 */
24 #ifndef _MSN_SLPCALL_H_ 24 #ifndef MSN_SLPCALL_H
25 #define _MSN_SLPCALL_H_ 25 #define MSN_SLPCALL_H
26
27 typedef struct _MsnSlpCall MsnSlpCall;
28
29 typedef enum
30 {
31 MSN_SLPCALL_ANY,
32 MSN_SLPCALL_DC
33 } MsnSlpCallType;
26 34
27 #include "internal.h" 35 #include "internal.h"
36
28 #include "ft.h" 37 #include "ft.h"
29
30 typedef struct _MsnSlpCall MsnSlpCall;
31 38
32 #include "slplink.h" 39 #include "slplink.h"
33 40
34 /* The official client seems to timeout slp calls after 5 minutes */ 41 /* The official client seems to timeout slp calls after 5 minutes */
35 #define MSN_SLPCALL_TIMEOUT 300 42 #define MSN_SLPCALL_TIMEOUT 300
36
37 typedef enum
38 {
39 MSN_SLPCALL_ANY,
40 MSN_SLPCALL_DC
41
42 } MsnSlpCallType;
43 43
44 struct _MsnSlpCall 44 struct _MsnSlpCall
45 { 45 {
46 /* Our parent slplink */ 46 /* Our parent slplink */
47 MsnSlpLink *slplink; 47 MsnSlpLink *slplink;
93 void msn_slpcall_destroy(MsnSlpCall *slpcall); 93 void msn_slpcall_destroy(MsnSlpCall *slpcall);
94 void msn_slpcall_invite(MsnSlpCall *slpcall, const char *euf_guid, 94 void msn_slpcall_invite(MsnSlpCall *slpcall, const char *euf_guid,
95 int app_id, const char *context); 95 int app_id, const char *context);
96 void msn_slpcall_close(MsnSlpCall *slpcall); 96 void msn_slpcall_close(MsnSlpCall *slpcall);
97 97
98 #endif /* _MSN_SLPCALL_H_ */ 98 #endif /* MSN_SLPCALL_H */