| 30 |
30 |
| 31 #include "msg.h" |
31 #include "msg.h" |
| 32 #include "user.h" |
32 #include "user.h" |
| 33 |
33 |
| 34 #include "servconn.h" |
34 #include "servconn.h" |
| |
35 |
| |
36 typedef enum |
| |
37 { |
| |
38 MSN_SB_ERROR_NONE, |
| |
39 MSN_SB_ERROR_CAL, /* The user could not join (answer the call) */ |
| |
40 MSN_SB_ERROR_OFFLINE, /* The account is offline */ |
| |
41 MSN_SB_ERROR_USER_OFFLINE, /* The user to call is offline */ |
| |
42 MSN_SB_ERROR_CONNECTION, /* There was a connection error */ |
| |
43 MSN_SB_ERROR_UNKNOWN |
| |
44 |
| |
45 } MsnSBErrorType; |
| 35 |
46 |
| 36 struct _MsnSwitchBoard |
47 struct _MsnSwitchBoard |
| 37 { |
48 { |
| 38 MsnSession *session; |
49 MsnSession *session; |
| 39 MsnServConn *servconn; |
50 MsnServConn *servconn; |