src/protocols/oscar/family_locate.c

changeset 13598
04f6791f65e0
parent 13593
3450a7cede99
child 13610
b2c15a312144
--- a/src/protocols/oscar/family_locate.c	Fri Apr 07 18:39:42 2006 +0000
+++ b/src/protocols/oscar/family_locate.c	Sun Apr 09 17:33:25 2006 +0000
@@ -225,7 +225,9 @@
  *
  * @param userinfo Contains the new information for the buddy.
  */
-static void aim_locate_adduserinfo(OscarData *od, aim_userinfo_t *userinfo) {
+static void
+aim_locate_adduserinfo(OscarData *od, aim_userinfo_t *userinfo)
+{
 	aim_userinfo_t *cur;
 	FlapConnection *conn;
 	aim_rxcallback_t userfunc;
@@ -312,7 +314,9 @@
 		userfunc(od, conn, NULL, cur);
 }
 
-void aim_locate_dorequest(OscarData *od) {
+void
+aim_locate_dorequest(OscarData *od)
+{
 	struct userinfo_node *cur = od->locate.torequest;
 
 	if (cur == NULL)
@@ -393,7 +397,9 @@
 	return was_explicit;
 }
 
-void aim_locate_requestuserinfo(OscarData *od, const char *sn) {
+void
+aim_locate_requestuserinfo(OscarData *od, const char *sn)
+{
 	struct userinfo_node *cur;
 
 	/* Make sure we aren't already requesting info for this buddy */
@@ -431,7 +437,8 @@
 	return NULL;
 }
 
-guint32 aim_locate_getcaps(OscarData *od, ByteStream *bs, int len)
+guint32
+aim_locate_getcaps(OscarData *od, ByteStream *bs, int len)
 {
 	guint32 flags = 0;
 	int offset;
@@ -465,7 +472,8 @@
 	return flags;
 }
 
-guint32 aim_locate_getcaps_short(OscarData *od, ByteStream *bs, int len)
+guint32
+aim_locate_getcaps_short(OscarData *od, ByteStream *bs, int len)
 {
 	guint32 flags = 0;
 	int offset;
@@ -493,7 +501,8 @@
 	return flags;
 }
 
-int byte_stream_putcaps(ByteStream *bs, guint32 caps)
+int
+byte_stream_putcaps(ByteStream *bs, guint32 caps)
 {
 	int i;
 
@@ -538,7 +547,8 @@
 }
 #endif
 
-void aim_info_free(aim_userinfo_t *info)
+void
+aim_info_free(aim_userinfo_t *info)
 {
 	free(info->sn);
 	free(info->iconcsum);
@@ -554,7 +564,8 @@
  * AIM is fairly regular about providing user info.  This is a generic
  * routine to extract it in its standard form.
  */
-int aim_info_extract(OscarData *od, ByteStream *bs, aim_userinfo_t *outinfo)
+int
+aim_info_extract(OscarData *od, ByteStream *bs, aim_userinfo_t *outinfo)
 {
 	int curtlv, tlvcnt;
 	guint8 snlen;
@@ -1311,7 +1322,8 @@
  * XXX pass these in better
  *
  */
-int aim_locate_setinterests(OscarData *od, const char *interest1, const char *interest2, const char *interest3, const char *interest4, const char *interest5, guint16 privacy)
+int
+aim_locate_setinterests(OscarData *od, const char *interest1, const char *interest2, const char *interest3, const char *interest4, const char *interest5, guint16 privacy)
 {
 	FlapConnection *conn;
 	FlapFrame *frame;
@@ -1360,7 +1372,8 @@
  *        0x00000008 - Certification.
  * @return Return 0 if no errors, otherwise return the error number.
  */
-int aim_locate_getinfoshort(OscarData *od, const char *sn, guint32 flags)
+int
+aim_locate_getinfoshort(OscarData *od, const char *sn, guint32 flags)
 {
 	FlapConnection *conn;
 	FlapFrame *frame;

mercurial