Mon, 03 Feb 2014 22:40:31 +0530
Swap @title and @short_description roles
| 6508 | 1 | #include "module.h" |
|
34040
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
2 | #include "../perl-handlers.h" |
| 6508 | 3 | |
|
34610
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
4 | MODULE = Purple::Account PACKAGE = Purple::Accounts PREFIX = purple_accounts_ |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
5 | PROTOTYPES: ENABLE |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
6 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
7 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
8 | purple_accounts_add(account) |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
9 | Purple::Account account |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
10 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
11 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
12 | purple_accounts_remove(account) |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
13 | Purple::Account account |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
14 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
15 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
16 | purple_accounts_delete(account) |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
17 | Purple::Account account |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
18 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
19 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
20 | purple_accounts_reorder(account, new_index) |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
21 | Purple::Account account |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
22 | size_t new_index |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
23 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
24 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
25 | purple_accounts_get_all() |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
26 | PREINIT: |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
27 | GList *l; |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
28 | PPCODE: |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
29 | for (l = purple_accounts_get_all(); l != NULL; l = l->next) { |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
30 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Account"))); |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
31 | } |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
32 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
33 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
34 | purple_accounts_get_all_active() |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
35 | PREINIT: |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
36 | GList *list, *iter; |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
37 | PPCODE: |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
38 | list = purple_accounts_get_all_active(); |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
39 | for (iter = list; iter != NULL; iter = iter->next) { |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
40 | XPUSHs(sv_2mortal(purple_perl_bless_object(iter->data, "Purple::Account"))); |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
41 | } |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
42 | g_list_free(list); |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
43 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
44 | void |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
45 | purple_accounts_restore_current_statuses() |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
46 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
47 | Purple::Account |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
48 | purple_accounts_find(name, protocol) |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
49 | const char * name |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
50 | const char * protocol |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
51 | |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
52 | Purple::Handle |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
53 | purple_accounts_get_handle() |
|
56e8d15f249f
Removed Accounts.xs and moved back the accounts API to Account module
Ankit Vani <a@nevitus.org>
parents:
34589
diff
changeset
|
54 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
55 | MODULE = Purple::Account PACKAGE = Purple::Account PREFIX = purple_account_ |
| 11290 | 56 | PROTOTYPES: ENABLE |
| 11118 | 57 | |
|
15894
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::Presence |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
59 | purple_account_get_presence(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
60 | Purple::Account account |
| 11118 | 61 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
62 | 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
|
63 | purple_account_new(class, username, protocol_id) |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
64 | const char * username |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
65 | const char * protocol_id |
| 12364 | 66 | C_ARGS: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
67 | username, protocol_id |
| 11118 | 68 | |
| 12784 | 69 | 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
|
70 | purple_account_connect(account) |
|
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 |
|
10437
80a61d4c9a61
[gaim-migrate @ 11694]
Balwinder S Dheeman <bsd@rubyforge.org>
parents:
10404
diff
changeset
|
72 | |
| 12784 | 73 | 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
|
74 | purple_account_register(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
75 | Purple::Account account |
| 11118 | 76 | |
| 12784 | 77 | 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
|
78 | purple_account_disconnect(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
79 | Purple::Account account |
| 6508 | 80 | |
| 12784 | 81 | 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
|
82 | purple_account_request_change_password(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
83 | Purple::Account account |
| 11118 | 84 | |
| 12784 | 85 | 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
|
86 | purple_account_request_change_user_info(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
87 | Purple::Account account |
| 11118 | 88 | |
| 12784 | 89 | 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
|
90 | purple_account_set_username(account, username) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
91 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
92 | const char * username |
| 6508 | 93 | |
| 12784 | 94 | void |
|
34040
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
95 | purple_account_set_password(account, password, func, data = 0) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
96 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
97 | const char * password |
|
34040
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
98 | SV *func |
|
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
99 | SV *data |
|
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
100 | CODE: |
|
34198
89549a1875e0
Fix perl handlers for password access routines
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34040
diff
changeset
|
101 | purple_perl_account_set_password(account, password, func, data); |
| 6508 | 102 | |
| 12784 | 103 | void |
|
34589
428e92c79631
Renamed purple_account_[get,set]_alias to purple_account[get,set]_private_alias.
Ankit Vani <a@nevitus.org>
parents:
34588
diff
changeset
|
104 | purple_account_set_private_alias(account, 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
|
105 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
106 | const char * alias |
| 6508 | 107 | |
| 12784 | 108 | 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
|
109 | purple_account_set_user_info(account, user_info) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
110 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
111 | const char *user_info |
| 6508 | 112 | |
| 12784 | 113 | void |
|
16550
3254ec9f73af
Fix perl compile.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15894
diff
changeset
|
114 | purple_account_set_buddy_icon_path(account, icon) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
115 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
116 | const char *icon |
| 6508 | 117 | |
| 12784 | 118 | 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
|
119 | purple_account_set_connection(account, gc) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
120 | Purple::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
|
121 | Purple::Connection gc |
| 6508 | 122 | |
| 12784 | 123 | 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
|
124 | purple_account_set_remember_password(account, value) |
|
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::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
126 | gboolean value |
| 6508 | 127 | |
| 12784 | 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_account_set_check_mail(account, value) |
|
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::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
131 | gboolean value |
| 6508 | 132 | |
|
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 | void purple_account_set_enabled(account, ui, value) |
|
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::Account account |
|
15127
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
135 | const char *ui |
|
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
136 | gboolean value |
|
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
137 | |
| 12784 | 138 | 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
|
139 | purple_account_set_proxy_info(account, info) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
140 | Purple::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
|
141 | Purple::ProxyInfo info |
| 11118 | 142 | |
|
10504
eae130eefbfe
[gaim-migrate @ 11796]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10437
diff
changeset
|
143 | 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
|
144 | purple_account_set_status(account, status_id, active) |
|
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::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
146 | const char *status_id |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
147 | gboolean active |
| 11118 | 148 | CODE: |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
149 | purple_account_set_status(account, status_id, active, NULL); |
| 11118 | 150 | |
| 12784 | 151 | 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
|
152 | purple_account_set_status_types(account, status_types) |
|
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::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
154 | SV * status_types |
| 11118 | 155 | PREINIT: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
156 | GList *t_GL; |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
157 | int i, t_len; |
| 11118 | 158 | PPCODE: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
159 | t_GL = NULL; |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
160 | t_len = av_len((AV *)SvRV(status_types)); |
|
10504
eae130eefbfe
[gaim-migrate @ 11796]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10437
diff
changeset
|
161 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
162 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
163 | t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(status_types), i, 0))); |
|
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
164 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
165 | purple_account_set_status_types(account, t_GL); |
| 11118 | 166 | |
| 12784 | 167 | 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
|
168 | purple_account_clear_settings(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
169 | Purple::Account account |
| 11118 | 170 | |
| 12784 | 171 | 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
|
172 | purple_account_set_int(account, name, value) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
173 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
174 | const char *name |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
175 | int value |
| 11118 | 176 | |
| 12784 | 177 | 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
|
178 | purple_account_is_connected(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
179 | Purple::Account account |
| 6508 | 180 | |
| 181 | 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
|
182 | purple_account_get_username(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
183 | Purple::Account account |
| 6508 | 184 | |
|
34040
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
185 | void |
|
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
186 | purple_account_get_password(account, func, data = 0) |
|
15894
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::Account account |
|
34040
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
188 | SV *func |
|
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
189 | SV *data |
|
f5417957a1bc
Fix Perl compile. This probably doesn't work. I just copy and pasted
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32318
diff
changeset
|
190 | CODE: |
|
34198
89549a1875e0
Fix perl handlers for password access routines
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
34040
diff
changeset
|
191 | purple_perl_account_get_password(account, func, data); |
| 6508 | 192 | |
| 193 | const char * | |
|
34589
428e92c79631
Renamed purple_account_[get,set]_alias to purple_account[get,set]_private_alias.
Ankit Vani <a@nevitus.org>
parents:
34588
diff
changeset
|
194 | purple_account_get_private_alias(account) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
195 | Purple::Account account |
| 6508 | 196 | |
| 197 | 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
|
198 | purple_account_get_user_info(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
199 | Purple::Account account |
| 6508 | 200 | |
| 201 | const char * | |
|
16550
3254ec9f73af
Fix perl compile.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15894
diff
changeset
|
202 | purple_account_get_buddy_icon_path(account) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
203 | Purple::Account account |
| 6508 | 204 | |
| 205 | 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
|
206 | purple_account_get_protocol_id(account) |
|
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::Account account |
| 6508 | 208 | |
| 11118 | 209 | 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
|
210 | purple_account_get_protocol_name(account) |
|
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::Account account |
| 11118 | 212 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
213 | Purple::Connection |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
214 | purple_account_get_connection(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
215 | Purple::Account account |
| 6508 | 216 | |
| 12784 | 217 | 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
|
218 | purple_account_get_remember_password(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
219 | Purple::Account account |
| 6508 | 220 | |
| 12784 | 221 | 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
|
222 | purple_account_get_check_mail(account) |
|
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::Account account |
| 6508 | 224 | |
|
15127
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
225 | 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
|
226 | purple_account_get_enabled(account, ui) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
227 | Purple::Account account |
|
15127
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
228 | const char *ui |
|
5fc0e97f117d
[gaim-migrate @ 17849]
Daniel Atallah <datallah@pidgin.im>
parents:
15123
diff
changeset
|
229 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
230 | Purple::ProxyInfo |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
231 | purple_account_get_proxy_info(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
232 | Purple::Account account |
| 11118 | 233 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
234 | Purple::Status |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
235 | purple_account_get_active_status(account) |
|
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::Account account |
| 11118 | 237 | |
| 238 | 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
|
239 | purple_account_get_status_types(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
240 | Purple::Account account |
| 11118 | 241 | PREINIT: |
|
18190
bcf28ef7e8ff
Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@pidgin.im>
parents:
18122
diff
changeset
|
242 | GList *l; |
| 11118 | 243 | PPCODE: |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
244 | for (l = purple_account_get_status_types(account); l != NULL; l = l->next) { |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
245 | XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::StatusType"))); |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
246 | } |
| 11118 | 247 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
248 | Purple::Log |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
249 | purple_account_get_log(account, create) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
250 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
251 | gboolean create |
| 11118 | 252 | |
| 12784 | 253 | 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
|
254 | purple_account_destroy_log(account) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
255 | Purple::Account account |
| 11118 | 256 | |
| 12784 | 257 | void |
|
32318
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
258 | purple_account_add_buddies(account, list, message) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
259 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
260 | SV * list |
|
32318
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
261 | const char *message |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
262 | PREINIT: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
263 | GList *t_GL; |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
264 | int i, t_len; |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
265 | PPCODE: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
266 | t_GL = NULL; |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
267 | t_len = av_len((AV *)SvRV(list)); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
268 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
269 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
270 | t_GL = g_list_append(t_GL, SvPVutf8_nolen(*av_fetch((AV *)SvRV(list), i, 0))); |
|
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
271 | |
|
32318
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
272 | purple_account_add_buddies(account, t_GL, message); |
|
17283
ceb0e3374ddf
Plug a few more memory leaks for some perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16550
diff
changeset
|
273 | g_list_free(t_GL); |
| 12784 | 274 | |
| 275 | void | |
|
32318
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
276 | purple_account_add_buddy(account, buddy, message) |
|
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
277 | Purple::Account account |
|
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
278 | Purple::BuddyList::Buddy buddy |
|
a337b83f8335
Fix Perl bindings, which apparently were missing the _with_invite
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25122
diff
changeset
|
279 | const char * message |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
280 | |
| 12784 | 281 | 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
|
282 | purple_account_change_password(account, a, b) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
283 | Purple::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
284 | const char * a |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
285 | const char * b |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
286 | |
| 12784 | 287 | 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
|
288 | purple_account_remove_buddies(account, A, B) |
|
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::Account account |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
290 | SV * A |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
291 | SV * B |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
292 | PREINIT: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
293 | GList *t_GL1, *t_GL2; |
|
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
294 | int i, t_len; |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
295 | PPCODE: |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
296 | t_GL1 = NULL; |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
297 | t_len = av_len((AV *)SvRV(A)); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
298 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
299 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
300 | t_GL1 = g_list_append(t_GL1, SvPVutf8_nolen(*av_fetch((AV *)SvRV(A), i, 0))); |
| 12784 | 301 | |
|
14702
0305942c27d8
[gaim-migrate @ 17386]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
302 | t_GL2 = NULL; |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
303 | t_len = av_len((AV *)SvRV(B)); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
304 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
305 | for (i = 0; i <= t_len; i++) |
|
23980
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
306 | t_GL2 = g_list_append(t_GL2, SvPVutf8_nolen(*av_fetch((AV *)SvRV(B), i, 0))); |
|
a38cbb35eecf
Some cleanup and a couple leak fixes.
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
307 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
308 | purple_account_remove_buddies(account, t_GL1, t_GL2); |
|
17283
ceb0e3374ddf
Plug a few more memory leaks for some perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16550
diff
changeset
|
309 | g_list_free(t_GL1); |
|
ceb0e3374ddf
Plug a few more memory leaks for some perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16550
diff
changeset
|
310 | g_list_free(t_GL2); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
311 | |
| 12784 | 312 | 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
|
313 | purple_account_remove_buddy(account, buddy, group) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
314 | Purple::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
|
315 | 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
|
316 | Purple::BuddyList::Group group |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
317 | |
| 12784 | 318 | 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
|
319 | purple_account_remove_group(account, group) |
|
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 |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
321 | Purple::BuddyList::Group group |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11318
diff
changeset
|
322 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
323 | MODULE = Purple::Account PACKAGE = Purple::Account::Privacy PREFIX = purple_account_privacy_ |
| 11118 | 324 | PROTOTYPES: ENABLE |
| 6508 | 325 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
326 | gboolean |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
327 | purple_account_privacy_permit_add(account, name, local_only) |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
328 | Purple::Account account |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
329 | const char * name |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
330 | gboolean local_only |
| 6508 | 331 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
332 | gboolean |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
333 | purple_account_privacy_permit_remove(account, name, local_only) |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
334 | Purple::Account account |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
335 | const char * name |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
336 | gboolean local_only |
| 6508 | 337 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
338 | gboolean |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
339 | purple_account_privacy_deny_add(account, name, local_only) |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
340 | Purple::Account account |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
341 | const char * name |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
342 | gboolean local_only |
| 11118 | 343 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
344 | gboolean |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
345 | purple_account_privacy_deny_remove(account, name, local_only) |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
346 | Purple::Account account |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
347 | const char * name |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
348 | gboolean local_only |
| 6508 | 349 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
350 | gboolean |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
351 | purple_account_privacy_check(account, who) |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
352 | Purple::Account account |
|
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34198
diff
changeset
|
353 | const char * who |