Sun, 01 Sep 2013 01:40:21 +0530
Refactored the protocols to use the error argument of purple_protocols_{add/remove}
|
27335
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
1 | /* |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
2 | * purple |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
3 | * |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
4 | * Purple is the legal property of its developers, whose names are too numerous |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
6 | * source distribution. |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
7 | * |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
11 | * (at your option) any later version. |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
12 | * |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
16 | * GNU General Public License for more details. |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
17 | * |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
21 | * |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
22 | */ |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
23 | |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
24 | |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
25 | #include "internal.h" |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
26 | |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
27 | #include "account.h" |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
28 | #include "accountopt.h" |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
27792
diff
changeset
|
29 | #include "buddylist.h" |
|
27335
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
30 | #include "debug.h" |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
31 | #include "util.h" |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
32 | #include "version.h" |
|
27555
afb7cb5c350c
Update for file renames.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27335
diff
changeset
|
33 | #include "libymsg.h" |
|
27335
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
34 | #include "yahoo_packet.h" |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
35 | |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
36 | void yahoo_update_alias(PurpleConnection *gc, const char *who, const char *alias); |
|
06a805d4e690
Strip trailing whitespace and comment #endif marcos that close #ifdef macros
Mark Doliner <markdoliner@pidgin.im>
parents:
22980
diff
changeset
|
37 | void yahoo_fetch_aliases(PurpleConnection *gc); |
|
27716
a3ed37ab91b8
Allow setting some personal information for an account.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
27555
diff
changeset
|
38 | void yahoo_set_userinfo(PurpleConnection *gc); |
|
27792
24c414559007
Allow changing contact details for folks in the buddylist.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
27791
diff
changeset
|
39 | void yahoo_set_userinfo_for_buddy(PurpleConnection *gc, PurpleBuddy *buddy); |
|
27791
4601e7074a83
Add support for receiving contact details from buddies.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
27716
diff
changeset
|
40 | void yahoo_personal_details_reset(YahooPersonalDetails *ypd, gboolean all); |
|
4601e7074a83
Add support for receiving contact details from buddies.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
27716
diff
changeset
|
41 | void yahoo_process_contact_details(PurpleConnection *gc, struct yahoo_packet *pkt); |