9193
|
1 #ifndef _MSN_SYNC_H_
|
|
2 #define _MSN_SYNC_H_
|
|
3
|
|
4 typedef struct _MsnSync MsnSync;
|
|
5
|
|
6 #include "session.h"
|
|
7 #include "table.h"
|
|
8 #include "user.h"
|
|
9
|
|
10 struct _MsnSync
|
|
11 {
|
|
12 MsnSession *session;
|
|
13 MsnTable *cbs_table;
|
|
14 MsnTable *old_cbs_table;
|
|
15
|
|
16 int num_users;
|
|
17 int total_users;
|
|
18 int num_groups;
|
|
19 int total_groups;
|
|
20 MsnUser *last_user;
|
|
21 };
|
|
22
|
|
23 void msn_sync_init(void);
|
|
24 void msn_sync_end(void);
|
|
25
|
|
26 MsnSync * msn_sync_new(MsnSession *session);
|
|
27 void msn_sync_destroy(MsnSync *sync);
|
|
28
|
|
29 #endif /* _MSN_SYNC_H_ */
|