Mercurial > pidgin
changeset 12773:96f9b4798012
[gaim-migrate @ 15120]
Some whitespace stuff so it doesn't clutter up later commits.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 09 Jan 2006 04:42:25 +0000 |
parents | 26702cf30ea5 |
children | 3aa8f7c58360 |
files | plugins/perl/common/BuddyIcon.xs plugins/perl/common/Network.xs plugins/perl/common/Notify.xs plugins/perl/common/Privacy.xs plugins/perl/common/Proxy.xs plugins/perl/common/SSLConn.xs plugins/perl/common/Sound.xs plugins/perl/common/Stringref.xs plugins/perl/common/XMLNode.xs |
diffstat | 9 files changed, 49 insertions(+), 98 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/perl/common/BuddyIcon.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/BuddyIcon.xs Mon Jan 09 04:42:25 2006 +0000 @@ -63,23 +63,14 @@ int *width int *height - - - - - - - - MODULE = Gaim::Buddy::Icon PACKAGE = Gaim::Buddy::Icons PREFIX = gaim_buddy_icons_ PROTOTYPES: ENABLE - void gaim_buddy_icons_set_caching(caching) gboolean caching -gboolean +gboolean gaim_buddy_icons_is_caching() void
--- a/plugins/perl/common/Network.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Network.xs Mon Jan 09 04:42:25 2006 +0000 @@ -11,34 +11,31 @@ gaim_network_get_my_ip(fd) int fd -unsigned short +unsigned short gaim_network_get_port_from_fd(fd) int fd const char * gaim_network_get_public_ip() - -void +void gaim_network_init() - const unsigned char * gaim_network_ip_atoi(ip) const char *ip -int +int gaim_network_listen(port, socket_type) unsigned short port int socket_type -int +int gaim_network_listen_range(start, end, socket_type) unsigned short start unsigned short end int socket_type -void +void gaim_network_set_public_ip(ip) const char *ip -
--- a/plugins/perl/common/Notify.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Notify.xs Mon Jan 09 04:42:25 2006 +0000 @@ -3,29 +3,28 @@ MODULE = Gaim::Notify PACKAGE = Gaim::Notify PREFIX = gaim_notify_ PROTOTYPES: ENABLE -void +void gaim_notify_close(type, ui_handle) Gaim::NotifyType type - void * ui_handle + void * ui_handle -void +void gaim_notify_close_with_handle(handle) - void * handle + void * handle void * gaim_notify_email(handle, subject, from, to, url, cb, user_data) - void * handle + void * handle const char *subject const char *from const char *to const char *url Gaim::NotifyCloseCallback cb gpointer user_data - void * gaim_notify_emails(handle, count, detailed, subjects, froms, tos, urls, cb, user_data) - void * handle + void * handle size_t count gboolean detailed const char **subjects @@ -34,33 +33,30 @@ const char **urls Gaim::NotifyCloseCallback cb gpointer user_data - void * gaim_notify_formatted(handle, title, primary, secondary, text, cb, user_data) - void * handle + void * handle const char *title const char *primary const char *secondary const char *text Gaim::NotifyCloseCallback cb gpointer user_data - Gaim::NotifyUiOps gaim_notify_get_ui_ops() - + void * gaim_notify_message(handle, type, title, primary, secondary, cb, user_data) - void * handle + void * handle Gaim::NotifyMsgType type const char *title const char *primary const char *secondary Gaim::NotifyCloseCallback cb gpointer user_data - void * gaim_notify_searchresults(gc, title, primary, secondary, results, cb, user_data) @@ -72,13 +68,13 @@ Gaim::NotifyCloseCallback cb gpointer user_data -void +void gaim_notify_set_ui_ops(ops) Gaim::NotifyUiOps ops void * gaim_notify_uri(handle, uri) - void * handle + void * handle const char *uri void * @@ -88,5 +84,3 @@ const char *text Gaim::NotifyCloseCallback cb gpointer user_data - -
--- a/plugins/perl/common/Privacy.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Privacy.xs Mon Jan 09 04:42:25 2006 +0000 @@ -5,13 +5,10 @@ Gaim::Privacy::UiOps gaim_privacy_get_ui_ops() - -void +void gaim_privacy_init() - -void +void gaim_privacy_set_ui_ops(ops) Gaim::Privacy::UiOps ops -
--- a/plugins/perl/common/Proxy.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Proxy.xs Mon Jan 09 04:42:25 2006 +0000 @@ -5,13 +5,11 @@ Gaim::ProxyInfo gaim_global_proxy_get_info() - void * gaim_proxy_get_handle() - -void +void gaim_proxy_info_destroy(info) Gaim::ProxyInfo info @@ -23,7 +21,7 @@ gaim_proxy_info_get_password(info) Gaim::ProxyInfo info -int +int gaim_proxy_info_get_port(info) Gaim::ProxyInfo info @@ -37,34 +35,31 @@ Gaim::ProxyInfo gaim_proxy_info_new() - -void +void gaim_proxy_info_set_host(info, host) Gaim::ProxyInfo info const char *host -void +void gaim_proxy_info_set_password(info, password) Gaim::ProxyInfo info const char *password -void +void gaim_proxy_info_set_port(info, port) Gaim::ProxyInfo info int port -void +void gaim_proxy_info_set_type(info, type) Gaim::ProxyInfo info Gaim::ProxyType type -void +void gaim_proxy_info_set_username(info, username) Gaim::ProxyInfo info const char *username -void +void gaim_proxy_init() - -
--- a/plugins/perl/common/SSLConn.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/SSLConn.xs Mon Jan 09 04:42:25 2006 +0000 @@ -11,65 +11,51 @@ GaimSslInputFunction func GaimSslErrorFunction error_func -void +void gaim_ssl_input_add(gsc, func, data) Gaim::Ssl::Connection gsc Gaim::SslInputFunction func - - Gaim::Ssl::Connection gaim_ssl_connect_fd(account, fd, func, error_func, data) Gaim::Account account int fd GaimSslInputFunction func GaimSslErrorFunction error_func - - */ MODULE = Gaim::SSL PACKAGE = Gaim::SSL PREFIX = gaim_ssl_ PROTOTYPES: ENABLE - - - -void + +void gaim_ssl_close(gsc) Gaim::Ssl::Connection gsc - - Gaim::Ssl::Ops gaim_ssl_get_ops() - -void +void gaim_ssl_init() - - -gboolean +gboolean gaim_ssl_is_supported() - -size_t +size_t gaim_ssl_read(gsc, buffer, len) Gaim::Ssl::Connection gsc void * buffer size_t len -void +void gaim_ssl_set_ops(ops) Gaim::Ssl::Ops ops -void +void gaim_ssl_uninit() - -size_t +size_t gaim_ssl_write(gsc, buffer, len) Gaim::Ssl::Connection gsc void * buffer size_t len -
--- a/plugins/perl/common/Sound.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Sound.xs Mon Jan 09 04:42:25 2006 +0000 @@ -5,27 +5,23 @@ Gaim::Sound::UiOps gaim_sound_get_ui_ops() - -void +void gaim_sound_init() - -void +void gaim_sound_play_event(event, account) Gaim::SoundEventID event Gaim::Account account -void +void gaim_sound_play_file(filename, account) const char *filename Gaim::Account account -void +void gaim_sound_set_ui_ops(ops) Gaim::Sound::UiOps ops -void +void gaim_sound_uninit() - -
--- a/plugins/perl/common/Stringref.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/Stringref.xs Mon Jan 09 04:42:25 2006 +0000 @@ -3,12 +3,12 @@ MODULE = Gaim::Stringref PACKAGE = Gaim::Stringref PREFIX = gaim_stringref_ PROTOTYPES: ENABLE -int +int gaim_stringref_cmp(s1, s2) Gaim::Stringref s1 Gaim::Stringref s2 -size_t +size_t gaim_stringref_len(stringref) Gaim::Stringref stringref @@ -24,17 +24,14 @@ C_ARGS: value - - Gaim::Stringref gaim_stringref_ref(stringref) Gaim::Stringref stringref -void +void gaim_stringref_unref(stringref) Gaim::Stringref stringref const char * gaim_stringref_value(stringref) Gaim::Stringref stringref -
--- a/plugins/perl/common/XMLNode.xs Mon Jan 09 04:17:10 2006 +0000 +++ b/plugins/perl/common/XMLNode.xs Mon Jan 09 04:42:25 2006 +0000 @@ -3,14 +3,13 @@ MODULE = Gaim::XMLNode PACKAGE = Gaim::XMLNode PREFIX = xmlnode_ PROTOTYPES: ENABLE - Gaim::XMLNode xmlnode_copy(class, src) xmlnode *src C_ARGS: src -void +void xmlnode_free(node) xmlnode *node @@ -45,12 +44,12 @@ xmlnode_get_next_twin(node) xmlnode *node -void +void xmlnode_insert_child(parent, child) xmlnode *parent xmlnode *child -void +void xmlnode_insert_data(node, data, size) xmlnode *node const char *data @@ -67,12 +66,12 @@ xmlnode *parent const char *name -void +void xmlnode_remove_attrib(node, attr) xmlnode *node const char *attr -void +void xmlnode_set_attrib(node, attr, value) xmlnode *node const char *attr @@ -87,4 +86,3 @@ xmlnode_to_str(node, len) xmlnode *node int *len -