annotate plugins/perl/common/Account.xs @ 13381:d1b29fb3b6d0

[gaim-migrate @ 15754] peer_connection->conn appears to be NULL in certain situations, it is preferable not to crash when this happens. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 02 Mar 2006 22:55:12 +0000
parents 7ffee2a0fb12
children 702107dd58f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
1 #include "module.h"
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
2
11290
b284c703d398 [gaim-migrate @ 13490]
John H. Kelm <johnkelm@gmail.com>
parents: 11130
diff changeset
3 MODULE = Gaim::Account PACKAGE = Gaim::Account PREFIX = gaim_account_
b284c703d398 [gaim-migrate @ 13490]
John H. Kelm <johnkelm@gmail.com>
parents: 11130
diff changeset
4 PROTOTYPES: ENABLE
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
5
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
6 Gaim::Presence
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
7 gaim_account_get_presence(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
8 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
9
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
10 Gaim::Account
12364
6fd82071a7b8 [gaim-migrate @ 14668]
Mark Doliner <mark@kingant.net>
parents: 11643
diff changeset
11 gaim_account_new(class, username, protocol_id)
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
12 const char * username
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
13 const char * protocol_id
12364
6fd82071a7b8 [gaim-migrate @ 14668]
Mark Doliner <mark@kingant.net>
parents: 11643
diff changeset
14 C_ARGS:
6fd82071a7b8 [gaim-migrate @ 14668]
Mark Doliner <mark@kingant.net>
parents: 11643
diff changeset
15 username, protocol_id
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
16
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
17 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
18 gaim_account_destroy(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
19 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
20
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
21 void
10437
446f5f28e8d0 [gaim-migrate @ 11694]
Mark Doliner <mark@kingant.net>
parents: 10404
diff changeset
22 gaim_account_connect(account)
446f5f28e8d0 [gaim-migrate @ 11694]
Mark Doliner <mark@kingant.net>
parents: 10404
diff changeset
23 Gaim::Account account
446f5f28e8d0 [gaim-migrate @ 11694]
Mark Doliner <mark@kingant.net>
parents: 10404
diff changeset
24
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
25 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
26 gaim_account_register(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
27 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
28
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
29 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
30 gaim_account_disconnect(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
31 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
32
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
33 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
34 gaim_account_request_change_password(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
35 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
36
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
37 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
38 gaim_account_request_change_user_info(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
39 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
40
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
41 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
42 gaim_account_set_username(account, username)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
43 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
44 const char * username
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
45
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
46 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
47 gaim_account_set_password(account, password)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
48 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
49 const char * password
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
50
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
51 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
52 gaim_account_set_alias(account, alias)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
53 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
54 const char * alias
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
55
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
56 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
57 gaim_account_set_user_info(account, user_info)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
58 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
59 const char *user_info
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
60
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
61 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
62 gaim_account_set_buddy_icon(account, icon)
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
63 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
64 const char *icon
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
65
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
66 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
67 gaim_account_set_connection(account, gc)
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
68 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
69 Gaim::Connection gc
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
70
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
71 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
72 gaim_account_set_remember_password(account, value)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
73 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
74 gboolean value
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
75
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
76 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
77 gaim_account_set_check_mail(account, value)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
78 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
79 gboolean value
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
80
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
81 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
82 gaim_account_set_proxy_info(account, info)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
83 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
84 Gaim::ProxyInfo info
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
85
10504
1a97d5e88d12 [gaim-migrate @ 11796]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10437
diff changeset
86 void
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
87 gaim_account_set_status(account, status_id, active)
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
88 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
89 const char *status_id
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
90 gboolean active
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
91 CODE:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
92 gaim_account_set_status(account, status_id, active);
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
93
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
94 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
95 gaim_account_set_status_types(account, status_types)
10504
1a97d5e88d12 [gaim-migrate @ 11796]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10437
diff changeset
96 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
97 SV * status_types
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
98 PREINIT:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
99 GList *t_GL;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
100 int i, t_len;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
101 PPCODE:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
102 t_GL = NULL;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
103 t_len = av_len((AV *)SvRV(status_types));
10504
1a97d5e88d12 [gaim-migrate @ 11796]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10437
diff changeset
104
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
105 for (i = 0; i < t_len; i++) {
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
106 STRLEN t_sl;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
107 t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(status_types), i, 0), t_sl));
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
108 }
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
109 gaim_account_set_status_types(account, t_GL);
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
110
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
111 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
112 gaim_account_clear_settings(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
113 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
114
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
115 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
116 gaim_account_set_int(account, name, value)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
117 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
118 const char *name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
119 int value
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
120
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
121 gboolean
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
122 gaim_account_is_connected(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
123 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
124
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
125 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
126 gaim_account_get_username(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
127 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
128
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
129 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
130 gaim_account_get_password(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
131 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
132
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
133 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
134 gaim_account_get_alias(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
135 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
136
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
137 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
138 gaim_account_get_user_info(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
139 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
140
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
141 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
142 gaim_account_get_buddy_icon(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
143 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
144
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
145 const char *
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
146 gaim_account_get_protocol_id(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
147 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
148
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
149 const char *
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
150 gaim_account_get_protocol_name(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
151 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
152
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
153 Gaim::Connection
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
154 gaim_account_get_connection(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
155 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
156
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
157 gboolean
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
158 gaim_account_get_remember_password(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
159 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
160
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
161 gboolean
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
162 gaim_account_get_check_mail(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
163 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
164
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
165 Gaim::ProxyInfo
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
166 gaim_account_get_proxy_info(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
167 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
168
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
169 Gaim::Status
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
170 gaim_account_get_active_status(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
171 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
172
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
173 void
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
174 gaim_account_get_status_types(account)
10504
1a97d5e88d12 [gaim-migrate @ 11796]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10437
diff changeset
175 Gaim::Account account
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
176 PREINIT:
11130
3f3bc7f1b6bf [gaim-migrate @ 13186]
John H. Kelm <johnkelm@gmail.com>
parents: 11118
diff changeset
177 const GList *l;
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
178 PPCODE:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
179 for (l = gaim_account_get_status_types(account); l != NULL; l = l->next) {
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
180 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::StatusType")));
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
181 }
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
182
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
183 Gaim::Log
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
184 gaim_account_get_log(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
185 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
186
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
187 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
188 gaim_account_destroy_log(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
189 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
190
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
191 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
192 gaim_account_add_buddies(account, list)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
193 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
194 SV * list
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
195 PREINIT:
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
196 GList *t_GL;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
197 int i, t_len;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
198 PPCODE:
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
199 t_GL = NULL;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
200 t_len = av_len((AV *)SvRV(list));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
201
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
202 for (i = 0; i < t_len; i++) {
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
203 STRLEN t_sl;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
204 t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(list), i, 0), t_sl));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
205 }
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
206 gaim_account_add_buddies(account, t_GL);
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
207
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
208 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
209 gaim_account_add_buddy(account, buddy)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
210 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
211 Gaim::BuddyList::Buddy buddy
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
212
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
213 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
214 gaim_account_change_password(account, a, b)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
215 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
216 const char * a
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
217 const char * b
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
218
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
219 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
220 gaim_account_remove_buddies(account, A, B)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
221 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
222 SV * A
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
223 SV * B
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
224 PREINIT:
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
225 GList *t_GL1, *t_GL2;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
226 int i, t_len;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
227 PPCODE:
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
228 t_GL1 = NULL;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
229 t_len = av_len((AV *)SvRV(A));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
230
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
231 for (i = 0; i < t_len; i++) {
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
232 STRLEN t_sl;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
233 t_GL1 = g_list_append(t_GL1, SvPV(*av_fetch((AV *)SvRV(A), i, 0), t_sl));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
234 }
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
235
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
236 t_GL2 = NULL;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
237 t_len = av_len((AV *)SvRV(B));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
238
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
239 for (i = 0; i < t_len; i++) {
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
240 STRLEN t_sl;
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
241 t_GL2 = g_list_append(t_GL2, SvPV(*av_fetch((AV *)SvRV(B), i, 0), t_sl));
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
242 }
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
243 gaim_account_remove_buddies(account, t_GL1, t_GL2);
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
244
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
245 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
246 gaim_account_remove_buddy(account, buddy, group)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
247 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
248 Gaim::BuddyList::Buddy buddy
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
249 Gaim::BuddyList::Group group
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
250
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
251 void
11643
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
252 gaim_account_remove_group(account, group)
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
253 Gaim::Account account
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
254 Gaim::BuddyList::Group group
eb14bbcf7249 [gaim-migrate @ 13920]
Mark Doliner <mark@kingant.net>
parents: 11318
diff changeset
255
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
256 MODULE = Gaim::Account PACKAGE = Gaim::Accounts PREFIX = gaim_accounts_
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
257 PROTOTYPES: ENABLE
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
258
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
259 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
260 gaim_accounts_add(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
261 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
262
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
263 void
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
264 gaim_accounts_remove(account)
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
265 Gaim::Account account
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
266
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
267 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
268 gaim_accounts_delete(account)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
269 Gaim::Account account
6595
782eef79cf3c [gaim-migrate @ 7119]
Christian Hammond <chipx86@chipx86.com>
parents: 6551
diff changeset
270
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
271 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
272 gaim_accounts_reorder(account, new_index)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
273 Gaim::Account account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
274 size_t new_index
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
275
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
276 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
277 gaim_accounts_get_all()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
278 PREINIT:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
279 GList *l;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
280 PPCODE:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
281 for (l = gaim_accounts_get_all(); l != NULL; l = l->next) {
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
282 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Account")));
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
283 }
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
284
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
285 void
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
286 gaim_accounts_get_all_active()
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
287 PREINIT:
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
288 GList *l;
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
289 PPCODE:
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
290 for (l = gaim_accounts_get_all_active(); l != NULL; l = l->next) {
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
291 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Account")));
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
292 }
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
293
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
294 Gaim::Account
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
295 gaim_accounts_find(name, protocol)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
296 const char * name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
297 const char * protocol
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
298
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
299 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
300 gaim_accounts_set_ui_ops(ops)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
301 Gaim::Account::UiOps ops
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
302
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
303 Gaim::Account::UiOps
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
304 gaim_accounts_get_ui_ops()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
305
13349
7ffee2a0fb12 [gaim-migrate @ 15721]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 12784
diff changeset
306 void *
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
307 gaim_accounts_get_handle()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
308
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
309 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
310 gaim_accounts_init()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
311
12784
d3476701107d [gaim-migrate @ 15131]
Etan Reisner <pidgin@unreliablesource.net>
parents: 12364
diff changeset
312 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents: 10741
diff changeset
313 gaim_accounts_uninit()