Mercurial > pidgin
comparison libpurple/protocols/msn/tlv.h @ 31558:ce968e115c95
propagate from branch 'im.pidgin.cpw.masca.p2p' (head 33ca865dacb9e5bcf763d06f6a42cbaca337cc64)
to branch 'im.pidgin.pidgin' (head 92f47f4e8b0cbb107fd97e1ab814d1cedbf109ad)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 06 May 2011 06:25:14 +0000 |
parents | 506b77a27a53 |
children | bd59044a9100 |
comparison
equal
deleted
inserted
replaced
31557:f021d93a1f9b | 31558:ce968e115c95 |
---|---|
44 guint8 msn_tlv_get8(GSList *list, const guint16 type, const int nth); | 44 guint8 msn_tlv_get8(GSList *list, const guint16 type, const int nth); |
45 guint16 msn_tlv_get16(GSList *list, const guint16 type, const int nth); | 45 guint16 msn_tlv_get16(GSList *list, const guint16 type, const int nth); |
46 guint32 msn_tlv_get32(GSList *list, const guint16 type, const int nth); | 46 guint32 msn_tlv_get32(GSList *list, const guint16 type, const int nth); |
47 | 47 |
48 /* TLV list handling functions */ | 48 /* TLV list handling functions */ |
49 GSList *msn_tlvlist_read(char *bs, size_t bs_len); | 49 GSList *msn_tlvlist_read(const char *bs, size_t bs_len); |
50 GSList *msn_tlvlist_copy(GSList *orig); | 50 GSList *msn_tlvlist_copy(GSList *orig); |
51 | 51 |
52 int msn_tlvlist_count(GSList *list); | 52 int msn_tlvlist_count(GSList *list); |
53 size_t msn_tlvlist_size(GSList *list); | 53 size_t msn_tlvlist_size(GSList *list); |
54 gboolean msn_tlvlist_equal(GSList *one, GSList *two); | 54 gboolean msn_tlvlist_equal(GSList *one, GSList *two); |
55 int msn_tlvlist_write(char *bs, size_t bs_len, GSList **list); | 55 char *msn_tlvlist_write(GSList *list, size_t *out_len); |
56 void msn_tlvlist_free(GSList *list); | 56 void msn_tlvlist_free(GSList *list); |
57 | 57 |
58 int msn_tlvlist_add_raw(GSList **list, const guint16 type, const guint16 length, const char *value); | 58 int msn_tlvlist_add_raw(GSList **list, const guint16 type, const guint16 length, const char *value); |
59 int msn_tlvlist_add_empty(GSList **list, const guint16 type); | 59 int msn_tlvlist_add_empty(GSList **list, const guint16 type); |
60 int msn_tlvlist_add_8(GSList **list, const guint16 type, const guint8 value); | 60 int msn_tlvlist_add_8(GSList **list, const guint16 type, const guint8 value); |