Mercurial > pidgin.yaz
diff src/protocols/oscar/snac.c @ 13239:f260d319bbbc
[gaim-migrate @ 15605]
Renaming a bunch of structs and typedefs to use the same naming
scheme as the rest of Gaim
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 12 Feb 2006 16:02:05 +0000 |
parents | f2431a7e33aa |
children | 87a7c3077c19 |
line wrap: on
line diff
--- a/src/protocols/oscar/snac.c Sun Feb 12 15:27:11 2006 +0000 +++ b/src/protocols/oscar/snac.c Sun Feb 12 16:02:05 2006 +0000 @@ -37,7 +37,7 @@ /* * Called from aim_session_init() to initialize the hash. */ -faim_internal void aim_initsnachash(aim_session_t *sess) +faim_internal void aim_initsnachash(OscarSession *sess) { int i; @@ -47,7 +47,7 @@ return; } -faim_internal aim_snacid_t aim_cachesnac(aim_session_t *sess, const guint16 family, const guint16 type, const guint16 flags, const void *data, const int datalen) +faim_internal aim_snacid_t aim_cachesnac(OscarSession *sess, const guint16 family, const guint16 type, const guint16 flags, const void *data, const int datalen) { aim_snac_t snac; @@ -70,7 +70,7 @@ * Clones the passed snac structure and caches it in the * list/hash. */ -faim_internal aim_snacid_t aim_newsnac(aim_session_t *sess, aim_snac_t *newsnac) +faim_internal aim_snacid_t aim_newsnac(OscarSession *sess, aim_snac_t *newsnac) { aim_snac_t *snac; int index; @@ -98,7 +98,7 @@ * The returned structure must be freed by the caller. * */ -faim_internal aim_snac_t *aim_remsnac(aim_session_t *sess, aim_snacid_t id) +faim_internal aim_snac_t *aim_remsnac(OscarSession *sess, aim_snacid_t id) { aim_snac_t *cur, **prev; int index; @@ -127,7 +127,7 @@ * maxage is the _minimum_ age in seconds to keep SNACs. * */ -faim_export void aim_cleansnacs(aim_session_t *sess, int maxage) +faim_export void aim_cleansnacs(OscarSession *sess, int maxage) { int i; @@ -155,7 +155,7 @@ return; } -faim_internal int aim_putsnac(aim_bstream_t *bs, guint16 family, guint16 subtype, guint16 flags, aim_snacid_t snacid) +faim_internal int aim_putsnac(ByteStream *bs, guint16 family, guint16 subtype, guint16 flags, aim_snacid_t snacid) { aimbs_put16(bs, family);