Mercurial > pidgin
comparison libpurple/protocols/msn/history.h @ 28983: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 | 7492ddb953fd |
children | e8e4c4207d30 |
comparison
equal
deleted
inserted
replaced
28982:791606778223 | 28983: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_HISTORY_H | 24 #ifndef MSN_HISTORY_H |
25 #define _MSN_HISTORY_H | 25 #define MSN_HISTORY_H |
26 | |
27 #define MSN_NS_HIST_ELEMS 0x300 | |
28 #define MSN_SB_HIST_ELEMS 0x30 | |
29 | 26 |
30 typedef struct _MsnHistory MsnHistory; | 27 typedef struct _MsnHistory MsnHistory; |
31 | 28 |
32 #include "transaction.h" | 29 #include "transaction.h" |
30 | |
31 #define MSN_NS_HIST_ELEMS 0x300 | |
32 #define MSN_SB_HIST_ELEMS 0x30 | |
33 | 33 |
34 /** | 34 /** |
35 * The history. | 35 * The history. |
36 */ | 36 */ |
37 struct _MsnHistory | 37 struct _MsnHistory |
43 MsnHistory *msn_history_new(void); | 43 MsnHistory *msn_history_new(void); |
44 void msn_history_destroy(MsnHistory *history); | 44 void msn_history_destroy(MsnHistory *history); |
45 MsnTransaction *msn_history_find(MsnHistory *history, unsigned int triId); | 45 MsnTransaction *msn_history_find(MsnHistory *history, unsigned int triId); |
46 void msn_history_add(MsnHistory *history, MsnTransaction *trans); | 46 void msn_history_add(MsnHistory *history, MsnTransaction *trans); |
47 | 47 |
48 #endif /* _MSN_HISTORY_H */ | 48 #endif /* MSN_HISTORY_H */ |