diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2008-06-04 09:28:40 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2009-03-23 12:27:53 +0000 |
commit | 6da185773de26ceee59b96fc0673ce0bd5f7295c (patch) | |
tree | c4ff6917d0256509d4b0a7497b502225d7c62ff3 /wocky/wocky-sasl-auth.h | |
parent | dccf0da6a9ff31acd71d47144989d1ec53f11716 (diff) |
Make wocky conform to telepathy coding style
Diffstat (limited to 'wocky/wocky-sasl-auth.h')
-rw-r--r-- | wocky/wocky-sasl-auth.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/wocky/wocky-sasl-auth.h b/wocky/wocky-sasl-auth.h index 9ecf474..f354d92 100644 --- a/wocky/wocky-sasl-auth.h +++ b/wocky/wocky-sasl-auth.h @@ -30,12 +30,12 @@ G_BEGIN_DECLS GQuark wocky_sasl_auth_error_quark (void); #define WOCKY_SASL_AUTH_ERROR \ - wocky_sasl_auth_error_quark() + wocky_sasl_auth_error_quark () typedef enum { /* Failed to initialize our sasl support */ - WOCKY_SASL_AUTH_ERROR_INIT_FAILED, + WOCKY_SASL_AUTH_ERROR_INIT_FAILED, /* Server doesn't support sasl (no mechanisms) */ WOCKY_SASL_AUTH_ERROR_SASL_NOT_SUPPORTED, /* Server doesn't support any mechanisms that we support */ @@ -61,11 +61,11 @@ struct _WockySaslAuth { GObject parent; }; -GType wocky_sasl_auth_get_type(void); +GType wocky_sasl_auth_get_type (void); /* TYPE MACROS */ #define WOCKY_TYPE_SASL_AUTH \ - (wocky_sasl_auth_get_type()) + (wocky_sasl_auth_get_type ()) #define WOCKY_SASL_AUTH(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), WOCKY_TYPE_SASL_AUTH, WockySaslAuth)) #define WOCKY_SASL_AUTH_CLASS(klass) \ @@ -77,18 +77,15 @@ GType wocky_sasl_auth_get_type(void); #define WOCKY_SASL_AUTH_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), WOCKY_TYPE_SASL_AUTH, WockySaslAuthClass)) -WockySaslAuth *wocky_sasl_auth_new(void); +WockySaslAuth *wocky_sasl_auth_new (void); /* Initiate sasl auth. features should containt the stream features stanza as - * receiver from the server */ -gboolean -wocky_sasl_auth_authenticate(WockySaslAuth *sasl, - const gchar *server, - WockyXmppConnection *connection, - WockyXmppStanza *features, - gboolean allow_plain, - GError **error); + * receiver from the server */ +gboolean wocky_sasl_auth_authenticate (WockySaslAuth *sasl, + const gchar *server, WockyXmppConnection *connection, + WockyXmppStanza *features, gboolean allow_plain, GError **error); + G_END_DECLS #endif /* #ifndef __WOCKY_SASL_AUTH_H__*/ |