gaim-compat.h
Go to the documentation of this file.
1
6 /* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26 #ifndef _GAIM_COMPAT_H_
27 #define _GAIM_COMPAT_H_
28
29 #include <glib.h>
30
31 /* from account.h */
32 #define GaimAccountUiOps PurpleAccountUiOps
33 #define GaimAccount PurpleAccount
34
35 #define GaimFilterAccountFunc PurpleFilterAccountFunc
36 #define GaimAccountRequestAuthorizationCb PurpleAccountRequestAuthorizationCb
37
38 #define gaim_account_new purple_account_new
39 #define gaim_account_destroy purple_account_destroy
40 #define gaim_account_connect purple_account_connect
41 #define gaim_account_register purple_account_register
42 #define gaim_account_disconnect purple_account_disconnect
43 #define gaim_account_notify_added purple_account_notify_added
44 #define gaim_account_request_add purple_account_request_add
45 #define gaim_account_request_close purple_account_request_close
46
47 #define gaim_account_request_authorization purple_account_request_authorization
48 #define gaim_account_request_change_password purple_account_request_change_password
49 #define gaim_account_request_change_user_info purple_account_request_change_user_info
50
51 #define gaim_account_set_username purple_account_set_username
52 #define gaim_account_set_password purple_account_set_password
53 #define gaim_account_set_alias purple_account_set_alias
54 #define gaim_account_set_user_info purple_account_set_user_info
55 #define gaim_account_set_buddy_icon_path purple_account_set_buddy_icon_path
56 #define gaim_account_set_protocol_id purple_account_set_protocol_id
57 #define gaim_account_set_connection purple_account_set_connection
58 #define gaim_account_set_remember_password purple_account_set_remember_password
59 #define gaim_account_set_check_mail purple_account_set_check_mail
60 #define gaim_account_set_enabled purple_account_set_enabled
61 #define gaim_account_set_proxy_info purple_account_set_proxy_info
62 #define gaim_account_set_status_types purple_account_set_status_types
63 #define gaim_account_set_status purple_account_set_status
64 #define gaim_account_set_status_list purple_account_set_status_list
65
66 #define gaim_account_clear_settings purple_account_clear_settings
67
68 #define gaim_account_set_int purple_account_set_int
69 #define gaim_account_set_string purple_account_set_string
70 #define gaim_account_set_bool purple_account_set_bool
71
72 #define gaim_account_set_ui_int purple_account_set_ui_int
73 #define gaim_account_set_ui_string purple_account_set_ui_string
74 #define gaim_account_set_ui_bool purple_account_set_ui_bool
75
76 #define gaim_account_is_connected purple_account_is_connected
77 #define gaim_account_is_connecting purple_account_is_connecting
78 #define gaim_account_is_disconnected purple_account_is_disconnected
79
80 #define gaim_account_get_username purple_account_get_username
81 #define gaim_account_get_password purple_account_get_password
82 #define gaim_account_get_alias purple_account_get_alias
83 #define gaim_account_get_user_info purple_account_get_user_info
84 #define gaim_account_get_buddy_icon_path purple_account_get_buddy_icon_path
85 #define gaim_account_get_protocol_id purple_account_get_protocol_id
86 #define gaim_account_get_protocol_name purple_account_get_protocol_name
87 #define gaim_account_get_connection purple_account_get_connection
88 #define gaim_account_get_remember_password purple_account_get_remember_password
89 #define gaim_account_get_check_mail purple_account_get_check_mail
90 #define gaim_account_get_enabled purple_account_get_enabled
91 #define gaim_account_get_proxy_info purple_account_get_proxy_info
92 #define gaim_account_get_active_status purple_account_get_active_status
93 #define gaim_account_get_status purple_account_get_status
94 #define gaim_account_get_status_type purple_account_get_status_type
95 #define gaim_account_get_status_type_with_primitive \
96 purple_account_get_status_type_with_primitive
97
98 #define gaim_account_get_presence purple_account_get_presence
99 #define gaim_account_is_status_active purple_account_is_status_active
100 #define gaim_account_get_status_types purple_account_get_status_types
101
102 #define gaim_account_get_int purple_account_get_int
103 #define gaim_account_get_string purple_account_get_string
104 #define gaim_account_get_bool purple_account_get_bool
105
106 #define gaim_account_get_ui_int purple_account_get_ui_int
107 #define gaim_account_get_ui_string purple_account_get_ui_string
108 #define gaim_account_get_ui_bool purple_account_get_ui_bool
109
110
111 #define gaim_account_get_log purple_account_get_log
112 #define gaim_account_destroy_log purple_account_destroy_log
113
114 #define gaim_account_add_buddy purple_account_add_buddy
115 #define gaim_account_add_buddies purple_account_add_buddies
116 #define gaim_account_remove_buddy purple_account_remove_buddy
117 #define gaim_account_remove_buddies purple_account_remove_buddies
118
119 #define gaim_account_remove_group purple_account_remove_group
120
121 #define gaim_account_change_password purple_account_change_password
122
123 #define gaim_account_supports_offline_message purple_account_supports_offline_message
124
125 #define gaim_accounts_add purple_accounts_add
126 #define gaim_accounts_remove purple_accounts_remove
127 #define gaim_accounts_delete purple_accounts_delete
128 #define gaim_accounts_reorder purple_accounts_reorder
129
130 #define gaim_accounts_get_all purple_accounts_get_all
131 #define gaim_accounts_get_all_active purple_accounts_get_all_active
132
133 #define gaim_accounts_find purple_accounts_find
134
135 #define gaim_accounts_restore_current_statuses purple_accounts_restore_current_statuses
136
137 #define gaim_accounts_set_ui_ops purple_accounts_set_ui_ops
138 #define gaim_accounts_get_ui_ops purple_accounts_get_ui_ops
139
140 #define gaim_accounts_get_handle purple_accounts_get_handle
141
142 #define gaim_accounts_init purple_accounts_init
143 #define gaim_accounts_uninit purple_accounts_uninit
144
145 /* from accountopt.h */
146
147 #define GaimAccountOption PurpleAccountOption
148 #define GaimAccountUserSplit PurpleAccountUserSplit
149
150 #define gaim_account_option_new purple_account_option_new
151 #define gaim_account_option_bool_new purple_account_option_bool_new
152 #define gaim_account_option_int_new purple_account_option_int_new
153 #define gaim_account_option_string_new purple_account_option_string_new
154 #define gaim_account_option_list_new purple_account_option_list_new
155
156 #define gaim_account_option_destroy purple_account_option_destroy
157
158 #define gaim_account_option_set_default_bool purple_account_option_set_default_bool
159 #define gaim_account_option_set_default_int purple_account_option_set_default_int
160 #define gaim_account_option_set_default_string purple_account_option_set_default_string
161
162 #define gaim_account_option_set_masked purple_account_option_set_masked
163
164 #define gaim_account_option_set_list purple_account_option_set_list
165
166 #define gaim_account_option_add_list_item purple_account_option_add_list_item
167
168 #define gaim_account_option_get_type purple_account_option_get_type
169 #define gaim_account_option_get_text purple_account_option_get_text
170 #define gaim_account_option_get_setting purple_account_option_get_setting
171
172 #define gaim_account_option_get_default_bool purple_account_option_get_default_bool
173 #define gaim_account_option_get_default_int purple_account_option_get_default_int
174 #define gaim_account_option_get_default_string purple_account_option_get_default_string
175 #define gaim_account_option_get_default_list_value purple_account_option_get_default_list_value
176
177 #define gaim_account_option_get_masked purple_account_option_get_masked
178 #define gaim_account_option_get_list purple_account_option_get_list
179
180 #define gaim_account_user_split_new purple_account_user_split_new
181 #define gaim_account_user_split_destroy purple_account_user_split_destroy
182
183 #define gaim_account_user_split_get_text purple_account_user_split_get_text
184 #define gaim_account_user_split_get_default_value purple_account_user_split_get_default_value
185 #define gaim_account_user_split_get_separator purple_account_user_split_get_separator
186
187 /* from blist.h */
188
189 #define GaimBuddyList PurpleBuddyList
190 #define GaimBlistUiOps PurpleBlistUiOps
191 #define GaimBlistNode PurpleBlistNode
192
193 #define GaimChat PurpleChat
194 #define GaimGroup PurpleGroup
195 #define GaimContact PurpleContact
196 #define GaimBuddy PurpleBuddy
197
198 #define GAIM_BLIST_GROUP_NODE PURPLE_BLIST_GROUP_NODE
199 #define GAIM_BLIST_CONTACT_NODE PURPLE_BLIST_CONTACT_NODE
200 #define GAIM_BLIST_BUDDY_NODE PURPLE_BLIST_BUDDY_NODE
201 #define GAIM_BLIST_CHAT_NODE PURPLE_BLIST_CHAT_NODE
202 #define GAIM_BLIST_OTHER_NODE PURPLE_BLIST_OTHER_NODE
203 #define GaimBlistNodeType PurpleBlistNodeType
204
205 #define GAIM_BLIST_NODE_IS_CHAT PURPLE_BLIST_NODE_IS_CHAT
206 #define GAIM_BLIST_NODE_IS_BUDDY PURPLE_BLIST_NODE_IS_BUDDY
207 #define GAIM_BLIST_NODE_IS_CONTACT PURPLE_BLIST_NODE_IS_CONTACT
208 #define GAIM_BLIST_NODE_IS_GROUP PURPLE_BLIST_NODE_IS_GROUP
209
210 #define GAIM_BUDDY_IS_ONLINE PURPLE_BUDDY_IS_ONLINE
211
212 #define GAIM_BLIST_NODE_FLAG_NO_SAVE PURPLE_BLIST_NODE_FLAG_NO_SAVE
213 #define GaimBlistNodeFlags PurpleBlistNodeFlags
214
215 #define GAIM_BLIST_NODE_HAS_FLAG PURPLE_BLIST_NODE_HAS_FLAG
216 #define GAIM_BLIST_NODE_SHOULD_SAVE PURPLE_BLIST_NODE_SHOULD_SAVE
217
218 #define GAIM_BLIST_NODE_NAME PURPLE_BLIST_NODE_NAME
219
220
221 #define gaim_blist_new purple_blist_new
222 #define gaim_set_blist purple_set_blist
223 #define gaim_get_blist purple_get_blist
224
225 #define gaim_blist_get_root purple_blist_get_root
226 #define gaim_blist_node_next purple_blist_node_next
227
228 #define gaim_blist_show purple_blist_show
229
230 #define gaim_blist_destroy purple_blist_destroy
231
232 #define gaim_blist_set_visible purple_blist_set_visible
233
234 #define gaim_blist_update_buddy_status purple_blist_update_buddy_status
235 #define gaim_blist_update_buddy_icon purple_blist_update_buddy_icon
236
237
238 #define gaim_blist_alias_contact purple_blist_alias_contact
239 #define gaim_blist_alias_buddy purple_blist_alias_buddy
240 #define gaim_blist_server_alias_buddy purple_blist_server_alias_buddy
241 #define gaim_blist_alias_chat purple_blist_alias_chat
242
243 #define gaim_blist_rename_buddy purple_blist_rename_buddy
244 #define gaim_blist_rename_group purple_blist_rename_group
245
246 #define gaim_chat_new purple_chat_new
247 #define gaim_blist_add_chat purple_blist_add_chat
248
249 #define gaim_buddy_new purple_buddy_new
250 #define gaim_buddy_set_icon purple_buddy_set_icon
251 #define gaim_buddy_get_account purple_buddy_get_account
252 #define gaim_buddy_get_name purple_buddy_get_name
253 #define gaim_buddy_get_icon purple_buddy_get_icon
254 #define gaim_buddy_get_contact purple_buddy_get_contact
255 #define gaim_buddy_get_presence purple_buddy_get_presence
256
257 #define gaim_blist_add_buddy purple_blist_add_buddy
258
259 #define gaim_group_new purple_group_new
260
261 #define gaim_blist_add_group purple_blist_add_group
262
263 #define gaim_contact_new purple_contact_new
264
265 #define gaim_blist_add_contact purple_blist_add_contact
266 #define gaim_blist_merge_contact purple_blist_merge_contact
267
268 #define gaim_contact_get_priority_buddy purple_contact_get_priority_buddy
269 #define gaim_contact_set_alias purple_contact_set_alias
270 #define gaim_contact_get_alias purple_contact_get_alias
271 #define gaim_contact_on_account purple_contact_on_account
272
273 #define gaim_contact_invalidate_priority_buddy purple_contact_invalidate_priority_buddy
274
275 #define gaim_blist_remove_buddy purple_blist_remove_buddy
276 #define gaim_blist_remove_contact purple_blist_remove_contact
277 #define gaim_blist_remove_chat purple_blist_remove_chat
278 #define gaim_blist_remove_group purple_blist_remove_group
279
280 #define gaim_buddy_get_alias_only purple_buddy_get_alias_only
281 #define gaim_buddy_get_server_alias purple_buddy_get_server_alias
282 #define gaim_buddy_get_contact_alias purple_buddy_get_contact_alias
283 #define gaim_buddy_get_local_alias purple_buddy_get_local_alias
284 #define gaim_buddy_get_alias purple_buddy_get_alias
285
286 #define gaim_chat_get_name purple_chat_get_name
287
288 #define gaim_find_buddy purple_find_buddy
289 #define gaim_find_buddy_in_group purple_find_buddy_in_group
290 #define gaim_find_buddies purple_find_buddies
291
292 #define gaim_find_group purple_find_group
293
294 #define gaim_blist_find_chat purple_blist_find_chat
295
296 #define gaim_chat_get_group purple_chat_get_group
297 #define gaim_buddy_get_group purple_buddy_get_group
298
299 #define gaim_group_get_accounts purple_group_get_accounts
300 #define gaim_group_on_account purple_group_on_account
301
302 #define gaim_blist_add_account purple_blist_add_account
303 #define gaim_blist_remove_account purple_blist_remove_account
304
305 #define gaim_blist_get_group_size purple_blist_get_group_size
306 #define gaim_blist_get_group_online_count purple_blist_get_group_online_count
307
308 #define gaim_blist_load purple_blist_load
309 #define gaim_blist_schedule_save purple_blist_schedule_save
310
311 #define gaim_blist_request_add_buddy purple_blist_request_add_buddy
312 #define gaim_blist_request_add_chat purple_blist_request_add_chat
313 #define gaim_blist_request_add_group purple_blist_request_add_group
314
315 #define gaim_blist_node_set_bool purple_blist_node_set_bool
316 #define gaim_blist_node_get_bool purple_blist_node_get_bool
317 #define gaim_blist_node_set_int purple_blist_node_set_int
318 #define gaim_blist_node_get_int purple_blist_node_get_int
319 #define gaim_blist_node_set_string purple_blist_node_set_string
320 #define gaim_blist_node_get_string purple_blist_node_get_string
321
322 #define gaim_blist_node_remove_setting purple_blist_node_remove_setting
323
324 #define gaim_blist_node_set_flags purple_blist_node_set_flags
325 #define gaim_blist_node_get_flags purple_blist_node_get_flags
326
327 #define gaim_blist_node_get_extended_menu purple_blist_node_get_extended_menu
328
329 #define gaim_blist_set_ui_ops purple_blist_set_ui_ops
330 #define gaim_blist_get_ui_ops purple_blist_get_ui_ops
331
332 #define gaim_blist_get_handle purple_blist_get_handle
333
334 #define gaim_blist_init purple_blist_init
335 #define gaim_blist_uninit purple_blist_uninit
336
337
338 #define GaimBuddyIcon PurpleBuddyIcon
339
340 #define gaim_buddy_icon_new(account, username, icon_data, icon_len)\
341 purple_buddy_icon_new(account, username, g_memdup(icon_data, icon_len), icon_len)
342 #define gaim_buddy_icon_ref purple_buddy_icon_ref
343 #define gaim_buddy_icon_unref purple_buddy_icon_unref
344 #define gaim_buddy_icon_update purple_buddy_icon_update
345
346 #define gaim_buddy_icon_set_data(icon, data, len) \
347 purple_buddy_icon_set_data(icon, g_memdup(data, len), len, NULL);
348
349 #define gaim_buddy_icon_get_account purple_buddy_icon_get_account
350 #define gaim_buddy_icon_get_username purple_buddy_icon_get_username
351 #define gaim_buddy_icon_get_data purple_buddy_icon_get_data
352 #define gaim_buddy_icon_get_type purple_buddy_icon_get_extension
353
354 #define gaim_buddy_icons_set_for_user(icon, data, len) \
355 purple_buddy_icons_set_for_user(icon, g_memdup(data, len), len, NULL)
356 #define gaim_buddy_icons_set_caching purple_buddy_icons_set_caching
357 #define gaim_buddy_icons_is_caching purple_buddy_icons_is_caching
358 #define gaim_buddy_icons_set_cache_dir purple_buddy_icons_set_cache_dir
359 #define gaim_buddy_icons_get_cache_dir purple_buddy_icons_get_cache_dir
360 #define gaim_buddy_icons_get_handle purple_buddy_icons_get_handle
361
362 #define gaim_buddy_icons_init purple_buddy_icons_init
363 #define gaim_buddy_icons_uninit purple_buddy_icons_uninit
364
365 #define gaim_buddy_icon_get_scale_size purple_buddy_icon_get_scale_size
366
367 /* from cipher.h */
368
369 #define GAIM_CIPHER PURPLE_CIPHER
370 #define GAIM_CIPHER_OPS PURPLE_CIPHER_OPS
371 #define GAIM_CIPHER_CONTEXT PURPLE_CIPHER_CONTEXT
372
373 #define GaimCipher PurpleCipher
374 #define GaimCipherOps PurpleCipherOps
375 #define GaimCipherContext PurpleCipherContext
376
377 #define GAIM_CIPHER_CAPS_SET_OPT PURPLE_CIPHER_CAPS_SET_OPT
378 #define GAIM_CIPHER_CAPS_GET_OPT PURPLE_CIPHER_CAPS_GET_OPT
379 #define GAIM_CIPHER_CAPS_INIT PURPLE_CIPHER_CAPS_INIT
380 #define GAIM_CIPHER_CAPS_RESET PURPLE_CIPHER_CAPS_RESET
381 #define GAIM_CIPHER_CAPS_UNINIT PURPLE_CIPHER_CAPS_UNINIT
382 #define GAIM_CIPHER_CAPS_SET_IV PURPLE_CIPHER_CAPS_SET_IV
383 #define GAIM_CIPHER_CAPS_APPEND PURPLE_CIPHER_CAPS_APPEND
384 #define GAIM_CIPHER_CAPS_DIGEST PURPLE_CIPHER_CAPS_DIGEST
385 #define GAIM_CIPHER_CAPS_ENCRYPT PURPLE_CIPHER_CAPS_ENCRYPT
386 #define GAIM_CIPHER_CAPS_DECRYPT PURPLE_CIPHER_CAPS_DECRYPT
387 #define GAIM_CIPHER_CAPS_SET_SALT PURPLE_CIPHER_CAPS_SET_SALT
388 #define GAIM_CIPHER_CAPS_GET_SALT_SIZE PURPLE_CIPHER_CAPS_GET_SALT_SIZE
389 #define GAIM_CIPHER_CAPS_SET_KEY PURPLE_CIPHER_CAPS_SET_KEY
390 #define GAIM_CIPHER_CAPS_GET_KEY_SIZE PURPLE_CIPHER_CAPS_GET_KEY_SIZE
391 #define GAIM_CIPHER_CAPS_UNKNOWN PURPLE_CIPHER_CAPS_UNKNOWN
392
393 #define gaim_cipher_get_name purple_cipher_get_name
394 #define gaim_cipher_get_capabilities purple_cipher_get_capabilities
395 #define gaim_cipher_digest_region purple_cipher_digest_region
396
397 #define gaim_ciphers_find_cipher purple_ciphers_find_cipher
398 #define gaim_ciphers_register_cipher purple_ciphers_register_cipher
399 #define gaim_ciphers_unregister_cipher purple_ciphers_unregister_cipher
400 #define gaim_ciphers_get_ciphers purple_ciphers_get_ciphers
401
402 #define gaim_ciphers_get_handle purple_ciphers_get_handle
403 #define gaim_ciphers_init purple_ciphers_init
404 #define gaim_ciphers_uninit purple_ciphers_uninit
405
406 #define gaim_cipher_context_set_option purple_cipher_context_set_option
407 #define gaim_cipher_context_get_option purple_cipher_context_get_option
408
409 #define gaim_cipher_context_new purple_cipher_context_new
410 #define gaim_cipher_context_new_by_name purple_cipher_context_new_by_name
411 #define gaim_cipher_context_reset purple_cipher_context_reset
412 #define gaim_cipher_context_destroy purple_cipher_context_destroy
413 #define gaim_cipher_context_set_iv purple_cipher_context_set_iv
414 #define gaim_cipher_context_append purple_cipher_context_append
415 #define gaim_cipher_context_digest purple_cipher_context_digest
416 #define gaim_cipher_context_digest_to_str purple_cipher_context_digest_to_str
417 #define gaim_cipher_context_encrypt purple_cipher_context_encrypt
418 #define gaim_cipher_context_decrypt purple_cipher_context_decrypt
419 #define gaim_cipher_context_set_salt purple_cipher_context_set_salt
420 #define gaim_cipher_context_get_salt_size purple_cipher_context_get_salt_size
421 #define gaim_cipher_context_set_key purple_cipher_context_set_key
422 #define gaim_cipher_context_get_key_size purple_cipher_context_get_key_size
423 #define gaim_cipher_context_set_data purple_cipher_context_set_data
424 #define gaim_cipher_context_get_data purple_cipher_context_get_data
425
426 #define gaim_cipher_http_digest_calculate_session_key \
427 purple_cipher_http_digest_calculate_session_key
428
429 #define gaim_cipher_http_digest_calculate_response \
430 purple_cipher_http_digest_calculate_response
431
432 /* from circbuffer.h */
433
434 #define GaimCircBuffer PurpleCircBuffer
435
436 #define gaim_circ_buffer_new purple_circ_buffer_new
437 #define gaim_circ_buffer_destroy purple_circ_buffer_destroy
438 #define gaim_circ_buffer_append purple_circ_buffer_append
439 #define gaim_circ_buffer_get_max_read purple_circ_buffer_get_max_read
440 #define gaim_circ_buffer_mark_read purple_circ_buffer_mark_read
441
442 /* from cmds.h */
443
444 #define GaimCmdPriority PurpleCmdPriority
445 #define GaimCmdFlag PurpleCmdFlag
446 #define GaimCmdStatus PurpleCmdStatus
447 #define GaimCmdRet PurpleCmdRet
448
449 #define GAIM_CMD_STATUS_OK PURPLE_CMD_STATUS_OK
450 #define GAIM_CMD_STATUS_FAILED PURPLE_CMD_STATUS_FAILED
451 #define GAIM_CMD_STATUS_NOT_FOUND PURPLE_CMD_STATUS_NOT_FOUND
452 #define GAIM_CMD_STATUS_WRONG_ARGS PURPLE_CMD_STATUS_WRONG_ARGS
453 #define GAIM_CMD_STATUS_WRONG_PRPL PURPLE_CMD_STATUS_WRONG_PRPL
454 #define GAIM_CMD_STATUS_WRONG_TYPE PURPLE_CMD_STATUS_WRONG_TYPE
455
456 #define GAIM_CMD_FUNC PURPLE_CMD_FUNC
457
458 #define GAIM_CMD_RET_OK PURPLE_CMD_RET_OK
459 #define GAIM_CMD_RET_FAILED PURPLE_CMD_RET_FAILED
460 #define GAIM_CMD_RET_CONTINUE PURPLE_CMD_RET_CONTINUE
461
462 #define GAIM_CMD_P_VERY_LOW PURPLE_CMD_P_VERY_LOW
463 #define GAIM_CMD_P_LOW PURPLE_CMD_P_LOW
464 #define GAIM_CMD_P_DEFAULT PURPLE_CMD_P_DEFAULT
465 #define GAIM_CMD_P_PRPL PURPLE_CMD_P_PRPL
466 #define GAIM_CMD_P_PLUGIN PURPLE_CMD_P_PLUGIN
467 #define GAIM_CMD_P_ALIAS PURPLE_CMD_P_ALIAS
468 #define GAIM_CMD_P_HIGH PURPLE_CMD_P_HIGH
469 #define GAIM_CMD_P_VERY_HIGH PURPLE_CMD_P_VERY_HIGH
470
471 #define GAIM_CMD_FLAG_IM PURPLE_CMD_FLAG_IM
472 #define GAIM_CMD_FLAG_CHAT PURPLE_CMD_FLAG_CHAT
473 #define GAIM_CMD_FLAG_PRPL_ONLY PURPLE_CMD_FLAG_PRPL_ONLY
474 #define GAIM_CMD_FLAG_ALLOW_WRONG_ARGS PURPLE_CMD_FLAG_ALLOW_WRONG_ARGS
475
476
477 #define GaimCmdFunc PurpleCmdFunc
478
479 #define GaimCmdId PurpleCmdId
480
481 #define gaim_cmd_register purple_cmd_register
482 #define gaim_cmd_unregister purple_cmd_unregister
483 #define gaim_cmd_do_command purple_cmd_do_command
484 #define gaim_cmd_list purple_cmd_list
485 #define gaim_cmd_help purple_cmd_help
486
487 /* from connection.h */
488
489 #define GaimConnection PurpleConnection
490
491 #define GAIM_CONNECTION_HTML PURPLE_CONNECTION_HTML
492 #define GAIM_CONNECTION_NO_BGCOLOR PURPLE_CONNECTION_NO_BGCOLOR
493 #define GAIM_CONNECTION_AUTO_RESP PURPLE_CONNECTION_AUTO_RESP
494 #define GAIM_CONNECTION_FORMATTING_WBFO PURPLE_CONNECTION_FORMATTING_WBFO
495 #define GAIM_CONNECTION_NO_NEWLINES PURPLE_CONNECTION_NO_NEWLINES
496 #define GAIM_CONNECTION_NO_FONTSIZE PURPLE_CONNECTION_NO_FONTSIZE
497 #define GAIM_CONNECTION_NO_URLDESC PURPLE_CONNECTION_NO_URLDESC
498 #define GAIM_CONNECTION_NO_IMAGES PURPLE_CONNECTION_NO_IMAGES
499
500 #define GaimConnectionFlags PurpleConnectionFlags
501
502 #define GAIM_DISCONNECTED PURPLE_DISCONNECTED
503 #define GAIM_CONNECTED PURPLE_CONNECTED
504 #define GAIM_CONNECTING PURPLE_CONNECTING
505
506 #define GaimConnectionState PurpleConnectionState
507
508 #define GaimConnectionUiOps PurpleConnectionUiOps
509
510 #define gaim_connection_new purple_connection_new
511 #define gaim_connection_destroy purple_connection_destroy
512
513 #define gaim_connection_set_state purple_connection_set_state
514 #define gaim_connection_set_account purple_connection_set_account
515 #define gaim_connection_set_display_name purple_connection_set_display_name
516 #define gaim_connection_get_state purple_connection_get_state
517
518 #define GAIM_CONNECTION_IS_CONNECTED PURPLE_CONNECTION_IS_CONNECTED
519
520 #define gaim_connection_get_account purple_connection_get_account
521 #define gaim_connection_get_password purple_connection_get_password
522 #define gaim_connection_get_display_name purple_connection_get_display_name
523
524 #define gaim_connection_update_progress purple_connection_update_progress
525
526 #define gaim_connection_notice purple_connection_notice
527 #define gaim_connection_error purple_connection_error
528
529 #define gaim_connections_disconnect_all purple_connections_disconnect_all
530
531 #define gaim_connections_get_all purple_connections_get_all
532 #define gaim_connections_get_connecting purple_connections_get_connecting
533
534 #define GAIM_CONNECTION_IS_VALID PURPLE_CONNECTION_IS_VALID
535
536 #define gaim_connections_set_ui_ops purple_connections_set_ui_ops
537 #define gaim_connections_get_ui_ops purple_connections_get_ui_ops
538
539 #define gaim_connections_init purple_connections_init
540 #define gaim_connections_uninit purple_connections_uninit
541 #define gaim_connections_get_handle purple_connections_get_handle
542
543
544 /* from conversation.h */
545
546 #define GaimConversationUiOps PurpleConversationUiOps
547 #define GaimConversation PurpleConversation
548 #define GaimConvIm PurpleConvIm
549 #define GaimConvChat PurpleConvChat
550 #define GaimConvChatBuddy PurpleConvChatBuddy
551
552 #define GAIM_CONV_TYPE_UNKNOWN PURPLE_CONV_TYPE_UNKNOWN
553 #define GAIM_CONV_TYPE_IM PURPLE_CONV_TYPE_IM
554 #define GAIM_CONV_TYPE_CHAT PURPLE_CONV_TYPE_CHAT
555 #define GAIM_CONV_TYPE_MISC PURPLE_CONV_TYPE_MISC
556 #define GAIM_CONV_TYPE_ANY PURPLE_CONV_TYPE_ANY
557
558 #define GaimConversationType PurpleConversationType
559
560 #define GAIM_CONV_UPDATE_ADD PURPLE_CONV_UPDATE_ADD
561 #define GAIM_CONV_UPDATE_REMOVE PURPLE_CONV_UPDATE_REMOVE
562 #define GAIM_CONV_UPDATE_ACCOUNT PURPLE_CONV_UPDATE_ACCOUNT
563 #define GAIM_CONV_UPDATE_TYPING PURPLE_CONV_UPDATE_TYPING
564 #define GAIM_CONV_UPDATE_UNSEEN PURPLE_CONV_UPDATE_UNSEEN
565 #define GAIM_CONV_UPDATE_LOGGING PURPLE_CONV_UPDATE_LOGGING
566 #define GAIM_CONV_UPDATE_TOPIC PURPLE_CONV_UPDATE_TOPIC
567 #define GAIM_CONV_ACCOUNT_ONLINE PURPLE_CONV_ACCOUNT_ONLINE
568 #define GAIM_CONV_ACCOUNT_OFFLINE PURPLE_CONV_ACCOUNT_OFFLINE
569 #define GAIM_CONV_UPDATE_AWAY PURPLE_CONV_UPDATE_AWAY
570 #define GAIM_CONV_UPDATE_ICON PURPLE_CONV_UPDATE_ICON
571 #define GAIM_CONV_UPDATE_TITLE PURPLE_CONV_UPDATE_TITLE
572 #define GAIM_CONV_UPDATE_CHATLEFT PURPLE_CONV_UPDATE_CHATLEFT
573 #define GAIM_CONV_UPDATE_FEATURES PURPLE_CONV_UPDATE_FEATURES
574
575 #define GaimConvUpdateType PurpleConvUpdateType
576
577 #define GAIM_NOT_TYPING PURPLE_NOT_TYPING
578 #define GAIM_TYPING PURPLE_TYPING
579 #define GAIM_TYPED PURPLE_TYPED
580
581 #define GaimTypingState PurpleTypingState
582
583 #define GAIM_MESSAGE_SEND PURPLE_MESSAGE_SEND
584 #define GAIM_MESSAGE_RECV PURPLE_MESSAGE_RECV
585 #define GAIM_MESSAGE_SYSTEM PURPLE_MESSAGE_SYSTEM
586 #define GAIM_MESSAGE_AUTO_RESP PURPLE_MESSAGE_AUTO_RESP
587 #define GAIM_MESSAGE_ACTIVE_ONLY PURPLE_MESSAGE_ACTIVE_ONLY
588 #define GAIM_MESSAGE_NICK PURPLE_MESSAGE_NICK
589 #define GAIM_MESSAGE_NO_LOG PURPLE_MESSAGE_NO_LOG
590 #define GAIM_MESSAGE_WHISPER PURPLE_MESSAGE_WHISPER
591 #define GAIM_MESSAGE_ERROR PURPLE_MESSAGE_ERROR
592 #define GAIM_MESSAGE_DELAYED PURPLE_MESSAGE_DELAYED
593 #define GAIM_MESSAGE_RAW PURPLE_MESSAGE_RAW
594 #define GAIM_MESSAGE_IMAGES PURPLE_MESSAGE_IMAGES
595
596 #define GaimMessageFlags PurpleMessageFlags
597
598 #define GAIM_CBFLAGS_NONE PURPLE_CBFLAGS_NONE
599 #define GAIM_CBFLAGS_VOICE PURPLE_CBFLAGS_VOICE
600 #define GAIM_CBFLAGS_HALFOP PURPLE_CBFLAGS_HALFOP
601 #define GAIM_CBFLAGS_OP PURPLE_CBFLAGS_OP
602 #define GAIM_CBFLAGS_FOUNDER PURPLE_CBFLAGS_FOUNDER
603 #define GAIM_CBFLAGS_TYPING PURPLE_CBFLAGS_TYPING
604
605 #define GaimConvChatBuddyFlags PurpleConvChatBuddyFlags
606
607 #define gaim_conversations_set_ui_ops purple_conversations_set_ui_ops
608
609 #define gaim_conversation_new purple_conversation_new
610 #define gaim_conversation_destroy purple_conversation_destroy
611 #define gaim_conversation_present purple_conversation_present
612 #define gaim_conversation_get_type purple_conversation_get_type
613 #define gaim_conversation_set_ui_ops purple_conversation_set_ui_ops
614 #define gaim_conversation_get_ui_ops purple_conversation_get_ui_ops
615 #define gaim_conversation_set_account purple_conversation_set_account
616 #define gaim_conversation_get_account purple_conversation_get_account
617 #define gaim_conversation_get_gc purple_conversation_get_gc
618 #define gaim_conversation_set_title purple_conversation_set_title
619 #define gaim_conversation_get_title purple_conversation_get_title
620 #define gaim_conversation_autoset_title purple_conversation_autoset_title
621 #define gaim_conversation_set_name purple_conversation_set_name
622 #define gaim_conversation_get_name purple_conversation_get_name
623 #define gaim_conversation_set_logging purple_conversation_set_logging
624 #define gaim_conversation_is_logging purple_conversation_is_logging
625 #define gaim_conversation_close_logs purple_conversation_close_logs
626 #define gaim_conversation_get_im_data purple_conversation_get_im_data
627
628 #define GAIM_CONV_IM PURPLE_CONV_IM
629
630 #define gaim_conversation_get_chat_data purple_conversation_get_chat_data
631
632 #define GAIM_CONV_CHAT PURPLE_CONV_CHAT
633
634 #define gaim_conversation_set_data purple_conversation_set_data
635 #define gaim_conversation_get_data purple_conversation_get_data
636
637 #define gaim_get_conversations purple_get_conversations
638 #define gaim_get_ims purple_get_ims
639 #define gaim_get_chats purple_get_chats
640
641 #define gaim_find_conversation_with_account \
642 purple_find_conversation_with_account
643
644 #define gaim_conversation_write purple_conversation_write
645 #define gaim_conversation_set_features purple_conversation_set_features
646 #define gaim_conversation_get_features purple_conversation_get_features
647 #define gaim_conversation_has_focus purple_conversation_has_focus
648 #define gaim_conversation_update purple_conversation_update
649 #define gaim_conversation_foreach purple_conversation_foreach
650
651 #define gaim_conv_im_get_conversation purple_conv_im_get_conversation
652 #define gaim_conv_im_set_icon purple_conv_im_set_icon
653 #define gaim_conv_im_get_icon purple_conv_im_get_icon
654 #define gaim_conv_im_set_typing_state purple_conv_im_set_typing_state
655 #define gaim_conv_im_get_typing_state purple_conv_im_get_typing_state
656
657 #define gaim_conv_im_start_typing_timeout purple_conv_im_start_typing_timeout
658 #define gaim_conv_im_stop_typing_timeout purple_conv_im_stop_typing_timeout
659 #define gaim_conv_im_get_typing_timeout purple_conv_im_get_typing_timeout
660 #define gaim_conv_im_set_type_again purple_conv_im_set_type_again
661 #define gaim_conv_im_get_type_again purple_conv_im_get_type_again
662
663 #define gaim_conv_im_start_send_typed_timeout \
664 purple_conv_im_start_send_typed_timeout
665
666 #define gaim_conv_im_stop_send_typed_timeout \
667 purple_conv_im_stop_send_typed_timeout
668
669 #define gaim_conv_im_get_send_typed_timeout \
670 purple_conv_im_get_send_typed_timeout
671
672 #define gaim_conv_present_error purple_conv_present_error
673 #define gaim_conv_send_confirm purple_conv_send_confirm
674
675 #define gaim_conv_im_update_typing purple_conv_im_update_typing
676 #define gaim_conv_im_write purple_conv_im_write
677 #define gaim_conv_im_send purple_conv_im_send
678 #define gaim_conv_im_send_with_flags purple_conv_im_send_with_flags
679
680 #define gaim_conv_custom_smiley_add purple_conv_custom_smiley_add
681 #define gaim_conv_custom_smiley_write purple_conv_custom_smiley_write
682 #define gaim_conv_custom_smiley_close purple_conv_custom_smiley_close
683
684 #define gaim_conv_chat_get_conversation purple_conv_chat_get_conversation
685 #define gaim_conv_chat_set_users purple_conv_chat_set_users
686 #define gaim_conv_chat_get_users purple_conv_chat_get_users
687 #define gaim_conv_chat_ignore purple_conv_chat_ignore
688 #define gaim_conv_chat_unignore purple_conv_chat_unignore
689 #define gaim_conv_chat_set_ignored purple_conv_chat_set_ignored
690 #define gaim_conv_chat_get_ignored purple_conv_chat_get_ignored
691 #define gaim_conv_chat_get_ignored_user purple_conv_chat_get_ignored_user
692 #define gaim_conv_chat_is_user_ignored purple_conv_chat_is_user_ignored
693 #define gaim_conv_chat_set_topic purple_conv_chat_set_topic
694 #define gaim_conv_chat_get_topic purple_conv_chat_get_topic
695 #define gaim_conv_chat_set_id purple_conv_chat_set_id
696 #define gaim_conv_chat_get_id purple_conv_chat_get_id
697 #define gaim_conv_chat_write purple_conv_chat_write
698 #define gaim_conv_chat_send purple_conv_chat_send
699 #define gaim_conv_chat_send_with_flags purple_conv_chat_send_with_flags
700 #define gaim_conv_chat_add_user purple_conv_chat_add_user
701 #define gaim_conv_chat_add_users purple_conv_chat_add_users
702 #define gaim_conv_chat_rename_user purple_conv_chat_rename_user
703 #define gaim_conv_chat_remove_user purple_conv_chat_remove_user
704 #define gaim_conv_chat_remove_users purple_conv_chat_remove_users
705 #define gaim_conv_chat_find_user purple_conv_chat_find_user
706 #define gaim_conv_chat_user_set_flags purple_conv_chat_user_set_flags
707 #define gaim_conv_chat_user_get_flags purple_conv_chat_user_get_flags
708 #define gaim_conv_chat_clear_users purple_conv_chat_clear_users
709 #define gaim_conv_chat_set_nick purple_conv_chat_set_nick
710 #define gaim_conv_chat_get_nick purple_conv_chat_get_nick
711 #define gaim_conv_chat_left purple_conv_chat_left
712 #define gaim_conv_chat_has_left purple_conv_chat_has_left
713
714 #define gaim_find_chat purple_find_chat
715
716 #define gaim_conv_chat_cb_new purple_conv_chat_cb_new
717 #define gaim_conv_chat_cb_find purple_conv_chat_cb_find
718 #define gaim_conv_chat_cb_get_name purple_conv_chat_cb_get_name
719 #define gaim_conv_chat_cb_destroy purple_conv_chat_cb_destroy
720
721 #define gaim_conversations_get_handle purple_conversations_get_handle
722 #define gaim_conversations_init purple_conversations_init
723 #define gaim_conversations_uninit purple_conversations_uninit
724
725 /* from core.h */
726
727 #define GaimCore PurpleCore
728
729 #define GaimCoreUiOps PurpleCoreUiOps
730
731 #define gaim_core_init purple_core_init
732 #define gaim_core_quit purple_core_quit
733
734 #define gaim_core_quit_cb purple_core_quit_cb
735 #define gaim_core_get_version purple_core_get_version
736 #define gaim_core_get_ui purple_core_get_ui
737 #define gaim_get_core purple_get_core
738 #define gaim_core_set_ui_ops purple_core_set_ui_ops
739 #define gaim_core_get_ui_ops purple_core_get_ui_ops
740
741 /* from debug.h */
742
743 #define GAIM_DEBUG_ALL PURPLE_DEBUG_ALL
744 #define GAIM_DEBUG_MISC PURPLE_DEBUG_MISC
745 #define GAIM_DEBUG_INFO PURPLE_DEBUG_INFO
746 #define GAIM_DEBUG_WARNING PURPLE_DEBUG_WARNING
747 #define GAIM_DEBUG_ERROR PURPLE_DEBUG_ERROR
748 #define GAIM_DEBUG_FATAL PURPLE_DEBUG_FATAL
749
750 #define GaimDebugLevel PurpleDebugLevel
751
752 #define GaimDebugUiOps PurpleDebugUiOps
753
754
755 #define gaim_debug purple_debug
756 #define gaim_debug_misc purple_debug_misc
757 #define gaim_debug_info purple_debug_info
758 #define gaim_debug_warning purple_debug_warning
759 #define gaim_debug_error purple_debug_error
760 #define gaim_debug_fatal purple_debug_fatal
761
762 #define gaim_debug_set_enabled purple_debug_set_enabled
763 #define gaim_debug_is_enabled purple_debug_is_enabled
764
765 #define gaim_debug_set_ui_ops purple_debug_set_ui_ops
766 #define gaim_debug_get_ui_ops purple_debug_get_ui_ops
767
768 #define gaim_debug_init purple_debug_init
769
770 /* from desktopitem.h */
771
772 #define GAIM_DESKTOP_ITEM_TYPE_NULL PURPLE_DESKTOP_ITEM_TYPE_NULL
773 #define GAIM_DESKTOP_ITEM_TYPE_OTHER PURPLE_DESKTOP_ITEM_TYPE_OTHER
774 #define GAIM_DESKTOP_ITEM_TYPE_APPLICATION PURPLE_DESKTOP_ITEM_TYPE_APPLICATION
775 #define GAIM_DESKTOP_ITEM_TYPE_LINK PURPLE_DESKTOP_ITEM_TYPE_LINK
776 #define GAIM_DESKTOP_ITEM_TYPE_FSDEVICE PURPLE_DESKTOP_ITEM_TYPE_FSDEVICE
777 #define GAIM_DESKTOP_ITEM_TYPE_MIME_TYPE PURPLE_DESKTOP_ITEM_TYPE_MIME_TYPE
778 #define GAIM_DESKTOP_ITEM_TYPE_DIRECTORY PURPLE_DESKTOP_ITEM_TYPE_DIRECTORY
779 #define GAIM_DESKTOP_ITEM_TYPE_SERVICE PURPLE_DESKTOP_ITEM_TYPE_SERVICE
780 #define GAIM_DESKTOP_ITEM_TYPE_SERVICE_TYPE PURPLE_DESKTOP_ITEM_TYPE_SERVICE_TYPE
781
782 #define GaimDesktopItemType PurpleDesktopItemType
783
784 #define GaimDesktopItem PurpleDesktopItem
785
786 #define GAIM_TYPE_DESKTOP_ITEM PURPLE_TYPE_DESKTOP_ITEM
787 #define gaim_desktop_item_get_type purple_desktop_item_get_type
788
789 /* standard */
790 /* ugh, i'm just copying these as strings, rather than pidginifying them */
791 #define GAIM_DESKTOP_ITEM_ENCODING "Encoding" /* string */
792 #define GAIM_DESKTOP_ITEM_VERSION "Version" /* numeric */
793 #define GAIM_DESKTOP_ITEM_NAME "Name" /* localestring */
794 #define GAIM_DESKTOP_ITEM_GENERIC_NAME "GenericName" /* localestring */
795 #define GAIM_DESKTOP_ITEM_TYPE "Type" /* string */
796 #define GAIM_DESKTOP_ITEM_FILE_PATTERN "FilePattern" /* regexp(s) */
797 #define GAIM_DESKTOP_ITEM_TRY_EXEC "TryExec" /* string */
798 #define GAIM_DESKTOP_ITEM_NO_DISPLAY "NoDisplay" /* boolean */
799 #define GAIM_DESKTOP_ITEM_COMMENT "Comment" /* localestring */
800 #define GAIM_DESKTOP_ITEM_EXEC "Exec" /* string */
801 #define GAIM_DESKTOP_ITEM_ACTIONS "Actions" /* strings */
802 #define GAIM_DESKTOP_ITEM_ICON "Icon" /* string */
803 #define GAIM_DESKTOP_ITEM_MINI_ICON "MiniIcon" /* string */
804 #define GAIM_DESKTOP_ITEM_HIDDEN "Hidden" /* boolean */
805 #define GAIM_DESKTOP_ITEM_PATH "Path" /* string */
806 #define GAIM_DESKTOP_ITEM_TERMINAL "Terminal" /* boolean */
807 #define GAIM_DESKTOP_ITEM_TERMINAL_OPTIONS "TerminalOptions" /* string */
808 #define GAIM_DESKTOP_ITEM_SWALLOW_TITLE "SwallowTitle" /* string */
809 #define GAIM_DESKTOP_ITEM_SWALLOW_EXEC "SwallowExec" /* string */
810 #define GAIM_DESKTOP_ITEM_MIME_TYPE "MimeType" /* regexp(s) */
811 #define GAIM_DESKTOP_ITEM_PATTERNS "Patterns" /* regexp(s) */
812 #define GAIM_DESKTOP_ITEM_DEFAULT_APP "DefaultApp" /* string */
813 #define GAIM_DESKTOP_ITEM_DEV "Dev" /* string */
814 #define GAIM_DESKTOP_ITEM_FS_TYPE "FSType" /* string */
815 #define GAIM_DESKTOP_ITEM_MOUNT_POINT "MountPoint" /* string */
816 #define GAIM_DESKTOP_ITEM_READ_ONLY "ReadOnly" /* boolean */
817 #define GAIM_DESKTOP_ITEM_UNMOUNT_ICON "UnmountIcon" /* string */
818 #define GAIM_DESKTOP_ITEM_SORT_ORDER "SortOrder" /* strings */
819 #define GAIM_DESKTOP_ITEM_URL "URL" /* string */
820 #define GAIM_DESKTOP_ITEM_DOC_PATH "X-GNOME-DocPath" /* string */
821
822 #define gaim_desktop_item_new_from_file purple_desktop_item_new_from_file
823 #define gaim_desktop_item_get_entry_type purple_desktop_item_get_entry_type
824 #define gaim_desktop_item_get_string purple_desktop_item_get_string
825 #define gaim_desktop_item_copy purple_desktop_item_copy
826 #define gaim_desktop_item_unref purple_desktop_item_unref
827
828 /* from dnsquery.h */
829
830 #define GaimDnsQueryData PurpleDnsQueryData
831 #define GaimDnsQueryConnectFunction PurpleDnsQueryConnectFunction
832
833 #define gaim_dnsquery_a purple_dnsquery_a
834 #define gaim_dnsquery_destroy purple_dnsquery_destroy
835 #define gaim_dnsquery_init purple_dnsquery_init
836 #define gaim_dnsquery_uninit purple_dnsquery_uninit
837 #define gaim_dnsquery_set_ui_ops purple_dnsquery_set_ui_ops
838 #define gaim_dnsquery_get_host purple_dnsquery_get_host
839 #define gaim_dnsquery_get_port purple_dnsquery_get_port
840
841 /* from dnssrv.h */
842
843 #define GaimSrvResponse PurpleSrvResponse
844 #define GaimSrvQueryData PurpleSrvTxtQueryData
845 #define GaimSrvCallback PurpleSrvCallback
846
847 #define gaim_srv_resolve purple_srv_resolve
848 #define gaim_srv_cancel purple_srv_cancel
849
850 /* from eventloop.h */
851
852 #define GAIM_INPUT_READ PURPLE_INPUT_READ
853 #define GAIM_INPUT_WRITE PURPLE_INPUT_WRITE
854
855 #define GaimInputCondition PurpleInputCondition
856 #define GaimInputFunction PurpleInputFunction
857 #define GaimEventLoopUiOps PurpleEventLoopUiOps
858
859 #define gaim_timeout_add purple_timeout_add
860 #define gaim_timeout_remove purple_timeout_remove
861 #define gaim_input_add purple_input_add
862 #define gaim_input_remove purple_input_remove
863
864 #define gaim_eventloop_set_ui_ops purple_eventloop_set_ui_ops
865 #define gaim_eventloop_get_ui_ops purple_eventloop_get_ui_ops
866
867 /* from ft.h */
868
869 #define GaimXfer PurpleXfer
870
871 #define GAIM_XFER_UNKNOWN PURPLE_XFER_UNKNOWN
872 #define GAIM_XFER_SEND PURPLE_XFER_SEND
873 #define GAIM_XFER_RECEIVE PURPLE_XFER_RECEIVE
874
875 #define GaimXferType PurpleXferType
876
877 #define GAIM_XFER_STATUS_UNKNOWN PURPLE_XFER_STATUS_UNKNOWN
878 #define GAIM_XFER_STATUS_NOT_STARTED PURPLE_XFER_STATUS_NOT_STARTED
879 #define GAIM_XFER_STATUS_ACCEPTED PURPLE_XFER_STATUS_ACCEPTED
880 #define GAIM_XFER_STATUS_STARTED PURPLE_XFER_STATUS_STARTED
881 #define GAIM_XFER_STATUS_DONE PURPLE_XFER_STATUS_DONE
882 #define GAIM_XFER_STATUS_CANCEL_LOCAL PURPLE_XFER_STATUS_CANCEL_LOCAL
883 #define GAIM_XFER_STATUS_CANCEL_REMOTE PURPLE_XFER_STATUS_CANCEL_REMOTE
884
885 #define GaimXferStatusType PurpleXferStatusType
886
887 #define GaimXferUiOps PurpleXferUiOps
888
889 #define gaim_xfer_new purple_xfer_new
890 #define gaim_xfer_ref purple_xfer_ref
891 #define gaim_xfer_unref purple_xfer_unref
892 #define gaim_xfer_request purple_xfer_request
893 #define gaim_xfer_request_accepted purple_xfer_request_accepted
894 #define gaim_xfer_request_denied purple_xfer_request_denied
895 #define gaim_xfer_get_type purple_xfer_get_type
896 #define gaim_xfer_get_account purple_xfer_get_account
897 #define gaim_xfer_get_status purple_xfer_get_status
898 #define gaim_xfer_is_canceled purple_xfer_is_canceled
899 #define gaim_xfer_is_completed purple_xfer_is_completed
900 #define gaim_xfer_get_filename purple_xfer_get_filename
901 #define gaim_xfer_get_local_filename purple_xfer_get_local_filename
902 #define gaim_xfer_get_bytes_sent purple_xfer_get_bytes_sent
903 #define gaim_xfer_get_bytes_remaining purple_xfer_get_bytes_remaining
904 #define gaim_xfer_get_size purple_xfer_get_size
905 #define gaim_xfer_get_progress purple_xfer_get_progress
906 #define gaim_xfer_get_local_port purple_xfer_get_local_port
907 #define gaim_xfer_get_remote_ip purple_xfer_get_remote_ip
908 #define gaim_xfer_get_remote_port purple_xfer_get_remote_port
909 #define gaim_xfer_set_completed purple_xfer_set_completed
910 #define gaim_xfer_set_message purple_xfer_set_message
911 #define gaim_xfer_set_filename purple_xfer_set_filename
912 #define gaim_xfer_set_local_filename purple_xfer_set_local_filename
913 #define gaim_xfer_set_size purple_xfer_set_size
914 #define gaim_xfer_set_bytes_sent purple_xfer_set_bytes_sent
915 #define gaim_xfer_get_ui_ops purple_xfer_get_ui_ops
916 #define gaim_xfer_set_read_fnc purple_xfer_set_read_fnc
917 #define gaim_xfer_set_write_fnc purple_xfer_set_write_fnc
918 #define gaim_xfer_set_ack_fnc purple_xfer_set_ack_fnc
919 #define gaim_xfer_set_request_denied_fnc purple_xfer_set_request_denied_fnc
920 #define gaim_xfer_set_init_fnc purple_xfer_set_init_fnc
921 #define gaim_xfer_set_start_fnc purple_xfer_set_start_fnc
922 #define gaim_xfer_set_end_fnc purple_xfer_set_end_fnc
923 #define gaim_xfer_set_cancel_send_fnc purple_xfer_set_cancel_send_fnc
924 #define gaim_xfer_set_cancel_recv_fnc purple_xfer_set_cancel_recv_fnc
925
926 #define gaim_xfer_read purple_xfer_read
927 #define gaim_xfer_write purple_xfer_write
928 #define gaim_xfer_start purple_xfer_start
929 #define gaim_xfer_end purple_xfer_end
930 #define gaim_xfer_add purple_xfer_add
931 #define gaim_xfer_cancel_local purple_xfer_cancel_local
932 #define gaim_xfer_cancel_remote purple_xfer_cancel_remote
933 #define gaim_xfer_error purple_xfer_error
934 #define gaim_xfer_update_progress purple_xfer_update_progress
935 #define gaim_xfer_conversation_write purple_xfer_conversation_write
936
937 #define gaim_xfers_get_handle purple_xfers_get_handle
938 #define gaim_xfers_init purple_xfers_init
939 #define gaim_xfers_uninit purple_xfers_uninit
940 #define gaim_xfers_set_ui_ops purple_xfers_set_ui_ops
941 #define gaim_xfers_get_ui_ops purple_xfers_get_ui_ops
942
943 /* from gaim-client.h */
944
945 #define gaim_init purple_init
946
947 /* from idle.h */
948
949 #define GaimIdleUiOps PurpleIdleUiOps
950
951 #define gaim_idle_touch purple_idle_touch
952 #define gaim_idle_set purple_idle_set
953 #define gaim_idle_set_ui_ops purple_idle_set_ui_ops
954 #define gaim_idle_get_ui_ops purple_idle_get_ui_ops
955 #define gaim_idle_init purple_idle_init
956 #define gaim_idle_uninit purple_idle_uninit
957
958 /* from imgstore.h */
959
960 #define GaimStoredImage PurpleStoredImage
961
962 #define gaim_imgstore_add(data, size, filename) \
963 purple_imgstore_add_with_id(g_memdup(data, size), size, filename)
964 #define gaim_imgstore_get purple_imgstore_find_by_id
965 #define gaim_imgstore_get_data purple_imgstore_get_data
966 #define gaim_imgstore_get_size purple_imgstore_get_size
967 #define gaim_imgstore_get_filename purple_imgstore_get_filename
968 #define gaim_imgstore_ref purple_imgstore_ref_by_id
969 #define gaim_imgstore_unref purple_imgstore_unref_by_id
970
971
972 /* from log.h */
973
974 #define GaimLog PurpleLog
975 #define GaimLogLogger PurpleLogLogger
976 #define GaimLogCommonLoggerData PurpleLogCommonLoggerData
977 #define GaimLogSet PurpleLogSet
978
979 #define GAIM_LOG_IM PURPLE_LOG_IM
980 #define GAIM_LOG_CHAT PURPLE_LOG_CHAT
981 #define GAIM_LOG_SYSTEM PURPLE_LOG_SYSTEM
982
983 #define GaimLogType PurpleLogType
984
985 #define GAIM_LOG_READ_NO_NEWLINE PURPLE_LOG_READ_NO_NEWLINE
986
987 #define GaimLogReadFlags PurpleLogReadFlags
988
989 #define GaimLogSetCallback PurpleLogSetCallback
990
991 #define gaim_log_new purple_log_new
992 #define gaim_log_free purple_log_free
993 #define gaim_log_write purple_log_write
994 #define gaim_log_read purple_log_read
995
996 #define gaim_log_get_logs purple_log_get_logs
997 #define gaim_log_get_log_sets purple_log_get_log_sets
998 #define gaim_log_get_system_logs purple_log_get_system_logs
999 #define gaim_log_get_size purple_log_get_size
1000 #define gaim_log_get_total_size purple_log_get_total_size
1001 #define gaim_log_get_log_dir purple_log_get_log_dir
1002 #define gaim_log_compare purple_log_compare
1003 #define gaim_log_set_compare purple_log_set_compare
1004 #define gaim_log_set_free purple_log_set_free
1005
1006 #define gaim_log_common_writer purple_log_common_writer
1007 #define gaim_log_common_lister purple_log_common_lister
1008 #define gaim_log_common_total_sizer purple_log_common_total_sizer
1009 #define gaim_log_common_sizer purple_log_common_sizer
1010
1011 #define gaim_log_logger_new purple_log_logger_new
1012 #define gaim_log_logger_free purple_log_logger_free
1013 #define gaim_log_logger_add purple_log_logger_add
1014 #define gaim_log_logger_remove purple_log_logger_remove
1015 #define gaim_log_logger_set purple_log_logger_set
1016 #define gaim_log_logger_get purple_log_logger_get
1017
1018 #define gaim_log_logger_get_options purple_log_logger_get_options
1019
1020 #define gaim_log_init purple_log_init
1021 #define gaim_log_get_handle purple_log_get_handle
1022 #define gaim_log_uninit purple_log_uninit
1023
1024 /* from mime.h */
1025
1026 #define GaimMimeDocument PurpleMimeDocument
1027 #define GaimMimePart PurpleMimePart
1028
1029 #define gaim_mime_document_new purple_mime_document_new
1030 #define gaim_mime_document_free purple_mime_document_free
1031 #define gaim_mime_document_parse purple_mime_document_parse
1032 #define gaim_mime_document_parsen purple_mime_document_parsen
1033 #define gaim_mime_document_write purple_mime_document_write
1034 #define gaim_mime_document_get_fields purple_mime_document_get_fields
1035 #define gaim_mime_document_get_field purple_mime_document_get_field
1036 #define gaim_mime_document_set_field purple_mime_document_set_field
1037 #define gaim_mime_document_get_parts purple_mime_document_get_parts
1038
1039 #define gaim_mime_part_new purple_mime_part_new
1040 #define gaim_mime_part_get_fields purple_mime_part_get_fields
1041 #define gaim_mime_part_get_field purple_mime_part_get_field
1042 #define gaim_mime_part_get_field_decoded purple_mime_part_get_field_decoded
1043 #define gaim_mime_part_set_field purple_mime_part_set_field
1044 #define gaim_mime_part_get_data purple_mime_part_get_data
1045 #define gaim_mime_part_get_data_decoded purple_mime_part_get_data_decoded
1046 #define gaim_mime_part_get_length purple_mime_part_get_length
1047 #define gaim_mime_part_set_data purple_mime_part_set_data
1048
1049
1050 /* from network.h */
1051
1052 #define GaimNetworkListenData PurpleNetworkListenData
1053
1054 #define GaimNetworkListenCallback PurpleNetworkListenCallback
1055
1056 #define gaim_network_ip_atoi purple_network_ip_atoi
1057 #define gaim_network_set_public_ip purple_network_set_public_ip
1058 #define gaim_network_get_public_ip purple_network_get_public_ip
1059 #define gaim_network_get_local_system_ip purple_network_get_local_system_ip
1060 #define gaim_network_get_my_ip purple_network_get_my_ip
1061
1062 #define gaim_network_listen purple_network_listen
1063 #define gaim_network_listen_range purple_network_listen_range
1064 #define gaim_network_listen_cancel purple_network_listen_cancel
1065 #define gaim_network_get_port_from_fd purple_network_get_port_from_fd
1066
1067 #define gaim_network_is_available purple_network_is_available
1068
1069 #define gaim_network_init purple_network_init
1070 #define gaim_network_uninit purple_network_uninit
1071
1072 /* from notify.h */
1073
1074
1075 #define GaimNotifyUserInfoEntry PurpleNotifyUserInfoEntry
1076 #define GaimNotifyUserInfo PurpleNotifyUserInfo
1077
1078 #define GaimNotifyCloseCallback PurpleNotifyCloseCallback
1079
1080 #define GAIM_NOTIFY_MESSAGE PURPLE_NOTIFY_MESSAGE
1081 #define GAIM_NOTIFY_EMAIL PURPLE_NOTIFY_EMAIL
1082 #define GAIM_NOTIFY_EMAILS PURPLE_NOTIFY_EMAILS
1083 #define GAIM_NOTIFY_FORMATTED PURPLE_NOTIFY_FORMATTED
1084 #define GAIM_NOTIFY_SEARCHRESULTS PURPLE_NOTIFY_SEARCHRESULTS
1085 #define GAIM_NOTIFY_USERINFO PURPLE_NOTIFY_USERINFO
1086 #define GAIM_NOTIFY_URI PURPLE_NOTIFY_URI
1087
1088 #define GaimNotifyType PurpleNotifyType
1089
1090 #define GAIM_NOTIFY_MSG_ERROR PURPLE_NOTIFY_MSG_ERROR
1091 #define GAIM_NOTIFY_MSG_WARNING PURPLE_NOTIFY_MSG_WARNING
1092 #define GAIM_NOTIFY_MSG_INFO PURPLE_NOTIFY_MSG_INFO
1093
1094 #define GaimNotifyMsgType PurpleNotifyMsgType
1095
1096 #define GAIM_NOTIFY_BUTTON_LABELED PURPLE_NOTIFY_BUTTON_LABELED
1097 #define GAIM_NOTIFY_BUTTON_CONTINUE PURPLE_NOTIFY_BUTTON_CONTINUE
1098 #define GAIM_NOTIFY_BUTTON_ADD PURPLE_NOTIFY_BUTTON_ADD
1099 #define GAIM_NOTIFY_BUTTON_INFO PURPLE_NOTIFY_BUTTON_INFO
1100 #define GAIM_NOTIFY_BUTTON_IM PURPLE_NOTIFY_BUTTON_IM
1101 #define GAIM_NOTIFY_BUTTON_JOIN PURPLE_NOTIFY_BUTTON_JOIN
1102 #define GAIM_NOTIFY_BUTTON_INVITE PURPLE_NOTIFY_BUTTON_INVITE
1103
1104 #define GaimNotifySearchButtonType PurpleNotifySearchButtonType
1105
1106 #define GaimNotifySearchResults PurpleNotifySearchResults
1107
1108 #define GAIM_NOTIFY_USER_INFO_ENTRY_PAIR PURPLE_NOTIFY_USER_INFO_ENTRY_PAIR
1109 #define GAIM_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK
1110 #define GAIM_NOTIFY_USER_INFO_ENTRY_SECTION_HEADER PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_HEADER
1111
1112 #define GaimNotifyUserInfoEntryType PurpleNotifyUserInfoEntryType
1113
1114 #define GaimNotifySearchColumn PurpleNotifySearchColumn
1115 #define GaimNotifySearchResultsCallback PurpleNotifySearchResultsCallback
1116 #define GaimNotifySearchButton PurpleNotifySearchButton
1117
1118 #define GaimNotifyUiOps PurpleNotifyUiOps
1119
1120 #define gaim_notify_searchresults purple_notify_searchresults
1121 #define gaim_notify_searchresults_free purple_notify_searchresults_free
1122 #define gaim_notify_searchresults_new_rows purple_notify_searchresults_new_rows
1123 #define gaim_notify_searchresults_button_add purple_notify_searchresults_button_add
1124 #define gaim_notify_searchresults_button_add_labeled purple_notify_searchresults_button_add_labeled
1125 #define gaim_notify_searchresults_new purple_notify_searchresults_new
1126 #define gaim_notify_searchresults_column_new purple_notify_searchresults_column_new
1127 #define gaim_notify_searchresults_column_add purple_notify_searchresults_column_add
1128 #define gaim_notify_searchresults_row_add purple_notify_searchresults_row_add
1129 #define gaim_notify_searchresults_get_rows_count purple_notify_searchresults_get_rows_count
1130 #define gaim_notify_searchresults_get_columns_count purple_notify_searchresults_get_columns_count
1131 #define gaim_notify_searchresults_row_get purple_notify_searchresults_row_get
1132 #define gaim_notify_searchresults_column_get_title purple_notify_searchresults_column_get_title
1133
1134 #define gaim_notify_message purple_notify_message
1135 #define gaim_notify_email purple_notify_email
1136 #define gaim_notify_emails purple_notify_emails
1137 #define gaim_notify_formatted purple_notify_formatted
1138 #define gaim_notify_userinfo purple_notify_userinfo
1139
1140 #define gaim_notify_user_info_new purple_notify_user_info_new
1141 #define gaim_notify_user_info_destroy purple_notify_user_info_destroy
1142 #define gaim_notify_user_info_get_entries purple_notify_user_info_get_entries
1143 #define gaim_notify_user_info_get_text_with_newline purple_notify_user_info_get_text_with_newline
1144 #define gaim_notify_user_info_add_pair purple_notify_user_info_add_pair
1145 #define gaim_notify_user_info_prepend_pair purple_notify_user_info_prepend_pair
1146 #define gaim_notify_user_info_remove_entry purple_notify_user_info_remove_entry
1147 #define gaim_notify_user_info_entry_new purple_notify_user_info_entry_new
1148 #define gaim_notify_user_info_add_section_break purple_notify_user_info_add_section_break
1149 #define gaim_notify_user_info_add_section_header purple_notify_user_info_add_section_header
1150 #define gaim_notify_user_info_remove_last_item purple_notify_user_info_remove_last_item
1151 #define gaim_notify_user_info_entry_get_label purple_notify_user_info_entry_get_label
1152 #define gaim_notify_user_info_entry_set_label purple_notify_user_info_entry_set_label
1153 #define gaim_notify_user_info_entry_get_value purple_notify_user_info_entry_get_value
1154 #define gaim_notify_user_info_entry_set_value purple_notify_user_info_entry_set_value
1155 #define gaim_notify_user_info_entry_get_type purple_notify_user_info_entry_get_type
1156 #define gaim_notify_user_info_entry_set_type purple_notify_user_info_entry_set_type
1157
1158 #define gaim_notify_uri purple_notify_uri
1159 #define gaim_notify_close purple_notify_close
1160 #define gaim_notify_close_with_handle purple_notify_close_with_handle
1161
1162 #define gaim_notify_info purple_notify_info
1163 #define gaim_notify_warning purple_notify_warning
1164 #define gaim_notify_error purple_notify_error
1165
1166 #define gaim_notify_set_ui_ops purple_notify_set_ui_ops
1167 #define gaim_notify_get_ui_ops purple_notify_get_ui_ops
1168
1169 #define gaim_notify_get_handle purple_notify_get_handle
1170
1171 #define gaim_notify_init purple_notify_init
1172 #define gaim_notify_uninit purple_notify_uninit
1173
1174 /* from ntlm.h */
1175
1176 #define gaim_ntlm_gen_type1 purple_ntlm_gen_type1
1177 #define gaim_ntlm_parse_type2 purple_ntlm_parse_type2
1178 #define gaim_ntlm_gen_type3 purple_ntlm_gen_type3
1179
1180 /* from plugin.h */
1181
1182 #ifdef GAIM_PLUGINS
1183 #ifndef PURPLE_PLUGINS
1184 #define PURPLE_PLUGINS
1185 #endif
1186 #endif
1187
1188 #define GaimPlugin PurplePlugin
1189 #define GaimPluginInfo PurplePluginInfo
1190 #define GaimPluginUiInfo PurplePluginUiInfo
1191 #define GaimPluginLoaderInfo PurplePluginLoaderInfo
1192 #define GaimPluginAction PurplePluginAction
1193 #define GaimPluginPriority PurplePluginPriority
1194
1195 #define GAIM_PLUGIN_UNKNOWN PURPLE_PLUGIN_UNKNOWN
1196 #define GAIM_PLUGIN_STANDARD PURPLE_PLUGIN_STANDARD
1197 #define GAIM_PLUGIN_LOADER PURPLE_PLUGIN_LOADER
1198 #define GAIM_PLUGIN_PROTOCOL PURPLE_PLUGIN_PROTOCOL
1199
1200 #define GaimPluginType PurplePluginType
1201
1202 #define GAIM_PRIORITY_DEFAULT PURPLE_PRIORITY_DEFAULT
1203 #define GAIM_PRIORITY_HIGHEST PURPLE_PRIORITY_HIGHEST
1204 #define GAIM_PRIORITY_LOWEST PURPLE_PRIORITY_LOWEST
1205
1206 #define GAIM_PLUGIN_FLAG_INVISIBLE PURPLE_PLUGIN_FLAG_INVISIBLE
1207
1208 #define GAIM_PLUGIN_MAGIC PURPLE_PLUGIN_MAGIC
1209
1210 #define GAIM_PLUGIN_LOADER_INFO PURPLE_PLUGIN_LOADER_INFO
1211 #define GAIM_PLUGIN_HAS_PREF_FRAME PURPLE_PLUGIN_HAS_PREF_FRAME
1212 #define GAIM_PLUGIN_UI_INFO PURPLE_PLUGIN_UI_INFO
1213
1214 #define GAIM_PLUGIN_HAS_ACTIONS PURPLE_PLUGIN_HAS_ACTIONS
1215 #define GAIM_PLUGIN_ACTIONS PURPLE_PLUGIN_ACTIONS
1216
1217 #define GAIM_INIT_PLUGIN PURPLE_INIT_PLUGIN
1218
1219 #define gaim_plugin_new purple_plugin_new
1220 #define gaim_plugin_probe purple_plugin_probe
1221 #define gaim_plugin_register purple_plugin_register
1222 #define gaim_plugin_load purple_plugin_load
1223 #define gaim_plugin_unload purple_plugin_unload
1224 #define gaim_plugin_reload purple_plugin_reload
1225 #define gaim_plugin_destroy purple_plugin_destroy
1226 #define gaim_plugin_is_loaded purple_plugin_is_loaded
1227 #define gaim_plugin_is_unloadable purple_plugin_is_unloadable
1228 #define gaim_plugin_get_id purple_plugin_get_id
1229 #define gaim_plugin_get_name purple_plugin_get_name
1230 #define gaim_plugin_get_version purple_plugin_get_version
1231 #define gaim_plugin_get_summary purple_plugin_get_summary
1232 #define gaim_plugin_get_description purple_plugin_get_description
1233 #define gaim_plugin_get_author purple_plugin_get_author
1234 #define gaim_plugin_get_homepage purple_plugin_get_homepage
1235
1236 #define gaim_plugin_ipc_register purple_plugin_ipc_register
1237 #define gaim_plugin_ipc_unregister purple_plugin_ipc_unregister
1238 #define gaim_plugin_ipc_unregister_all purple_plugin_ipc_unregister_all
1239 #define gaim_plugin_ipc_get_params purple_plugin_ipc_get_params
1240 #define gaim_plugin_ipc_call purple_plugin_ipc_call
1241
1242 #define gaim_plugins_add_search_path purple_plugins_add_search_path
1243 #define gaim_plugins_unload_all purple_plugins_unload_all
1244 #define gaim_plugins_destroy_all purple_plugins_destroy_all
1245 #define gaim_plugins_save_loaded purple_plugins_save_loaded
1246 #define gaim_plugins_load_saved purple_plugins_load_saved
1247 #define gaim_plugins_probe purple_plugins_probe
1248 #define gaim_plugins_enabled purple_plugins_enabled
1249
1250 #define gaim_plugins_register_probe_notify_cb purple_plugins_register_probe_notify_cb
1251 #define gaim_plugins_unregister_probe_notify_cb purple_plugins_unregister_probe_notify_cb
1252 #define gaim_plugins_register_load_notify_cb purple_plugins_register_load_notify_cb
1253 #define gaim_plugins_unregister_load_notify_cb purple_plugins_unregister_load_notify_cb
1254 #define gaim_plugins_register_unload_notify_cb purple_plugins_register_unload_notify_cb
1255 #define gaim_plugins_unregister_unload_notify_cb purple_plugins_unregister_unload_notify_cb
1256
1257 #define gaim_plugins_find_with_name purple_plugins_find_with_name
1258 #define gaim_plugins_find_with_filename purple_plugins_find_with_filename
1259 #define gaim_plugins_find_with_basename purple_plugins_find_with_basename
1260 #define gaim_plugins_find_with_id purple_plugins_find_with_id
1261
1262 #define gaim_plugins_get_loaded purple_plugins_get_loaded
1263 #define gaim_plugins_get_protocols purple_plugins_get_protocols
1264 #define gaim_plugins_get_all purple_plugins_get_all
1265
1266 #define gaim_plugins_get_handle purple_plugins_get_handle
1267 #define gaim_plugins_init purple_plugins_init
1268 #define gaim_plugins_uninit purple_plugins_uninit
1269
1270 #define gaim_plugin_action_new purple_plugin_action_new
1271 #define gaim_plugin_action_free purple_plugin_action_free
1272
1273 /* pluginpref.h */
1274
1275 #define GaimPluginPrefFrame PurplePluginPrefFrame
1276 #define GaimPluginPref PurplePluginPref
1277
1278 #define GAIM_STRING_FORMAT_TYPE_NONE PURPLE_STRING_FORMAT_TYPE_NONE
1279 #define GAIM_STRING_FORMAT_TYPE_MULTILINE PURPLE_STRING_FORMAT_TYPE_MULTILINE
1280 #define GAIM_STRING_FORMAT_TYPE_HTML PURPLE_STRING_FORMAT_TYPE_HTML
1281
1282 #define GaimStringFormatType PurpleStringFormatType
1283
1284 #define GAIM_PLUGIN_PREF_NONE PURPLE_PLUGIN_PREF_NONE
1285 #define GAIM_PLUGIN_PREF_CHOICE PURPLE_PLUGIN_PREF_CHOICE
1286 #define GAIM_PLUGIN_PREF_INFO PURPLE_PLUGIN_PREF_INFO
1287 #define GAIM_PLUGIN_PREF_STRING_FORMAT PURPLE_PLUGIN_PREF_STRING_FORMAT
1288
1289 #define GaimPluginPrefType PurplePluginPrefType
1290
1291 #define gaim_plugin_pref_frame_new purple_plugin_pref_frame_new
1292 #define gaim_plugin_pref_frame_destroy purple_plugin_pref_frame_destroy
1293 #define gaim_plugin_pref_frame_add purple_plugin_pref_frame_add
1294 #define gaim_plugin_pref_frame_get_prefs purple_plugin_pref_frame_get_prefs
1295
1296 #define gaim_plugin_pref_new purple_plugin_pref_new
1297 #define gaim_plugin_pref_new_with_name purple_plugin_pref_new_with_name
1298 #define gaim_plugin_pref_new_with_label purple_plugin_pref_new_with_label
1299 #define gaim_plugin_pref_new_with_name_and_label purple_plugin_pref_new_with_name_and_label
1300 #define gaim_plugin_pref_destroy purple_plugin_pref_destroy
1301 #define gaim_plugin_pref_set_name purple_plugin_pref_set_name
1302 #define gaim_plugin_pref_get_name purple_plugin_pref_get_name
1303 #define gaim_plugin_pref_set_label purple_plugin_pref_set_label
1304 #define gaim_plugin_pref_get_label purple_plugin_pref_get_label
1305 #define gaim_plugin_pref_set_bounds purple_plugin_pref_set_bounds
1306 #define gaim_plugin_pref_get_bounds purple_plugin_pref_get_bounds
1307 #define gaim_plugin_pref_set_type purple_plugin_pref_set_type
1308 #define gaim_plugin_pref_get_type purple_plugin_pref_get_type
1309 #define gaim_plugin_pref_add_choice purple_plugin_pref_add_choice
1310 #define gaim_plugin_pref_get_choices purple_plugin_pref_get_choices
1311 #define gaim_plugin_pref_set_max_length purple_plugin_pref_set_max_length
1312 #define gaim_plugin_pref_get_max_length purple_plugin_pref_get_max_length
1313 #define gaim_plugin_pref_set_masked purple_plugin_pref_set_masked
1314 #define gaim_plugin_pref_get_masked purple_plugin_pref_get_masked
1315 #define gaim_plugin_pref_set_format_type purple_plugin_pref_set_format_type
1316 #define gaim_plugin_pref_get_format_type purple_plugin_pref_get_format_type
1317
1318 /* from pounce.h */
1319
1320 #define GaimPounce PurplePounce
1321
1322 #define GAIM_POUNCE_NONE PURPLE_POUNCE_NONE
1323 #define GAIM_POUNCE_SIGNON PURPLE_POUNCE_SIGNON
1324 #define GAIM_POUNCE_SIGNOFF PURPLE_POUNCE_SIGNOFF
1325 #define GAIM_POUNCE_AWAY PURPLE_POUNCE_AWAY
1326 #define GAIM_POUNCE_AWAY_RETURN PURPLE_POUNCE_AWAY_RETURN
1327 #define GAIM_POUNCE_IDLE PURPLE_POUNCE_IDLE
1328 #define GAIM_POUNCE_IDLE_RETURN PURPLE_POUNCE_IDLE_RETURN
1329 #define GAIM_POUNCE_TYPING PURPLE_POUNCE_TYPING
1330 #define GAIM_POUNCE_TYPED PURPLE_POUNCE_TYPED
1331 #define GAIM_POUNCE_TYPING_STOPPED PURPLE_POUNCE_TYPING_STOPPED
1332 #define GAIM_POUNCE_MESSAGE_RECEIVED PURPLE_POUNCE_MESSAGE_RECEIVED
1333 #define GaimPounceEvent PurplePounceEvent
1334
1335 #define GAIM_POUNCE_OPTION_NONE PURPLE_POUNCE_OPTION_NONE
1336 #define GAIM_POUNCE_OPTION_AWAY PURPLE_POUNCE_OPTION_AWAY
1337 #define GaimPounceOption PurplePounceOption
1338
1339 #define GaimPounceCb PurplePounceCb
1340
1341 #define gaim_pounce_new purple_pounce_new
1342 #define gaim_pounce_destroy purple_pounce_destroy
1343 #define gaim_pounce_destroy_all_by_account purple_pounce_destroy_all_by_account
1344 #define gaim_pounce_set_events purple_pounce_set_events
1345 #define gaim_pounce_set_options purple_pounce_set_options
1346 #define gaim_pounce_set_pouncer purple_pounce_set_pouncer
1347 #define gaim_pounce_set_pouncee purple_pounce_set_pouncee
1348 #define gaim_pounce_set_save purple_pounce_set_save
1349 #define gaim_pounce_action_register purple_pounce_action_register
1350 #define gaim_pounce_action_set_enabled purple_pounce_action_set_enabled
1351 #define gaim_pounce_action_set_attribute purple_pounce_action_set_attribute
1352 #define gaim_pounce_set_data purple_pounce_set_data
1353 #define gaim_pounce_get_events purple_pounce_get_events
1354 #define gaim_pounce_get_options purple_pounce_get_options
1355 #define gaim_pounce_get_pouncer purple_pounce_get_pouncer
1356 #define gaim_pounce_get_pouncee purple_pounce_get_pouncee
1357 #define gaim_pounce_get_save purple_pounce_get_save
1358 #define gaim_pounce_action_is_enabled purple_pounce_action_is_enabled
1359 #define gaim_pounce_action_get_attribute purple_pounce_action_get_attribute
1360 #define gaim_pounce_get_data purple_pounce_get_data
1361 #define gaim_pounce_execute purple_pounce_execute
1362
1363 #define gaim_find_pounce purple_find_pounce
1364 #define gaim_pounces_load purple_pounces_load
1365 #define gaim_pounces_register_handler purple_pounces_register_handler
1366 #define gaim_pounces_unregister_handler purple_pounces_unregister_handler
1367 #define gaim_pounces_get_all purple_pounces_get_all
1368 #define gaim_pounces_get_handle purple_pounces_get_handle
1369 #define gaim_pounces_init purple_pounces_init
1370 #define gaim_pounces_uninit purple_pounces_uninit
1371
1372 /* from prefs.h */
1373
1374
1375 #define GAIM_PREF_NONE PURPLE_PREF_NONE
1376 #define GAIM_PREF_BOOLEAN PURPLE_PREF_BOOLEAN
1377 #define GAIM_PREF_INT PURPLE_PREF_INT
1378 #define GAIM_PREF_STRING PURPLE_PREF_STRING
1379 #define GAIM_PREF_STRING_LIST PURPLE_PREF_STRING_LIST
1380 #define GAIM_PREF_PATH PURPLE_PREF_PATH
1381 #define GAIM_PREF_PATH_LIST PURPLE_PREF_PATH_LIST
1382 #define GaimPrefType PurplePrefType
1383
1384 #define GaimPrefCallback PurplePrefCallback
1385
1386 #define gaim_prefs_get_handle purple_prefs_get_handle
1387 #define gaim_prefs_init purple_prefs_init
1388 #define gaim_prefs_uninit purple_prefs_uninit
1389 #define gaim_prefs_add_none purple_prefs_add_none
1390 #define gaim_prefs_add_bool purple_prefs_add_bool
1391 #define gaim_prefs_add_int purple_prefs_add_int
1392 #define gaim_prefs_add_string purple_prefs_add_string
1393 #define gaim_prefs_add_string_list purple_prefs_add_string_list
1394 #define gaim_prefs_add_path purple_prefs_add_path
1395 #define gaim_prefs_add_path_list purple_prefs_add_path_list
1396 #define gaim_prefs_remove purple_prefs_remove
1397 #define gaim_prefs_rename purple_prefs_rename
1398 #define gaim_prefs_rename_boolean_toggle purple_prefs_rename_boolean_toggle
1399 #define gaim_prefs_destroy purple_prefs_destroy
1400 #define gaim_prefs_set_generic purple_prefs_set_generic
1401 #define gaim_prefs_set_bool purple_prefs_set_bool
1402 #define gaim_prefs_set_int purple_prefs_set_int
1403 #define gaim_prefs_set_string purple_prefs_set_string
1404 #define gaim_prefs_set_string_list purple_prefs_set_string_list
1405 #define gaim_prefs_set_path purple_prefs_set_path
1406 #define gaim_prefs_set_path_list purple_prefs_set_path_list
1407 #define gaim_prefs_exists purple_prefs_exists
1408 #define gaim_prefs_get_type purple_prefs_get_type
1409 #define gaim_prefs_get_bool purple_prefs_get_bool
1410 #define gaim_prefs_get_int purple_prefs_get_int
1411 #define gaim_prefs_get_string purple_prefs_get_string
1412 #define gaim_prefs_get_string_list purple_prefs_get_string_list
1413 #define gaim_prefs_get_path purple_prefs_get_path
1414 #define gaim_prefs_get_path_list purple_prefs_get_path_list
1415 #define gaim_prefs_connect_callback purple_prefs_connect_callback
1416 #define gaim_prefs_disconnect_callback purple_prefs_disconnect_callback
1417 #define gaim_prefs_disconnect_by_handle purple_prefs_disconnect_by_handle
1418 #define gaim_prefs_trigger_callback purple_prefs_trigger_callback
1419 #define gaim_prefs_load purple_prefs_load
1420 #define gaim_prefs_update_old purple_prefs_update_old
1421
1422 /* from privacy.h */
1423
1424 #define GAIM_PRIVACY_ALLOW_ALL PURPLE_PRIVACY_ALLOW_ALL
1425 #define GAIM_PRIVACY_DENY_ALL PURPLE_PRIVACY_DENY_ALL
1426 #define GAIM_PRIVACY_ALLOW_USERS PURPLE_PRIVACY_ALLOW_USERS
1427 #define GAIM_PRIVACY_DENY_USERS PURPLE_PRIVACY_DENY_USERS
1428 #define GAIM_PRIVACY_ALLOW_BUDDYLIST PURPLE_PRIVACY_ALLOW_BUDDYLIST
1429 #define GaimPrivacyType PurplePrivacyType
1430
1431 #define GaimPrivacyUiOps PurplePrivacyUiOps
1432
1433 #define gaim_privacy_permit_add purple_privacy_permit_add
1434 #define gaim_privacy_permit_remove purple_privacy_permit_remove
1435 #define gaim_privacy_deny_add purple_privacy_deny_add
1436 #define gaim_privacy_deny_remove purple_privacy_deny_remove
1437 #define gaim_privacy_allow purple_privacy_allow
1438 #define gaim_privacy_deny purple_privacy_deny
1439 #define gaim_privacy_check purple_privacy_check
1440 #define gaim_privacy_set_ui_ops purple_privacy_set_ui_ops
1441 #define gaim_privacy_get_ui_ops purple_privacy_get_ui_ops
1442 #define gaim_privacy_init purple_privacy_init
1443
1444 /* from proxy.h */
1445
1446 #define GAIM_PROXY_USE_GLOBAL PURPLE_PROXY_USE_GLOBAL
1447 #define GAIM_PROXY_NONE PURPLE_PROXY_NONE
1448 #define GAIM_PROXY_HTTP PURPLE_PROXY_HTTP
1449 #define GAIM_PROXY_SOCKS4 PURPLE_PROXY_SOCKS4
1450 #define GAIM_PROXY_SOCKS5 PURPLE_PROXY_SOCKS5
1451 #define GAIM_PROXY_USE_ENVVAR PURPLE_PROXY_USE_ENVVAR
1452 #define GaimProxyType PurpleProxyType
1453
1454 #define GaimProxyInfo PurpleProxyInfo
1455
1456 #define GaimProxyConnectData PurpleProxyConnectData
1457 #define GaimProxyConnectFunction PurpleProxyConnectFunction
1458
1459 #define gaim_proxy_info_new purple_proxy_info_new
1460 #define gaim_proxy_info_destroy purple_proxy_info_destroy
1461 #define gaim_proxy_info_set_type purple_proxy_info_set_type
1462 #define gaim_proxy_info_set_host purple_proxy_info_set_host
1463 #define gaim_proxy_info_set_port purple_proxy_info_set_port
1464 #define gaim_proxy_info_set_username purple_proxy_info_set_username
1465 #define gaim_proxy_info_set_password purple_proxy_info_set_password
1466 #define gaim_proxy_info_get_type purple_proxy_info_get_type
1467 #define gaim_proxy_info_get_host purple_proxy_info_get_host
1468 #define gaim_proxy_info_get_port purple_proxy_info_get_port
1469 #define gaim_proxy_info_get_username purple_proxy_info_get_username
1470 #define gaim_proxy_info_get_password purple_proxy_info_get_password
1471
1472 #define gaim_global_proxy_get_info purple_global_proxy_get_info
1473 #define gaim_proxy_get_handle purple_proxy_get_handle
1474 #define gaim_proxy_init purple_proxy_init
1475 #define gaim_proxy_uninit purple_proxy_uninit
1476 #define gaim_proxy_get_setup purple_proxy_get_setup
1477
1478 #define gaim_proxy_connect purple_proxy_connect
1479 #define gaim_proxy_connect_socks5 purple_proxy_connect_socks5
1480 #define gaim_proxy_connect_cancel purple_proxy_connect_cancel
1481 #define gaim_proxy_connect_cancel_with_handle purple_proxy_connect_cancel_with_handle
1482
1483 /* from prpl.h */
1484
1485 #define GaimPluginProtocolInfo PurplePluginProtocolInfo
1486
1487 #define GAIM_ICON_SCALE_DISPLAY PURPLE_ICON_SCALE_DISPLAY
1488 #define GAIM_ICON_SCALE_SEND PURPLE_ICON_SCALE_SEND
1489 #define GaimIconScaleRules PurpleIconScaleRules
1490
1491 #define GaimBuddyIconSpec PurpleBuddyIconSpec
1492
1493 #define GaimProtocolOptions PurpleProtocolOptions
1494
1495 #define GAIM_IS_PROTOCOL_PLUGIN PURPLE_IS_PROTOCOL_PLUGIN
1496
1497 #define GAIM_PLUGIN_PROTOCOL_INFO PURPLE_PLUGIN_PROTOCOL_INFO
1498
1499 #define gaim_prpl_got_account_idle purple_prpl_got_account_idle
1500 #define gaim_prpl_got_account_login_time purple_prpl_got_account_login_time
1501 #define gaim_prpl_got_account_status purple_prpl_got_account_status
1502 #define gaim_prpl_got_user_idle purple_prpl_got_user_idle
1503 #define gaim_prpl_got_user_login_time purple_prpl_got_user_login_time
1504 #define gaim_prpl_got_user_status purple_prpl_got_user_status
1505 #define gaim_prpl_change_account_status purple_prpl_change_account_status
1506 #define gaim_prpl_get_statuses purple_prpl_get_statuses
1507
1508 #define gaim_find_prpl purple_find_prpl
1509
1510 /* from request.h */
1511
1512 #define GAIM_DEFAULT_ACTION_NONE PURPLE_DEFAULT_ACTION_NONE
1513
1514 #define GAIM_REQUEST_INPUT PURPLE_REQUEST_INPUT
1515 #define GAIM_REQUEST_CHOICE PURPLE_REQUEST_CHOICE
1516 #define GAIM_REQUEST_ACTION PURPLE_REQUEST_ACTION
1517 #define GAIM_REQUEST_FIELDS PURPLE_REQUEST_FIELDS
1518 #define GAIM_REQUEST_FILE PURPLE_REQUEST_FILE
1519 #define GAIM_REQUEST_FOLDER PURPLE_REQUEST_FOLDER
1520 #define GaimRequestType PurpleRequestType
1521
1522 #define GAIM_REQUEST_FIELD_NONE PURPLE_REQUEST_FIELD_NONE
1523 #define GAIM_REQUEST_FIELD_STRING PURPLE_REQUEST_FIELD_STRING
1524 #define GAIM_REQUEST_FIELD_INTEGER PURPLE_REQUEST_FIELD_INTEGER
1525 #define GAIM_REQUEST_FIELD_BOOLEAN PURPLE_REQUEST_FIELD_BOOLEAN
1526 #define GAIM_REQUEST_FIELD_CHOICE PURPLE_REQUEST_FIELD_CHOICE
1527 #define GAIM_REQUEST_FIELD_LIST PURPLE_REQUEST_FIELD_LIST
1528 #define GAIM_REQUEST_FIELD_LABEL PURPLE_REQUEST_FIELD_LABEL
1529 #define GAIM_REQUEST_FIELD_IMAGE PURPLE_REQUEST_FIELD_IMAGE
1530 #define GAIM_REQUEST_FIELD_ACCOUNT PURPLE_REQUEST_FIELD_ACCOUNT
1531 #define GaimRequestFieldType PurpleRequestFieldType
1532
1533 #define GaimRequestFields PurpleRequestFields
1534
1535 #define GaimRequestFieldGroup PurpleRequestFieldGroup
1536
1537 #define GaimRequestField PurpleRequestField
1538
1539 #define GaimRequestUiOps PurpleRequestUiOps
1540
1541 #define GaimRequestInputCb PurpleRequestInputCb
1542 #define GaimRequestActionCb PurpleRequestActionCb
1543 #define GaimRequestChoiceCb PurpleRequestChoiceCb
1544 #define GaimRequestFieldsCb PurpleRequestFieldsCb
1545 #define GaimRequestFileCb PurpleRequestFileCb
1546
1547 #define gaim_request_fields_new purple_request_fields_new
1548 #define gaim_request_fields_destroy purple_request_fields_destroy
1549 #define gaim_request_fields_add_group purple_request_fields_add_group
1550 #define gaim_request_fields_get_groups purple_request_fields_get_groups
1551 #define gaim_request_fields_exists purple_request_fields_exists
1552 #define gaim_request_fields_get_required purple_request_fields_get_required
1553 #define gaim_request_fields_is_field_required purple_request_fields_is_field_required
1554 #define gaim_request_fields_all_required_filled purple_request_fields_all_required_filled
1555 #define gaim_request_fields_get_field purple_request_fields_get_field
1556 #define gaim_request_fields_get_string purple_request_fields_get_string
1557 #define gaim_request_fields_get_integer purple_request_fields_get_integer
1558 #define gaim_request_fields_get_bool purple_request_fields_get_bool
1559 #define gaim_request_fields_get_choice purple_request_fields_get_choice
1560 #define gaim_request_fields_get_account purple_request_fields_get_account
1561
1562 #define gaim_request_field_group_new purple_request_field_group_new
1563 #define gaim_request_field_group_destroy purple_request_field_group_destroy
1564 #define gaim_request_field_group_add_field purple_request_field_group_add_field
1565 #define gaim_request_field_group_get_title purple_request_field_group_get_title
1566 #define gaim_request_field_group_get_fields purple_request_field_group_get_fields
1567
1568 #define gaim_request_field_new purple_request_field_new
1569 #define gaim_request_field_destroy purple_request_field_destroy
1570 #define gaim_request_field_set_label purple_request_field_set_label
1571 #define gaim_request_field_set_visible purple_request_field_set_visible
1572 #define gaim_request_field_set_type_hint purple_request_field_set_type_hint
1573 #define gaim_request_field_set_required purple_request_field_set_required
1574 #define gaim_request_field_get_type purple_request_field_get_type
1575 #define gaim_request_field_get_id purple_request_field_get_id
1576 #define gaim_request_field_get_label purple_request_field_get_label
1577 #define gaim_request_field_is_visible purple_request_field_is_visible
1578 #define gaim_request_field_get_type_hint purple_request_field_get_type_hint
1579 #define gaim_request_field_is_required purple_request_field_is_required
1580
1581 #define gaim_request_field_string_new purple_request_field_string_new
1582 #define gaim_request_field_string_set_default_value \
1583 purple_request_field_string_set_default_value
1584 #define gaim_request_field_string_set_value purple_request_field_string_set_value
1585 #define gaim_request_field_string_set_masked purple_request_field_string_set_masked
1586 #define gaim_request_field_string_set_editable purple_request_field_string_set_editable
1587 #define gaim_request_field_string_get_default_value \
1588 purple_request_field_string_get_default_value
1589 #define gaim_request_field_string_get_value purple_request_field_string_get_value
1590 #define gaim_request_field_string_is_multiline purple_request_field_string_is_multiline
1591 #define gaim_request_field_string_is_masked purple_request_field_string_is_masked
1592 #define gaim_request_field_string_is_editable purple_request_field_string_is_editable
1593
1594 #define gaim_request_field_int_new purple_request_field_int_new
1595 #define gaim_request_field_int_set_default_value \
1596 purple_request_field_int_set_default_value
1597 #define gaim_request_field_int_set_value purple_request_field_int_set_value
1598 #define gaim_request_field_int_get_default_value \
1599 purple_request_field_int_get_default_value
1600 #define gaim_request_field_int_get_value purple_request_field_int_get_value
1601
1602 #define gaim_request_field_bool_new purple_request_field_bool_new
1603 #define gaim_request_field_bool_set_default_value \
1604 purple_request_field_book_set_default_value
1605 #define gaim_request_field_bool_set_value purple_request_field_bool_set_value
1606 #define gaim_request_field_bool_get_default_value \
1607 purple_request_field_bool_get_default_value
1608 #define gaim_request_field_bool_get_value purple_request_field_bool_get_value
1609
1610 #define gaim_request_field_choice_new purple_request_field_choice_new
1611 #define gaim_request_field_choice_add purple_request_field_choice_add
1612 #define gaim_request_field_choice_set_default_value \
1613 purple_request_field_choice_set_default_value
1614 #define gaim_request_field_choice_set_value purple_request_field_choice_set_value
1615 #define gaim_request_field_choice_get_default_value \
1616 purple_request_field_choice_get_default_value
1617 #define gaim_request_field_choice_get_value purple_request_field_choice_get_value
1618 #define gaim_request_field_choice_get_labels purple_request_field_choice_get_labels
1619
1620 #define gaim_request_field_list_new purple_request_field_list_new
1621 #define gaim_request_field_list_set_multi_select purple_request_field_list_set_multi_select
1622 #define gaim_request_field_list_get_multi_select purple_request_field_list_get_multi_select
1623 #define gaim_request_field_list_get_data purple_request_field_list_get_data
1624 #define gaim_request_field_list_add purple_request_field_list_add
1625 #define gaim_request_field_list_add_selected purple_request_field_list_add_selected
1626 #define gaim_request_field_list_clear_selected purple_request_field_list_clear_selected
1627 #define gaim_request_field_list_set_selected purple_request_field_list_set_selected
1628 #define gaim_request_field_list_is_selected purple_request_field_list_is_selected
1629 #define gaim_request_field_list_get_selected purple_request_field_list_get_selected
1630 #define gaim_request_field_list_get_items purple_request_field_list_get_items
1631
1632 #define gaim_request_field_label_new purple_request_field_label_new
1633
1634 #define gaim_request_field_image_new purple_request_field_image_new
1635 #define gaim_request_field_image_set_scale purple_request_field_image_set_scale
1636 #define gaim_request_field_image_get_buffer purple_request_field_image_get_buffer
1637 #define gaim_request_field_image_get_size purple_request_field_image_get_size
1638 #define gaim_request_field_image_get_scale_x purple_request_field_image_get_scale_x
1639 #define gaim_request_field_image_get_scale_y purple_request_field_image_get_scale_y
1640
1641 #define gaim_request_field_account_new purple_request_field_account_new
1642 #define gaim_request_field_account_set_default_value purple_request_field_account_set_default_value
1643 #define gaim_request_field_account_set_value purple_request_field_account_set_value
1644 #define gaim_request_field_account_set_show_all purple_request_field_account_set_show_all
1645 #define gaim_request_field_account_set_filter purple_request_field_account_set_filter
1646 #define gaim_request_field_account_get_default_value purple_request_field_account_get_default_value
1647 #define gaim_request_field_account_get_value purple_request_field_account_get_value
1648 #define gaim_request_field_account_get_show_all purple_request_field_account_get_show_all
1649 #define gaim_request_field_account_get_filter purple_request_field_account_get_filter
1650
1651 #define gaim_request_input purple_request_input
1652 #define gaim_request_choice purple_request_choice
1653 #define gaim_request_choice_varg purple_request_choice_varg
1654 #define gaim_request_action purple_request_action
1655 #define gaim_request_action_varg purple_request_action_varg
1656 #define gaim_request_fields(handle, title, primary, secondary, fields, ok_text, ok_cb, cancel_text, cancel_cb, user_data) purple_request_fields(handle, title, primary, secondary, fields, ok_text, ok_cb, cancel_text, cancel_cb, NULL, NULL, NULL, user_data)
1657 #define gaim_request_close purple_request_close
1658 #define gaim_request_close_with_handle purple_request_close_with_handle
1659
1660 #define gaim_request_yes_no purple_request_yes_no
1661 #define gaim_request_ok_cancel purple_request_ok_cancel
1662 #define gaim_request_accept_cancel purple_request_accept_cancel
1663
1664 #define gaim_request_file purple_request_file
1665 #define gaim_request_folder purple_request_folder
1666
1667 #define gaim_request_set_ui_ops purple_request_set_ui_ops
1668 #define gaim_request_get_ui_ops purple_request_get_ui_ops
1669
1670 /* from roomlist.h */
1671
1672 #define GaimRoomlist PurpleRoomlist
1673 #define GaimRoomlistRoom PurpleRoomlistRoom
1674 #define GaimRoomlistField PurpleRoomlistField
1675 #define GaimRoomlistUiOps PurpleRoomlistUiOps
1676
1677 #define GAIM_ROOMLIST_ROOMTYPE_CATEGORY PURPLE_ROOMLIST_ROOMTYPE_CATEGORY
1678 #define GAIM_ROOMLIST_ROOMTYPE_ROOM PURPLE_ROOMLIST_ROOMTYPE_ROOM
1679 #define GaimRoomlistRoomType PurpleRoomlistRoomType
1680
1681 #define GAIM_ROOMLIST_FIELD_BOOL PURPLE_ROOMLIST_BOOL
1682 #define GAIM_ROOMLIST_FIELD_INT PURPLE_ROOMLIST_INT
1683 #define GAIM_ROOMLIST_FIELD_STRING PURPLE_ROOMLIST_STRING
1684 #define GaimRoomlistFieldType PurpleRoomlistFieldType
1685
1686 #define gaim_roomlist_show_with_account purple_roomlist_show_with_account
1687 #define gaim_roomlist_new purple_roomlist_new
1688 #define gaim_roomlist_ref purple_roomlist_ref
1689 #define gaim_roomlist_unref purple_roomlist_unref
1690 #define gaim_roomlist_set_fields purple_roomlist_set_fields
1691 #define gaim_roomlist_set_in_progress purple_roomlist_set_in_progress
1692 #define gaim_roomlist_get_in_progress purple_roomlist_get_in_progress
1693 #define gaim_roomlist_room_add purple_roomlist_room_add
1694
1695 #define gaim_roomlist_get_list purple_roomlist_get_list
1696 #define gaim_roomlist_cancel_get_list purple_roomlist_cancel_get_list
1697 #define gaim_roomlist_expand_category purple_roomlist_expand_category
1698
1699 #define gaim_roomlist_room_new purple_roomlist_room_new
1700 #define gaim_roomlist_room_add_field purple_roomlist_room_add_field
1701 #define gaim_roomlist_room_join purple_roomlist_room_join
1702 #define gaim_roomlist_field_new purple_roomlist_field_new
1703
1704 #define gaim_roomlist_set_ui_ops purple_roomlist_set_ui_ops
1705 #define gaim_roomlist_get_ui_ops purple_roomlist_get_ui_ops
1706
1707 /* from savedstatuses.h */
1708
1709 #define GaimSavedStatus PurpleSavedStatus
1710 #define GaimSavedStatusSub PurpleSavedStatusSub
1711
1712 #define gaim_savedstatus_new purple_savedstatus_new
1713 #define gaim_savedstatus_set_title purple_savedstatus_set_title
1714 #define gaim_savedstatus_set_type purple_savedstatus_set_type
1715 #define gaim_savedstatus_set_message purple_savedstatus_set_message
1716 #define gaim_savedstatus_set_substatus purple_savedstatus_set_substatus
1717 #define gaim_savedstatus_unset_substatus purple_savedstatus_unset_substatus
1718 #define gaim_savedstatus_delete purple_savedstatus_delete
1719
1720 #define gaim_savedstatuses_get_all purple_savedstatuses_get_all
1721 #define gaim_savedstatuses_get_popular purple_savedstatuses_get_popular
1722 #define gaim_savedstatus_get_current purple_savedstatus_get_current
1723 #define gaim_savedstatus_get_default purple_savedstatus_get_default
1724 #define gaim_savedstatus_get_idleaway purple_savedstatus_get_idleaway
1725 #define gaim_savedstatus_is_idleaway purple_savedstatus_is_idleaway
1726 #define gaim_savedstatus_set_idleaway purple_savedstatus_set_idleaway
1727 #define gaim_savedstatus_get_startup purple_savedstatus_get_startup
1728 #define gaim_savedstatus_find purple_savedstatus_find
1729 #define gaim_savedstatus_find_by_creation_time purple_savedstatus_find_by_creation_time
1730 #define gaim_savedstatus_find_transient_by_type_and_message \
1731 purple_savedstatus_find_transient_by_type_and_message
1732
1733 #define gaim_savedstatus_is_transient purple_savedstatus_is_transient
1734 #define gaim_savedstatus_get_title purple_savedstatus_get_title
1735 #define gaim_savedstatus_get_type purple_savedstatus_get_type
1736 #define gaim_savedstatus_get_message purple_savedstatus_get_message
1737 #define gaim_savedstatus_get_creation_time purple_savedstatus_get_creation_time
1738 #define gaim_savedstatus_has_substatuses purple_savedstatus_has_substatuses
1739 #define gaim_savedstatus_get_substatus purple_savedstatus_get_substatus
1740 #define gaim_savedstatus_substatus_get_type purple_savedstatus_substatus_get_type
1741 #define gaim_savedstatus_substatus_get_message purple_savedstatus_substatus_get_message
1742 #define gaim_savedstatus_activate purple_savedstatus_activate
1743 #define gaim_savedstatus_activate_for_account purple_savedstatus_activate_for_account
1744
1745 #define gaim_savedstatuses_get_handle purple_savedstatuses_get_handle
1746 #define gaim_savedstatuses_init purple_savedstatuses_init
1747 #define gaim_savedstatuses_uninit purple_savedstatuses_uninit
1748
1749 /* from signals.h */
1750
1751 #define GAIM_CALLBACK PURPLE_CALLBACK
1752
1753 #define GaimCallback PurpleCallback
1754 #define GaimSignalMarshalFunc PurpleSignalMarshalFunc
1755
1756 #define GAIM_SIGNAL_PRIORITY_DEFAULT PURPLE_SIGNAL_PRIORITY_DEFAULT
1757 #define GAIM_SIGNAL_PRIORITY_HIGHEST PURPLE_SIGNAL_PRIORITY_HIGHEST
1758 #define GAIM_SIGNAL_PRIORITY_LOWEST PURPLE_SIGNAL_PRIORITY_LOWEST
1759
1760 #define gaim_signal_register purple_signal_register
1761 #define gaim_signal_unregister purple_signal_unregister
1762
1763 #define gaim_signals_unregister_by_instance purple_signals_unregister_by_instance
1764
1765 #define gaim_signal_get_values purple_signal_get_values
1766 #define gaim_signal_connect_priority purple_signal_connect_priority
1767 #define gaim_signal_connect purple_signal_connect
1768 #define gaim_signal_connect_priority_vargs purple_signal_connect_priority_vargs
1769 #define gaim_signal_connect_vargs purple_signal_connect_vargs
1770 #define gaim_signal_disconnect purple_signal_disconnect
1771
1772 #define gaim_signals_disconnect_by_handle purple_signals_disconnect_by_handle
1773
1774 #define gaim_signal_emit purple_signal_emit
1775 #define gaim_signal_emit_vargs purple_signal_emit_vargs
1776 #define gaim_signal_emit_return_1 purple_signal_emit_vargs
1777 #define gaim_signal_emit_vargs_return_1 purple_signal_emit_vargs_return_1
1778
1779 #define gaim_signals_init purple_signals_init
1780 #define gaim_signals_uninit purple_signals_uninit
1781
1782 #define gaim_marshal_VOID \
1783 purple_marshal_VOID
1784 #define gaim_marshal_VOID__INT \
1785 purple_marshal_VOID__INT
1786 #define gaim_marshal_VOID__INT_INT \
1787 purple_marshal_VOID_INT_INT
1788 #define gaim_marshal_VOID__POINTER \
1789 purple_marshal_VOID__POINTER
1790 #define gaim_marshal_VOID__POINTER_UINT \
1791 purple_marshal_VOID__POINTER_UINT
1792 #define gaim_marshal_VOID__POINTER_INT_INT \
1793 purple_marshal_VOID__POINTER_INT_INT
1794 #define gaim_marshal_VOID__POINTER_POINTER \
1795 purple_marshal_VOID__POINTER_POINTER
1796 #define gaim_marshal_VOID__POINTER_POINTER_UINT \
1797 purple_marshal_VOID__POINTER_POINTER_UINT
1798 #define gaim_marshal_VOID__POINTER_POINTER_UINT_UINT \
1799 purple_marshal_VOID__POINTER_POINTER_UINT_UINT
1800 #define gaim_marshal_VOID__POINTER_POINTER_POINTER \
1801 purple_marshal_VOID__POINTER_POINTER_POINTER
1802 #define gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER \
1803 purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER
1804 #define gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER_POINTER \
1805 purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER_POINTER
1806 #define gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT \
1807 purple_marshal_VOID__POINTER_POINTER_POINTER_UINT
1808 #define gaim_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT \
1809 purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT
1810 #define gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT \
1811 purple_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT
1812
1813 #define gaim_marshal_INT__INT \
1814 purple_marshal_INT__INT
1815 #define gaim_marshal_INT__INT_INT \
1816 purple_marshal_INT__INT_INT
1817 #define gaim_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER \
1818 purple_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER
1819
1820 #define gaim_marshal_BOOLEAN__POINTER \
1821 purple_marshal_BOOLEAN__POINTER
1822 #define gaim_marshal_BOOLEAN__POINTER_POINTER \
1823 purple_marshal_BOOLEAN__POINTER_POINTER
1824 #define gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER \
1825 purple_marshal_BOOLEAN__POINTER_POINTER_POINTER
1826 #define gaim_marshal_BOOLEAN__POINTER_POINTER_UINT \
1827 purple_marshal_BOOLEAN__POINTER_POINTER_UINT
1828 #define gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT \
1829 purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT
1830 #define gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER \
1831 purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER
1832 #define gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER \
1833 purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER
1834
1835 #define gaim_marshal_BOOLEAN__INT_POINTER \
1836 purple_marshal_BOOLEAN__INT_POINTER
1837
1838 #define gaim_marshal_POINTER__POINTER_INT \
1839 purple_marshal_POINTER__POINTER_INT
1840 #define gaim_marshal_POINTER__POINTER_INT64 \
1841 purple_marshal_POINTER__POINTER_INT64
1842 #define gaim_marshal_POINTER__POINTER_INT_BOOLEAN \
1843 purple_marshal_POINTER__POINTER_INT_BOOLEAN
1844 #define gaim_marshal_POINTER__POINTER_INT64_BOOLEAN \
1845 purple_marshal_POINTER__POINTER_INT64_BOOLEAN
1846 #define gaim_marshal_POINTER__POINTER_POINTER \
1847 purple_marshal_POINTER__POINTER_POINTER
1848
1849 /* from sound.h */
1850
1851 #define GAIM_SOUND_BUDDY_ARRIVE PURPLE_SOUND_BUDDY_ARRIVE
1852 #define GAIM_SOUND_BUDDY_LEAVE PURPLE_SOUND_BUDDY_LEAVE
1853 #define GAIM_SOUND_RECEIVE PURPLE_SOUND_RECEIVE
1854 #define GAIM_SOUND_FIRST_RECEIVE PURPLE_SOUND_FIRST_RECEIVE
1855 #define GAIM_SOUND_SEND PURPLE_SOUND_SEND
1856 #define GAIM_SOUND_CHAT_JOIN PURPLE_SOUND_CHAT_JOIN
1857 #define GAIM_SOUND_CHAT_LEAVE PURPLE_SOUND_CHAT_LEAVE
1858 #define GAIM_SOUND_CHAT_YOU_SAY PURPLE_SOUND_CHAT_YOU_SAY
1859 #define GAIM_SOUND_CHAT_SAY PURPLE_SOUND_CHAT_SAY
1860 #define GAIM_SOUND_POUNCE_DEFAULT PURPLE_SOUND_POUNCE_DEFAULT
1861 #define GAIM_SOUND_CHAT_NICK PURPLE_SOUND_CHAT_NICK
1862 #define GAIM_NUM_SOUNDS PURPLE_NUM_SOUNDS
1863 #define GaimSoundEventID PurpleSoundEventID
1864
1865 #define GaimSoundUiOps PurpleSoundUiOps
1866
1867 #define gaim_sound_play_file purple_sound_play_file
1868 #define gaim_sound_play_event purple_sound_play_event
1869 #define gaim_sound_set_ui_ops purple_sound_set_ui_ops
1870 #define gaim_sound_get_ui_ops purple_sound_get_ui_ops
1871 #define gaim_sound_init purple_sound_init
1872 #define gaim_sound_uninit purple_sound_uninit
1873
1874 #define gaim_sounds_get_handle purple_sounds_get_handle
1875
1876 /* from sslconn.h */
1877
1878 #define GAIM_SSL_DEFAULT_PORT PURPLE_SSL_DEFAULT_PORT
1879
1880 #define GAIM_SSL_HANDSHAKE_FAILED PURPLE_SSL_HANDSHAKE_FAILED
1881 #define GAIM_SSL_CONNECT_FAILED PURPLE_SSL_CONNECT_FAILED
1882 #define GaimSslErrorType PurpleSslErrorType
1883
1884 #define GaimSslConnection PurpleSslConnection
1885
1886 #define GaimSslInputFunction PurpleSslInputFunction
1887 #define GaimSslErrorFunction PurpleSslErrorFunction
1888
1889 #define GaimSslOps PurpleSslOps
1890
1891 #define gaim_ssl_is_supported purple_ssl_is_supported
1892 #define gaim_ssl_connect purple_ssl_connect
1893 #define gaim_ssl_connect_fd purple_ssl_connect_fd
1894 #define gaim_ssl_input_add purple_ssl_input_add
1895 #define gaim_ssl_close purple_ssl_close
1896 #define gaim_ssl_read purple_ssl_read
1897 #define gaim_ssl_write purple_ssl_write
1898
1899 #define gaim_ssl_set_ops purple_ssl_set_ops
1900 #define gaim_ssl_get_ops purple_ssl_get_ops
1901 #define gaim_ssl_init purple_ssl_init
1902 #define gaim_ssl_uninit purple_ssl_uninit
1903
1904 /* from status.h */
1905
1906 #define GaimStatusType PurpleStatusType
1907 #define GaimStatusAttr PurpleStatusAttr
1908 #define GaimPresence PurplePresence
1909 #define GaimStatus PurpleStatus
1910
1911 #define GAIM_PRESENCE_CONTEXT_UNSET PURPLE_PRESENCE_CONTEXT_UNSET
1912 #define GAIM_PRESENCE_CONTEXT_ACCOUNT PURPLE_PRESENCE_CONTEXT_ACCOUNT
1913 #define GAIM_PRESENCE_CONTEXT_CONV PURPLE_PRESENCE_CONTEXT_CONV
1914 #define GAIM_PRESENCE_CONTEXT_BUDDY PURPLE_PRESENCE_CONTEXT_BUDDY
1915 #define GaimPresenceContext PurplePresenceContext
1916
1917 #define GAIM_STATUS_UNSET PURPLE_STATUS_UNSET
1918 #define GAIM_STATUS_OFFLINE PURPLE_STATUS_OFFLINE
1919 #define GAIM_STATUS_AVAILABLE PURPLE_STATUS_AVAILABLE
1920 #define GAIM_STATUS_UNAVAILABLE PURPLE_STATUS_UNAVAILABLE
1921 #define GAIM_STATUS_INVISIBLE PURPLE_STATUS_INVISIBLE
1922 #define GAIM_STATUS_AWAY PURPLE_STATUS_AWAY
1923 #define GAIM_STATUS_EXTENDED_AWAY PURPLE_STATUS_EXTENDED_AWAY
1924 #define GAIM_STATUS_MOBILE PURPLE_STATUS_MOBILE
1925 #define GAIM_STATUS_NUM_PRIMITIVES PURPLE_STATUS_NUM_PRIMITIVES
1926 #define GaimStatusPrimitive PurpleStatusPrimitive
1927
1928 #define gaim_primitive_get_id_from_type purple_primitive_get_id_from_type
1929 #define gaim_primitive_get_name_from_type purple_primitive_get_name_from_type
1930 #define gaim_primitive_get_type_from_id purple_primitive_get_type_from_id
1931
1932 #define gaim_status_type_new_full purple_status_type_new_full
1933 #define gaim_status_type_new purple_status_type_new
1934 #define gaim_status_type_new_with_attrs purple_status_type_new_with_attrs
1935 #define gaim_status_type_destroy purple_status_type_destroy
1936 #define gaim_status_type_set_primary_attr purple_status_type_set_primary_attr
1937 #define gaim_status_type_add_attr purple_status_type_add_attr
1938 #define gaim_status_type_add_attrs purple_status_type_add_attrs
1939 #define gaim_status_type_add_attrs_vargs purple_status_type_add_attrs_vargs
1940 #define gaim_status_type_get_primitive purple_status_type_get_primitive
1941 #define gaim_status_type_get_id purple_status_type_get_id
1942 #define gaim_status_type_get_name purple_status_type_get_name
1943 #define gaim_status_type_is_saveable purple_status_type_is_saveable
1944 #define gaim_status_type_is_user_settable purple_status_type_is_user_settable
1945 #define gaim_status_type_is_independent purple_status_type_is_independent
1946 #define gaim_status_type_is_exclusive purple_status_type_is_exclusive
1947 #define gaim_status_type_is_available purple_status_type_is_available
1948 #define gaim_status_type_get_primary_attr purple_status_type_get_primary_attr
1949 #define gaim_status_type_get_attr purple_status_type_get_attr
1950 #define gaim_status_type_get_attrs purple_status_type_get_attrs
1951 #define gaim_status_type_find_with_id purple_status_type_find_with_id
1952
1953 #define gaim_status_attr_new purple_status_attr_new
1954 #define gaim_status_attr_destroy purple_status_attr_destroy
1955 #define gaim_status_attr_get_id purple_status_attr_get_id
1956 #define gaim_status_attr_get_name purple_status_attr_get_name
1957 #define gaim_status_attr_get_value purple_status_attr_get_value
1958
1959 #define gaim_status_new purple_status_new
1960 #define gaim_status_destroy purple_status_destroy
1961 #define gaim_status_set_active purple_status_set_active
1962 #define gaim_status_set_active_with_attrs purple_status_set_active_with_attrs
1963 #define gaim_status_set_active_with_attrs_list purple_status_set_active_with_attrs_list
1964 #define gaim_status_set_attr_boolean purple_status_set_attr_boolean
1965 #define gaim_status_set_attr_int purple_status_set_attr_int
1966 #define gaim_status_set_attr_string purple_status_set_attr_string
1967 #define gaim_status_get_type purple_status_get_type
1968 #define gaim_status_get_presence purple_status_get_presence
1969 #define gaim_status_get_id purple_status_get_id
1970 #define gaim_status_get_name purple_status_get_name
1971 #define gaim_status_is_independent purple_status_is_independent
1972 #define gaim_status_is_exclusive purple_status_is_exclusive
1973 #define gaim_status_is_available purple_status_is_available
1974 #define gaim_status_is_active purple_status_is_active
1975 #define gaim_status_is_online purple_status_is_online
1976 #define gaim_status_get_attr_value purple_status_get_attr_value
1977 #define gaim_status_get_attr_boolean purple_status_get_attr_boolean
1978 #define gaim_status_get_attr_int purple_status_get_attr_int
1979 #define gaim_status_get_attr_string purple_status_get_attr_string
1980 #define gaim_status_compare purple_status_compare
1981
1982 #define gaim_presence_new purple_presence_new
1983 #define gaim_presence_new_for_account purple_presence_new_for_account
1984 #define gaim_presence_new_for_conv purple_presence_new_for_conv
1985 #define gaim_presence_new_for_buddy purple_presence_new_for_buddy
1986 #define gaim_presence_destroy purple_presence_destroy
1987 #define gaim_presence_add_status purple_presence_add_status
1988 #define gaim_presence_add_list purple_presence_add_list
1989 #define gaim_presence_set_status_active purple_presence_set_status_active
1990 #define gaim_presence_switch_status purple_presence_switch_status
1991 #define gaim_presence_set_idle purple_presence_set_idle
1992 #define gaim_presence_set_login_time purple_presence_set_login_time
1993 #define gaim_presence_get_context purple_presence_get_context
1994 #define gaim_presence_get_account purple_presence_get_account
1995 #define gaim_presence_get_conversation purple_presence_get_conversation
1996 #define gaim_presence_get_chat_user purple_presence_get_chat_user
1997 #define gaim_presence_get_statuses purple_presence_get_statuses
1998 #define gaim_presence_get_status purple_presence_get_status
1999 #define gaim_presence_get_active_status purple_presence_get_active_status
2000 #define gaim_presence_is_available purple_presence_is_available
2001 #define gaim_presence_is_online purple_presence_is_online
2002 #define gaim_presence_is_status_active purple_presence_is_status_active
2003 #define gaim_presence_is_status_primitive_active \
2004 purple_presence_is_status_primitive_active
2005 #define gaim_presence_is_idle purple_presence_is_idle
2006 #define gaim_presence_get_idle_time purple_presence_get_idle_time
2007 #define gaim_presence_get_login_time purple_presence_get_login_time
2008 #define gaim_presence_compare purple_presence_compare
2009
2010 #define gaim_status_get_handle purple_status_get_handle
2011 #define gaim_status_init purple_status_init
2012 #define gaim_status_uninit purple_status_uninit
2013
2014 /* from stringref.h */
2015
2016 #define GaimStringref PurpleStringref
2017
2018 #define gaim_stringref_new purple_stringref_new
2019 #define gaim_stringref_new_noref purple_stringref_new_noref
2020 #define gaim_stringref_printf purple_stringref_printf
2021 #define gaim_stringref_ref purple_stringref_ref
2022 #define gaim_stringref_unref purple_stringref_unref
2023 #define gaim_stringref_value purple_stringref_value
2024 #define gaim_stringref_cmp purple_stringref_cmp
2025 #define gaim_stringref_len purple_stringref_len
2026
2027 /* from stun.h */
2028
2029 #define GaimStunNatDiscovery PurpleStunNatDiscovery
2030
2031 #define GAIM_STUN_STATUS_UNDISCOVERED PURPLE_STUN_STATUS_UNDISCOVERED
2032 #define GAIM_STUN_STATUS_UNKNOWN PURPLE_STUN_STATUS_UNKNOWN
2033 #define GAIM_STUN_STATUS_DISCOVERING PURPLE_STUN_STATUS_DISCOVERING
2034 #define GAIM_STUN_STATUS_DISCOVERED PURPLE_STUN_STATUS_DISCOVERED
2035 #define GaimStunStatus PurpleStunStatus
2036
2037 #define GAIM_STUN_NAT_TYPE_PUBLIC_IP PURPLE_STUN_NAT_TYPE_PUBLIC_IP
2038 #define GAIM_STUN_NAT_TYPE_UNKNOWN_NAT PURPLE_STUN_NAT_TYPE_UNKNOWN_NAT
2039 #define GAIM_STUN_NAT_TYPE_FULL_CONE PURPLE_STUN_NAT_TYPE_FULL_CONE
2040 #define GAIM_STUN_NAT_TYPE_RESTRICTED_CONE PURPLE_STUN_NAT_TYPE_RESTRICTED_CONE
2041 #define GAIM_STUN_NAT_TYPE_PORT_RESTRICTED_CONE PURPLE_STUN_NAT_TYPE_PORT_RESTRICTED_CONE
2042 #define GAIM_STUN_NAT_TYPE_SYMMETRIC PURPLE_STUN_NAT_TYPE_SYMMETRIC
2043 #define GaimStunNatType PurpleStunNatType
2044
2045 /* why didn't this have a Gaim prefix before? */
2046 #define StunCallback PurpleStunCallback
2047
2048 #define gaim_stun_discover purple_stun_discover
2049 #define gaim_stun_init purple_stun_init
2050
2051 /* from upnp.h */
2052
2053 /* suggested rename: PurpleUPnpMappingHandle */
2054 #define UPnPMappingAddRemove PurpleUPnPMappingAddRemove
2055
2056 #define GaimUPnPCallback PurpleUPnPCallback
2057
2058 #define gaim_upnp_discover purple_upnp_discover
2059 #define gaim_upnp_get_public_ip purple_upnp_get_public_ip
2060 #define gaim_upnp_cancel_port_mapping purple_upnp_cancel_port_mapping
2061 #define gaim_upnp_set_port_mapping purple_upnp_set_port_mapping
2062
2063 #define gaim_upnp_remove_port_mapping purple_upnp_remove_port_mapping
2064
2065 /* from util.h */
2066
2067 #define GaimUtilFetchUrlData PurpleUtilFetchUrlData
2068 #define GaimMenuAction PurpleMenuAction
2069
2070 #define GaimInfoFieldFormatCallback PurpleIntoFieldFormatCallback
2071
2072 #define GaimKeyValuePair PurpleKeyValuePair
2073
2074 #define gaim_menu_action_new purple_menu_action_new
2075 #define gaim_menu_action_free purple_menu_action_free
2076
2077 #define gaim_base16_encode purple_base16_encode
2078 #define gaim_base16_decode purple_base16_decode
2079 #define gaim_base64_encode purple_base64_encode
2080 #define gaim_base64_decode purple_base64_decode
2081 #define gaim_quotedp_decode purple_quotedp_decode
2082
2083 #define gaim_mime_decode_field purple_mime_deco_field
2084
2085 #define gaim_utf8_strftime purple_utf8_strftime
2086 #define gaim_date_format_short purple_date_format_short
2087 #define gaim_date_format_long purple_date_format_long
2088 #define gaim_date_format_full purple_date_format_full
2089 #define gaim_time_format purple_time_format
2090 #define gaim_time_build purple_time_build
2091
2092 #define GAIM_NO_TZ_OFF PURPLE_NO_TZ_OFF
2093
2094 #define gaim_str_to_time purple_str_to_time
2095
2096 #define gaim_markup_find_tag purple_markup_find_tag
2097 #define gaim_markup_extract_info_field purple_markup_extract_info_field
2098 #define gaim_markup_html_to_xhtml purple_markup_html_to_xhtml
2099 #define gaim_markup_strip_html purple_markup_strip_html
2100 #define gaim_markup_linkify purple_markup_linkify
2101 #define gaim_markup_slice purple_markup_slice
2102 #define gaim_markup_get_tag_name purple_markup_get_tag_name
2103 #define gaim_unescape_html purple_unescape_html
2104
2105 #define gaim_home_dir purple_home_dir
2106 #define gaim_user_dir purple_user_dir
2107
2108 #define gaim_util_set_user_dir purple_util_set_user_dir
2109
2110 #define gaim_build_dir purple_build_dir
2111
2112 #define gaim_util_write_data_to_file purple_util_write_data_to_file
2113
2114 #define gaim_util_read_xml_from_file purple_util_read_xml_from_file
2115
2116 #define gaim_mkstemp purple_mkstemp
2117
2118 #define gaim_program_is_valid purple_program_is_valid
2119
2120 #define gaim_running_gnome purple_running_gnome
2121 #define gaim_running_kde purple_running_kde
2122 #define gaim_running_osx purple_running_osx
2123
2124 #define gaim_fd_get_ip purple_fd_get_ip
2125
2126 #define gaim_normalize purple_normalize
2127 #define gaim_normalize_nocase purple_normalize_nocase
2128
2129 #define gaim_strdup_withhtml purple_strdup_withhtml
2130
2131 #define gaim_str_has_prefix purple_str_has_prefix
2132 #define gaim_str_has_suffix purple_str_has_suffix
2133 #define gaim_str_add_cr purple_str_add_cr
2134 #define gaim_str_strip_char purple_str_strip_char
2135
2136 #define gaim_util_chrreplace purple_util_chrreplace
2137
2138 #define gaim_strreplace purple_strreplace
2139
2140 #define gaim_utf8_ncr_encode purple_utf8_ncr_encode
2141 #define gaim_utf8_ncr_decode purple_utf8_ncr_decode
2142
2143 #define gaim_strcasereplace purple_strcasereplace
2144 #define gaim_strcasestr purple_strcasestr
2145
2146 #define gaim_str_size_to_units purple_str_size_to_units
2147 #define gaim_str_seconds_to_string purple_str_seconds_to_string
2148 #define gaim_str_binary_to_ascii purple_str_binary_to_ascii
2149
2150
2151 #define gaim_got_protocol_handler_uri purple_got_protocol_handler_uri
2152
2153 #define gaim_url_parse purple_url_parse
2154
2155 #define GaimUtilFetchUrlCallback PurpleUtilFetchUrlCallback
2156 #define gaim_util_fetch_url purple_util_fetch_url
2157 #define gaim_util_fetch_url_request purple_util_fetch_url_request
2158 #define gaim_util_fetch_url_cancel purple_util_fetch_url_cancel
2159
2160 #define gaim_url_decode purple_url_decode
2161 #define gaim_url_encode purple_url_encode
2162
2163 #define gaim_email_is_valid purple_email_is_valid
2164
2165 #define gaim_uri_list_extract_uris purple_uri_list_extract_uris
2166 #define gaim_uri_list_extract_filenames purple_uri_list_extract_filenames
2167
2168 #define gaim_utf8_try_convert purple_utf8_try_convert
2169 #define gaim_utf8_salvage purple_utf8_salvage
2170 #define gaim_utf8_strcasecmp purple_utf8_strcasecmp
2171 #define gaim_utf8_has_word purple_utf8_has_word
2172
2173 #define gaim_print_utf8_to_console purple_print_utf8_to_console
2174
2175 #define gaim_message_meify purple_message_meify
2176
2177 #define gaim_text_strip_mnemonic purple_text_strip_mnemonic
2178
2179 #define gaim_unescape_filename purple_unescape_filename
2180 #define gaim_escape_filename purple_escape_filename
2181
2182 /* from value.h */
2183
2184 #define GAIM_TYPE_UNKNOWN PURPLE_TYPE_UNKNOWN
2185 #define GAIM_TYPE_SUBTYPE PURPLE_TYPE_SUBTYPE
2186 #define GAIM_TYPE_CHAR PURPLE_TYPE_CHAR
2187 #define GAIM_TYPE_UCHAR PURPLE_TYPE_UCHAR
2188 #define GAIM_TYPE_BOOLEAN PURPLE_TYPE_BOOLEAN
2189 #define GAIM_TYPE_SHORT PURPLE_TYPE_SHORT
2190 #define GAIM_TYPE_USHORT PURPLE_TYPE_USHORT
2191 #define GAIM_TYPE_INT PURPLE_TYPE_INT
2192 #define GAIM_TYPE_UINT PURPLE_TYPE_UINT
2193 #define GAIM_TYPE_LONG PURPLE_TYPE_LONG
2194 #define GAIM_TYPE_ULONG PURPLE_TYPE_ULONG
2195 #define GAIM_TYPE_INT64 PURPLE_TYPE_INT64
2196 #define GAIM_TYPE_UINT64 PURPLE_TYPE_UINT64
2197 #define GAIM_TYPE_STRING PURPLE_TYPE_STRING
2198 #define GAIM_TYPE_OBJECT PURPLE_TYPE_OBJECT
2199 #define GAIM_TYPE_POINTER PURPLE_TYPE_POINTER
2200 #define GAIM_TYPE_ENUM PURPLE_TYPE_ENUM
2201 #define GAIM_TYPE_BOXED PURPLE_TYPE_BOXED
2202 #define GaimType PurpleType
2203
2204
2205 #define GAIM_SUBTYPE_UNKNOWN PURPLE_SUBTYPE_UNKNOWN
2206 #define GAIM_SUBTYPE_ACCOUNT PURPLE_SUBTYPE_ACCOUNT
2207 #define GAIM_SUBTYPE_BLIST PURPLE_SUBTYPE_BLIST
2208 #define GAIM_SUBTYPE_BLIST_BUDDY PURPLE_SUBTYPE_BLIST_BUDDY
2209 #define GAIM_SUBTYPE_BLIST_GROUP PURPLE_SUBTYPE_BLIST_GROUP
2210 #define GAIM_SUBTYPE_BLIST_CHAT PURPLE_SUBTYPE_BLIST_CHAT
2211 #define GAIM_SUBTYPE_BUDDY_ICON PURPLE_SUBTYPE_BUDDY_ICON
2212 #define GAIM_SUBTYPE_CONNECTION PURPLE_SUBTYPE_CONNECTION
2213 #define GAIM_SUBTYPE_CONVERSATION PURPLE_SUBTYPE_CONVERSATION
2214 #define GAIM_SUBTYPE_PLUGIN PURPLE_SUBTYPE_PLUGIN
2215 #define GAIM_SUBTYPE_BLIST_NODE PURPLE_SUBTYPE_BLIST_NODE
2216 #define GAIM_SUBTYPE_CIPHER PURPLE_SUBTYPE_CIPHER
2217 #define GAIM_SUBTYPE_STATUS PURPLE_SUBTYPE_STATUS
2218 #define GAIM_SUBTYPE_LOG PURPLE_SUBTYPE_LOG
2219 #define GAIM_SUBTYPE_XFER PURPLE_SUBTYPE_XFER
2220 #define GAIM_SUBTYPE_SAVEDSTATUS PURPLE_SUBTYPE_SAVEDSTATUS
2221 #define GAIM_SUBTYPE_XMLNODE PURPLE_SUBTYPE_XMLNODE
2222 #define GAIM_SUBTYPE_USERINFO PURPLE_SUBTYPE_USERINFO
2223 #define GaimSubType PurpleSubType
2224
2225 #define GaimValue PurpleValue
2226
2227 #define gaim_value_new purple_value_new
2228 #define gaim_value_new_outgoing purple_value_new_outgoing
2229 #define gaim_value_destroy purple_value_destroy
2230 #define gaim_value_dup purple_value_dup
2231 #define gaim_value_purple_buddy_icon_get_extensionget_type purple_value_get_type
2232 #define gaim_value_get_subtype purple_value_get_subtype
2233 #define gaim_value_get_specific_type purple_value_get_specific_type
2234 #define gaim_value_is_outgoing purple_value_is_outgoing
2235 #define gaim_value_set_char purple_value_set_char
2236 #define gaim_value_set_uchar purple_value_set_uchar
2237 #define gaim_value_set_boolean purple_value_set_boolean
2238 #define gaim_value_set_short purple_value_set_short
2239 #define gaim_value_set_ushort purple_value_set_ushort
2240 #define gaim_value_set_int purple_value_set_int
2241 #define gaim_value_set_uint purple_value_set_uint
2242 #define gaim_value_set_long purple_value_set_long
2243 #define gaim_value_set_ulong purple_value_set_ulong
2244 #define gaim_value_set_int64 purple_value_set_int64
2245 #define gaim_value_set_uint64 purple_value_set_uint64
2246 #define gaim_value_set_string purple_value_set_string
2247 #define gaim_value_set_object purple_value_set_object
2248 #define gaim_value_set_pointer purple_value_set_pointer
2249 #define gaim_value_set_enum purple_value_set_enum
2250 #define gaim_value_set_boxed purple_value_set_boxed
2251 #define gaim_value_get_char purple_value_get_char
2252 #define gaim_value_get_uchar purple_value_get_uchar
2253 #define gaim_value_get_boolean purple_value_get_boolean
2254 #define gaim_value_get_short purple_value_get_short
2255 #define gaim_value_get_ushort purple_value_get_ushort
2256 #define gaim_value_get_int purple_value_get_int
2257 #define gaim_value_get_uint purple_value_get_uint
2258 #define gaim_value_get_long purple_value_get_long
2259 #define gaim_value_get_ulong purple_value_get_ulong
2260 #define gaim_value_get_int64 purple_value_get_int64
2261 #define gaim_value_get_uint64 purple_value_get_uint64
2262 #define gaim_value_get_string purple_value_get_string
2263 #define gaim_value_get_object purple_value_get_object
2264 #define gaim_value_get_pointer purple_value_get_pointer
2265 #define gaim_value_get_enum purple_value_get_enum
2266 #define gaim_value_get_boxed purple_value_get_boxed
2267
2268 /* from version.h */
2269
2270 #define GAIM_MAJOR_VERSION PURPLE_MAJOR_VERSION
2271 #define GAIM_MINOR_VERSION PURPLE_MINOR_VERSION
2272 #define GAIM_MICRO_VERSION PURPLE_MICRO_VERSION
2273
2274 #define GAIM_VERSION_CHECK PURPLE_VERSION_CHECK
2275
2276 /* from whiteboard.h */
2277
2278 #define GaimWhiteboardPrplOps PurpleWhiteboardPrplOps
2279 #define GaimWhiteboard PurpleWhiteboard
2280 #define GaimWhiteboardUiOps PurpleWhiteboardUiOps
2281
2282 #define gaim_whiteboard_set_ui_ops purple_whiteboard_set_ui_ops
2283 #define gaim_whiteboard_set_prpl_ops purple_whiteboard_set_prpl_ops
2284
2285 #define gaim_whiteboard_create purple_whiteboard_create
2286 #define gaim_whiteboard_destroy purple_whiteboard_destroy
2287 #define gaim_whiteboard_start purple_whiteboard_start
2288 #define gaim_whiteboard_get_session purple_whiteboard_get_session
2289 #define gaim_whiteboard_draw_list_destroy purple_whiteboard_draw_list_destroy
2290 #define gaim_whiteboard_get_dimensions purple_whiteboard_get_dimensions
2291 #define gaim_whiteboard_set_dimensions purple_whiteboard_set_dimensions
2292 #define gaim_whiteboard_draw_point purple_whiteboard_draw_point
2293 #define gaim_whiteboard_send_draw_list purple_whiteboard_send_draw_list
2294 #define gaim_whiteboard_draw_line purple_whiteboard_draw_line
2295 #define gaim_whiteboard_clear purple_whiteboard_clear
2296 #define gaim_whiteboard_send_clear purple_whiteboard_send_clear
2297 #define gaim_whiteboard_send_brush purple_whiteboard_send_brush
2298 #define gaim_whiteboard_get_brush purple_whiteboard_get_brush
2299 #define gaim_whiteboard_set_brush purple_whiteboard_set_brush
2300
2301 /* for static plugins */
2302 #define gaim_init_ssl_plugin purple_init_ssl_plugin
2303 #define gaim_init_ssl_openssl_plugin purple_init_ssl_openssl_plugin
2304 #define gaim_init_ssl_gnutls_plugin purple_init_ssl_gnutls_plugin
2305 #define gaim_init_gg_plugin purple_init_gg_plugin
2306 #define gaim_init_jabber_plugin purple_init_jabber_plugin
2307 #define gaim_init_sametime_plugin purple_init_sametime_plugin
2308 #define gaim_init_msn_plugin purple_init_msn_plugin
2309 #define gaim_init_novell_plugin purple_init_novell_plugin
2310 #define gaim_init_qq_plugin purple_init_qq_plugin
2311 #define gaim_init_simple_plugin purple_init_simple_plugin
2312 #define gaim_init_yahoo_plugin purple_init_yahoo_plugin
2313 #define gaim_init_zephyr_plugin purple_init_zephyr_plugin
2314 #define gaim_init_aim_plugin purple_init_aim_plugin
2315 #define gaim_init_icq_plugin purple_init_icq_plugin
2316
2317 #endif /* _GAIM_COMPAT_H_ */