Wed, 17 Jul 2013 01:04:40 +0530
Removed remaining inclusions of value.h
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23987
diff
changeset
|
1 | #undef PURPLE_DISABLE_DEPRECATED |
| 6531 | 2 | #include "module.h" |
| 11118 | 3 | #include "../perl-handlers.h" |
| 4 | ||
|
30759
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
5 | static void |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
6 | chat_components_foreach(gpointer key, gpointer value, gpointer user_data) |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
7 | { |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
8 | HV *hv = user_data; |
|
33892
ef97228bc5f0
Fix most of warnings for gtk2 and linux
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33643
diff
changeset
|
9 | if (hv_store(hv, key, strlen(key), newSVpv(value, 0), 0) == NULL) |
|
ef97228bc5f0
Fix most of warnings for gtk2 and linux
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33643
diff
changeset
|
10 | purple_debug_error("perl", "hv_store failed\n"); |
|
30759
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
11 | } |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
12 | |
|
16774
064f0b6c87a5
Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
13 | MODULE = Purple::BuddyList PACKAGE = Purple::Find PREFIX = purple_ |
|
064f0b6c87a5
Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
14 | PROTOTYPES: ENABLE |
|
064f0b6c87a5
Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
15 | |
| 12786 | 16 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
17 | purple_group_on_account(group, account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
18 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
19 | Purple::Account account |
| 11118 | 20 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
21 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::Contact PREFIX = purple_contact_ |
| 11118 | 22 | PROTOTYPES: ENABLE |
| 23 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
24 | Purple::BuddyList::Contact |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
25 | purple_contact_new(); |
| 11118 | 26 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
27 | Purple::BuddyList::Buddy |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
28 | purple_contact_get_priority_buddy(contact) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
29 | Purple::BuddyList::Contact contact |
| 11118 | 30 | |
| 31 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
32 | purple_contact_get_alias(contact) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
33 | Purple::BuddyList::Contact contact |
| 11118 | 34 | |
| 12786 | 35 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
36 | purple_contact_on_account(contact, account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
37 | Purple::BuddyList::Contact contact |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
38 | Purple::Account account |
| 11118 | 39 | |
| 40 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
41 | purple_contact_invalidate_priority_buddy(contact) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
42 | Purple::BuddyList::Contact contact |
| 11118 | 43 | |
|
34729
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
44 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
45 | purple_contact_merge(source, node) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
46 | Purple::BuddyList::Contact source |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
47 | Purple::BuddyList::Node node |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
48 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
49 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::Group PREFIX = purple_group_ |
| 11118 | 50 | PROTOTYPES: ENABLE |
| 51 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
52 | Purple::BuddyList::Group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
53 | purple_group_new(name) |
| 11118 | 54 | const char *name |
| 55 | ||
| 12786 | 56 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
57 | purple_group_get_accounts(group) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
58 | Purple::BuddyList::Group group |
| 11118 | 59 | PREINIT: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
60 | GSList *l, *ll; |
| 11118 | 61 | PPCODE: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
62 | ll = purple_group_get_accounts(group); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
63 | for (l = ll; l != NULL; l = l->next) { |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
64 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Account"))); |
| 11118 | 65 | } |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
66 | g_slist_free(ll); |
| 11118 | 67 | |
| 12786 | 68 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
69 | purple_group_on_account(group, account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
70 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
71 | Purple::Account account |
| 11118 | 72 | |
|
34729
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
73 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
74 | purple_group_set_name(group, name) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
75 | Purple::BuddyList::Group group |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
76 | const char * name |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
77 | |
|
17859
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
78 | const char * |
|
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
79 | purple_group_get_name(group) |
|
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
80 | Purple::BuddyList::Group group |
|
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
81 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
82 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList PREFIX = purple_blist_ |
| 6531 | 83 | PROTOTYPES: ENABLE |
| 84 | ||
|
34729
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
85 | Purple::BuddyList |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
86 | purple_blist_get_buddy_list() |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
87 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
88 | Purple::BuddyList::Buddy |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
89 | purple_blist_find_buddy(account, name) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
90 | Purple::Account account |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
91 | const char * name |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
92 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
93 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
94 | purple_blist_find_buddies(account, name) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
95 | Purple::Account account |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
96 | const char * name |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
97 | PREINIT: |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
98 | GSList *l, *ll; |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
99 | PPCODE: |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
100 | ll = purple_blist_find_buddies(account, name); |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
101 | for (l = ll; l != NULL; l = l->next) { |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
102 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::BuddyList::Buddy"))); |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
103 | } |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
104 | g_slist_free(ll); |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
105 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
106 | Purple::BuddyList::Group |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
107 | purple_blist_find_group(name) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
108 | const char *name |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
109 | |
| 6531 | 110 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
111 | purple_blist_add_contact(contact, group, node) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
112 | Purple::BuddyList::Contact contact |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
113 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
114 | Purple::BuddyList::Node node |
| 11118 | 115 | |
| 116 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
117 | purple_blist_add_group(group, node) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
118 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
119 | Purple::BuddyList::Node node |
| 6531 | 120 | |
| 121 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
122 | purple_blist_add_buddy(buddy, contact, group, node) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
123 | Purple::BuddyList::Buddy buddy |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
124 | Purple::BuddyList::Contact contact |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
125 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
126 | Purple::BuddyList::Node node |
| 6531 | 127 | |
| 128 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
129 | purple_blist_remove_buddy(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
130 | Purple::BuddyList::Buddy buddy |
| 6531 | 131 | |
| 132 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
133 | purple_blist_remove_contact(contact) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
134 | Purple::BuddyList::Contact contact |
| 6531 | 135 | |
| 136 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
137 | purple_blist_remove_chat(chat) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
138 | Purple::BuddyList::Chat chat |
| 6531 | 139 | |
| 140 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
141 | purple_blist_remove_group(group) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
142 | Purple::BuddyList::Group group |
| 6531 | 143 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
144 | Purple::BuddyList::Chat |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
145 | purple_blist_find_chat(account, name) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
146 | Purple::Account account |
| 6531 | 147 | const char *name |
| 148 | ||
|
6540
55a72edbd2d5
[gaim-migrate @ 7062]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
149 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
150 | purple_blist_add_chat(chat, group, node) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
151 | Purple::BuddyList::Chat chat |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
152 | Purple::BuddyList::Group group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
153 | Purple::BuddyList::Node node |
| 11118 | 154 | |
| 155 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
156 | purple_blist_show() |
| 11118 | 157 | |
| 158 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
159 | purple_blist_set_visible(show) |
| 11118 | 160 | gboolean show |
| 161 | ||
| 162 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
163 | purple_blist_add_account(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
164 | Purple::Account account |
| 11118 | 165 | |
| 166 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
167 | purple_blist_remove_account(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
168 | Purple::Account account |
| 11118 | 169 | |
| 170 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
171 | purple_blist_schedule_save() |
| 11118 | 172 | |
| 173 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
174 | purple_blist_request_add_group() |
| 11118 | 175 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
176 | Purple::Handle |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
177 | purple_blist_get_handle() |
| 12786 | 178 | |
|
17859
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
179 | Purple::BuddyList::Node |
|
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
180 | purple_blist_get_root() |
|
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
181 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
182 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::Node PREFIX = purple_blist_node_ |
| 12786 | 183 | PROTOTYPES: ENABLE |
| 184 | ||
| 185 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
186 | purple_blist_node_get_extended_menu(node) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
187 | Purple::BuddyList::Node node |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14727
diff
changeset
|
188 | PREINIT: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
189 | GList *l, *ll; |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14727
diff
changeset
|
190 | PPCODE: |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
191 | ll = purple_blist_node_get_extended_menu(node); |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
192 | for (l = ll; l != NULL; l = l->next) { |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
193 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Menu::Action"))); |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14727
diff
changeset
|
194 | } |
|
21737
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
195 | /* We can free the list here but the script needs to free the |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
196 | * Purple::Menu::Action 'objects' itself. */ |
|
fa92350ed598
applied changes from 8d953d5714cb202c5fa66fda1b0f31f01a969622
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17859
diff
changeset
|
197 | g_list_free(ll); |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14727
diff
changeset
|
198 | |
|
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14727
diff
changeset
|
199 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
200 | purple_blist_node_set_bool(node, key, value) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
201 | Purple::BuddyList::Node node |
| 11118 | 202 | const char * key |
| 203 | gboolean value | |
| 204 | ||
| 12786 | 205 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
206 | purple_blist_node_get_bool(node, key) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
207 | Purple::BuddyList::Node node |
| 11118 | 208 | const char * key |
| 209 | ||
| 210 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
211 | purple_blist_node_set_int(node, key, value) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
212 | Purple::BuddyList::Node node |
| 11118 | 213 | const char * key |
| 214 | int value | |
| 215 | ||
| 12786 | 216 | int |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
217 | purple_blist_node_get_int(node, key) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
218 | Purple::BuddyList::Node node |
| 11118 | 219 | const char * key |
| 220 | ||
| 221 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
222 | purple_blist_node_get_string(node, key) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
223 | Purple::BuddyList::Node node |
| 11118 | 224 | const char * key |
| 225 | ||
| 226 | void | |
|
34695
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
227 | purple_blist_node_set_dont_save(node, dont_save) |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
228 | Purple::BuddyList::Node node |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
229 | gboolean dont_save |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
230 | |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
231 | gboolean |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
232 | purple_blist_node_get_dont_save(node); |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
233 | Purple::BuddyList::Node node |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
234 | |
|
60a278f1365b
Refactored libpurple plugins with initial GObject blist API
Ankit Vani <a@nevitus.org>
parents:
33892
diff
changeset
|
235 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
236 | purple_blist_node_remove_setting(node, key) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
237 | Purple::BuddyList::Node node |
| 11118 | 238 | const char * key |
| 239 | ||
|
34723
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
240 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::CountingNode PREFIX = purple_counting_node_ |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
241 | PROTOTYPES: ENABLE |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
242 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
243 | int |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
244 | purple_counting_node_get_total_size(counter); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
245 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
246 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
247 | int |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
248 | purple_counting_node_get_current_size(counter); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
249 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
250 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
251 | int |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
252 | purple_counting_node_get_online_count(counter); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
253 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
254 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
255 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
256 | purple_counting_node_change_total_size(counter, delta); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
257 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
258 | int delta |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
259 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
260 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
261 | purple_counting_node_change_current_size(counter, delta); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
262 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
263 | int delta |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
264 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
265 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
266 | purple_counting_node_change_online_count(counter, delta); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
267 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
268 | int delta |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
269 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
270 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
271 | purple_counting_node_set_total_size(counter, totalsize); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
272 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
273 | int totalsize |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
274 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
275 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
276 | purple_counting_node_set_current_size(counter, currentsize); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
277 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
278 | int currentsize |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
279 | |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
280 | void |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
281 | purple_counting_node_set_online_count(counter, onlinecount); |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
282 | Purple::BuddyList::CountingNode counter |
|
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34700
diff
changeset
|
283 | int onlinecount |
|
17859
afbace92af8d
New function purple_blist_node_get_type.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
17283
diff
changeset
|
284 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
285 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::Chat PREFIX = purple_chat_ |
| 11118 | 286 | PROTOTYPES: ENABLE |
| 287 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
288 | Purple::BuddyList::Group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
289 | purple_chat_get_group(chat) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
290 | Purple::BuddyList::Chat chat |
| 11118 | 291 | |
|
34729
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
292 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
293 | purple_chat_set_alias(chat, alias) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
294 | Purple::BuddyList::Chat chat |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
295 | const char * alias |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
296 | |
| 11118 | 297 | const char * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
298 | purple_chat_get_name(chat) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
299 | Purple::BuddyList::Chat chat |
| 11118 | 300 | |
|
34737
60d32106f808
Refactored finch to use the GObject BList API. Added purple_chat_get_name_only().
Ankit Vani <a@nevitus.org>
parents:
34729
diff
changeset
|
301 | const char * |
|
60d32106f808
Refactored finch to use the GObject BList API. Added purple_chat_get_name_only().
Ankit Vani <a@nevitus.org>
parents:
34729
diff
changeset
|
302 | purple_chat_get_name_only(chat) |
|
60d32106f808
Refactored finch to use the GObject BList API. Added purple_chat_get_name_only().
Ankit Vani <a@nevitus.org>
parents:
34729
diff
changeset
|
303 | Purple::BuddyList::Chat chat |
|
60d32106f808
Refactored finch to use the GObject BList API. Added purple_chat_get_name_only().
Ankit Vani <a@nevitus.org>
parents:
34729
diff
changeset
|
304 | |
|
30759
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
305 | HV * |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
306 | purple_chat_get_components(chat) |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
307 | Purple::BuddyList::Chat chat |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
308 | INIT: |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
309 | HV * t_HV; |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
310 | GHashTable * t_GHash; |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
311 | CODE: |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
312 | t_GHash = purple_chat_get_components(chat); |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
313 | RETVAL = t_HV = newHV(); |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
314 | g_hash_table_foreach(t_GHash, chat_components_foreach, t_HV); |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
315 | OUTPUT: |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
316 | RETVAL |
|
e1ebc9a8d7af
perl: Wrap purple_chat_get_components
Paul Aurich <darkrain42@pidgin.im>
parents:
30758
diff
changeset
|
317 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
318 | Purple::BuddyList::Chat |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
319 | purple_chat_new(account, alias, components) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
320 | Purple::Account account |
| 12786 | 321 | const char * alias |
| 11118 | 322 | SV * components |
| 323 | INIT: | |
| 324 | HV * t_HV; | |
| 325 | HE * t_HE; | |
| 326 | SV * t_SV; | |
| 327 | GHashTable * t_GHash; | |
| 328 | I32 len; | |
| 329 | char *t_key, *t_value; | |
| 330 | CODE: | |
| 331 | t_HV = (HV *)SvRV(components); | |
|
30758
5a5136914b3b
perl: Fix chat-related functions.
Paul Aurich <darkrain42@pidgin.im>
parents:
25889
diff
changeset
|
332 | t_GHash = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); |
| 11118 | 333 | |
| 334 | for (t_HE = hv_iternext(t_HV); t_HE != NULL; t_HE = hv_iternext(t_HV) ) { | |
| 335 | t_key = hv_iterkey(t_HE, &len); | |
| 336 | t_SV = *hv_fetch(t_HV, t_key, len, 0); | |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
21737
diff
changeset
|
337 | t_value = SvPVutf8_nolen(t_SV); |
| 11118 | 338 | |
|
30758
5a5136914b3b
perl: Fix chat-related functions.
Paul Aurich <darkrain42@pidgin.im>
parents:
25889
diff
changeset
|
339 | g_hash_table_insert(t_GHash, g_strdup(t_key), g_strdup(t_value)); |
|
6540
55a72edbd2d5
[gaim-migrate @ 7062]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
340 | } |
|
6545
139a447a1419
[gaim-migrate @ 7067]
Christian Hammond <chipx86@chipx86.com>
parents:
6544
diff
changeset
|
341 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
342 | RETVAL = purple_chat_new(account, alias, t_GHash); |
|
6545
139a447a1419
[gaim-migrate @ 7067]
Christian Hammond <chipx86@chipx86.com>
parents:
6544
diff
changeset
|
343 | OUTPUT: |
|
139a447a1419
[gaim-migrate @ 7067]
Christian Hammond <chipx86@chipx86.com>
parents:
6544
diff
changeset
|
344 | RETVAL |
| 11118 | 345 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
346 | MODULE = Purple::BuddyList PACKAGE = Purple::BuddyList::Buddy PREFIX = purple_buddy_ |
| 11118 | 347 | PROTOTYPES: ENABLE |
| 348 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
349 | Purple::BuddyList::Buddy |
|
25889
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
350 | purple_buddy_new(account, name, alias) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
351 | Purple::Account account |
|
25889
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
352 | const char *name |
| 11118 | 353 | const char *alias |
| 354 | ||
|
34729
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
355 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
356 | purple_buddy_update_status(buddy, old_status) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
357 | Purple::BuddyList::Buddy buddy |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
358 | Purple::Status old_status |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
359 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
360 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
361 | purple_buddy_set_name(buddy, name) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
362 | Purple::BuddyList::Buddy buddy |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
363 | const char * name |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
364 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
365 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
366 | purple_buddy_set_local_alias(buddy, alias) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
367 | Purple::BuddyList::Buddy buddy |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
368 | const char * alias |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
369 | |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
370 | void |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
371 | purple_buddy_set_server_alias(buddy, alias) |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
372 | Purple::BuddyList::Buddy buddy |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
373 | const char * alias |
|
7f5a2fc8ef9c
Refactored blistnodetypes and BuddyList.xs according to API changes
Ankit Vani <a@nevitus.org>
parents:
34728
diff
changeset
|
374 | |
|
14727
0e8b550fcfec
[gaim-migrate @ 17411]
Welker Zsombor <zdeqb@users.sourceforge.net>
parents:
14254
diff
changeset
|
375 | const char * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
376 | purple_buddy_get_server_alias(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
377 | Purple::BuddyList::Buddy buddy |
|
14727
0e8b550fcfec
[gaim-migrate @ 17411]
Welker Zsombor <zdeqb@users.sourceforge.net>
parents:
14254
diff
changeset
|
378 | |
| 11118 | 379 | void |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
380 | purple_buddy_set_icon(buddy, icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
381 | Purple::BuddyList::Buddy buddy |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
382 | Purple::Buddy::Icon icon |
| 11118 | 383 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
384 | Purple::Account |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
385 | purple_buddy_get_account(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
386 | Purple::BuddyList::Buddy buddy |
| 11118 | 387 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
388 | Purple::BuddyList::Group |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
389 | purple_buddy_get_group(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
390 | Purple::BuddyList::Buddy buddy |
| 12088 | 391 | |
| 11118 | 392 | const char * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
393 | purple_buddy_get_name(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
394 | Purple::BuddyList::Buddy buddy |
| 11118 | 395 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
396 | Purple::Buddy::Icon |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
397 | purple_buddy_get_icon(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
398 | Purple::BuddyList::Buddy buddy |
| 11118 | 399 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
400 | Purple::BuddyList::Contact |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
401 | purple_buddy_get_contact(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
402 | Purple::BuddyList::Buddy buddy |
| 11118 | 403 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
404 | Purple::Presence |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
405 | purple_buddy_get_presence(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
406 | Purple::BuddyList::Buddy buddy |
| 11118 | 407 | |
| 408 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
409 | purple_buddy_get_alias_only(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
410 | Purple::BuddyList::Buddy buddy |
| 11118 | 411 | |
| 412 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
413 | purple_buddy_get_contact_alias(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
414 | Purple::BuddyList::Buddy buddy |
| 11118 | 415 | |
| 416 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
417 | purple_buddy_get_alias(buddy) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
418 | Purple::BuddyList::Buddy buddy |