comparison libpurple/gaim-compat.h @ 15650:756c1e813b25

more compat header
author Nathan Walp <nwalp@pidgin.im>
date Sat, 17 Feb 2007 02:25:29 +0000
parents 4b08df67bb78
children 2dd78f245ba4
comparison
equal deleted inserted replaced
15649:e9a87896557e 15650:756c1e813b25
1982 1982
1983 #define gaim_status_get_handle purple_status_get_handle 1983 #define gaim_status_get_handle purple_status_get_handle
1984 #define gaim_status_init purple_status_init 1984 #define gaim_status_init purple_status_init
1985 #define gaim_status_uninit purple_status_uninit 1985 #define gaim_status_uninit purple_status_uninit
1986 1986
1987 /* from stringref.h */
1988
1989 #define GaimStringref PurpleStringref
1990
1991 #define gaim_stringref_new purple_stringref_new
1992 #define gaim_stringref_new_noref purple_stringref_new_noref
1993 #define gaim_stringref_printf purple_stringref_printf
1994 #define gaim_stringref_ref purple_stringref_ref
1995 #define gaim_stringref_unref purple_stringref_unref
1996 #define gaim_stringref_value purple_stringref_value
1997 #define gaim_stringref_cmp purple_stringref_cmp
1998 #define gaim_stringref_len purple_stringref_len
1999
2000 /* from stun.h */
2001
2002 #define GaimStunNatDiscovery PurpleStunNatDiscovery
2003
2004 #define GAIM_STUN_STATUS_UNDISCOVERED PURPLE_STUN_STATUS_UNDISCOVERED
2005 #define GAIM_STUN_STATUS_UNKNOWN PURPLE_STUN_STATUS_UNKNOWN
2006 #define GAIM_STUN_STATUS_DISCOVERING PURPLE_STUN_STATUS_DISCOVERING
2007 #define GAIM_STUN_STATUS_DISCOVERED PURPLE_STUN_STATUS_DISCOVERED
2008 #define GaimStunStatus PurpleStunStatus
2009
2010 #define GAIM_STUN_NAT_TYPE_PUBLIC_IP PURPLE_STUN_NAT_TYPE_PUBLIC_IP
2011 #define GAIM_STUN_NAT_TYPE_UNKNOWN_NAT PURPLE_STUN_NAT_TYPE_UNKNOWN_NAT
2012 #define GAIM_STUN_NAT_TYPE_FULL_CONE PURPLE_STUN_NAT_TYPE_FULL_CONE
2013 #define GAIM_STUN_NAT_TYPE_RESTRICTED_CONE PURPLE_STUN_NAT_TYPE_RESTRICTED_CONE
2014 #define GAIM_STUN_NAT_TYPE_PORT_RESTRICTED_CONE PURPLE_STUN_NAT_TYPE_PORT_RESTRICTED_CONE
2015 #define GAIM_STUN_NAT_TYPE_SYMMETRIC PURPLE_STUN_NAT_TYPE_SYMMETRIC
2016 #define GaimStunNatType PurpleStunNatType
2017
2018 /* why didn't this have a Gaim prefix before? */
2019 #define StunCallback PurpleStunCallback
2020
2021 #define gaim_stun_discover purple_stun_discover
2022 #define gaim_stun_init purple_stun_init
2023
2024 /* from upnp.h */
2025
2026 /* suggested rename: PurpleUPnpMappingHandle */
2027 #define UPnPMappingAddRemove PurpleUPnPMappingAddRemove
2028
2029 #define GaimUPnPCallback PurpleUPnPCallback
2030
2031 #define gaim_upnp_discover purple_upnp_discover
2032 #define gaim_upnp_get_public_ip purple_upnp_get_public_ip
2033 #define gaim_upnp_cancel_port_mapping purple_upnp_cancel_port_mapping
2034 #define gaim_upnp_set_port_mapping purple_upnp_set_port_mapping
2035
2036 #define gaim_upnp_remove_port_mapping purple_upnp_remove_port_mapping
2037
2038 /* from util.h */
2039
2040 #define GaimUtilFetchUrlData PurpleUtilFetchUrlData
2041 #define GaimMenuAction PurpleMenuAction
2042
2043 #define GaimInfoFieldFormatCallback PurpleIntoFieldFormatCallback
2044
2045 #define GaimKeyValuePair PurpleKeyValuePair
2046
2047 #define gaim_menu_action_new purple_menu_action_new
2048 #define gaim_menu_action_free purple_menu_action_free
2049
2050 #define gaim_base16_encode purple_base16_encode
2051 #define gaim_base16_decode purple_base16_decode
2052 #define gaim_base64_encode purple_base64_encode
2053 #define gaim_base64_decode purple_base64_decode
2054 #define gaim_quotedp_decode purple_quotedp_decode
2055
2056 #define gaim_mime_decode_field purple_mime_deco_field
2057
2058 #define gaim_utf8_strftime purple_utf8_strftime
2059 #define gaim_date_format_short purple_date_format_short
2060 #define gaim_date_format_long purple_date_format_long
2061 #define gaim_date_format_full purple_date_format_full
2062 #define gaim_time_format purple_time_format
2063 #define gaim_time_build purple_time_build
2064
2065 #define GAIM_NO_TZ_OFF PURPLE_NO_TZ_OFF
2066
2067 #define gaim_str_to_time purple_str_to_time
2068
2069 #define gaim_markup_find_tag purple_markup_find_tag
2070 #define gaim_markup_extract_info_field purple_markup_extract_info_field
2071 #define gaim_markup_html_to_xhtml purple_markup_html_to_xhtml
2072 #define gaim_markup_strip_html purple_markup_strip_html
2073 #define gaim_markup_linkify purple_markup_linkify
2074 #define gaim_markup_slice purple_markup_slice
2075 #define gaim_markup_get_tag_name purple_markup_get_tag_name
2076 #define gaim_unescape_html purple_unescape_html
2077
2078 #define gaim_home_dir purple_home_dir
2079 #define gaim_user_dir purple_user_dir
2080
2081 #define gaim_util_set_user_dir purple_util_set_user_dir
2082
2083 #define gaim_build_dir purple_build_dir
2084
2085 #define gaim_util_write_data_to_file purple_util_write_data_to_file
2086
2087 #define gaim_util_read_xml_from_file purple_util_read_xml_from_file
2088
2089 #define gaim_mkstemp purple_mkstemp
2090
2091 #define gaim_program_is_valid purple_program_is_valid
2092
2093 #define gaim_running_gnome purple_running_gnome
2094 #define gaim_running_kde purple_running_kde
2095 #define gaim_running_osx purple_running_osx
2096
2097 #define gaim_fd_get_ip purple_fd_get_ip
2098
2099 #define gaim_normalize purple_normalize
2100 #define gaim_normalize_nocase purple_normalize_nocase
2101
2102 #define gaim_strdup_withhtml purple_strdup_withhtml
2103
2104 #define gaim_str_has_prefix purple_str_has_prefix
2105 #define gaim_str_has_suffix purple_str_has_suffix
2106 #define gaim_str_add_cr purple_str_add_cr
2107 #define gaim_str_strip_char purple_str_strip_char
2108
2109 #define gaim_util_chrreplace purple_util_chrreplace
2110
2111 #define gaim_strreplace purple_strreplace
2112
2113 #define gaim_utf8_ncr_encode purple_utf8_ncr_encode
2114 #define gaim_utf8_ncr_decode purple_utf8_ncr_decode
2115
2116 #define gaim_strcasereplace purple_strcasereplace
2117 #define gaim_strcasestr purple_strcasestr
2118
2119 #define gaim_str_size_to_units purple_str_size_to_units
2120 #define gaim_str_seconds_to_string purple_str_seconds_to_string
2121 #define gaim_str_binary_to_ascii purple_str_binary_to_ascii
2122
2123
2124 #define gaim_got_protocol_handler_uri purple_got_protocol_handler_uri
2125
2126 #define gaim_url_parse purple_url_parse
2127
2128 #define GaimUtilFetchUrlCallback PurpleUtilFetchUrlCallback
2129 #define gaim_util_fetch_url purple_util_fetch_url
2130 #define gaim_util_fetch_url_request purple_util_fetch_url_request
2131 #define gaim_util_fetch_url_cancel purple_util_fetch_url_cancel
2132
2133 #define gaim_url_decode purple_url_decode
2134 #define gaim_url_encode purple_url_encode
2135
2136 #define gaim_email_is_valid purple_email_is_valid
2137
2138 #define gaim_uri_list_extract_uris purple_uri_list_extract_uris
2139 #define gaim_uri_list_extract_filenames purple_uri_list_extract_filenames
2140
2141 #define gaim_utf8_try_convert purple_utf8_try_convert
2142 #define gaim_utf8_salvage purple_utf8_salvage
2143 #define gaim_utf8_strcasecmp purple_utf8_strcasecmp
2144 #define gaim_utf8_has_word purple_utf8_has_word
2145
2146 #define gaim_print_utf8_to_console purple_print_utf8_to_console
2147
2148 #define gaim_message_meify purple_message_meify
2149
2150 #define gaim_text_strip_mnemonic purple_text_strip_mnemonic
2151
2152 #define gaim_unescape_filename purple_unescape_filename
2153 #define gaim_escape_filename purple_escape_filename
2154
1987 #endif /* _GAIM_COMPAT_H_ */ 2155 #endif /* _GAIM_COMPAT_H_ */