From d3e9a97b6ef340f827cf55de5340a8bf5c732f3e Mon Sep 17 00:00:00 2001 From: Mohammed Junaid Ahmed Date: Wed, 16 Mar 2011 09:43:21 +0000 Subject: protocol/server: White space cleanup and NULL check validations. Signed-off-by: Junaid Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 --- xlators/protocol/server/src/authenticate.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'xlators/protocol/server/src/authenticate.h') diff --git a/xlators/protocol/server/src/authenticate.h b/xlators/protocol/server/src/authenticate.h index 49480a6b8..7c9dd58d2 100644 --- a/xlators/protocol/server/src/authenticate.h +++ b/xlators/protocol/server/src/authenticate.h @@ -37,23 +37,23 @@ #include "xlator.h" typedef enum { - AUTH_ACCEPT, - AUTH_REJECT, - AUTH_DONT_CARE + AUTH_ACCEPT, + AUTH_REJECT, + AUTH_DONT_CARE } auth_result_t; typedef auth_result_t (*auth_fn_t) (dict_t *input_params, - dict_t *config_params); + dict_t *config_params); typedef struct { - void *handle; - auth_fn_t authenticate; - volume_opt_list_t *vol_opt; + void *handle; + auth_fn_t authenticate; + volume_opt_list_t *vol_opt; } auth_handle_t; auth_result_t gf_authenticate (dict_t *input_params, - dict_t *config_params, - dict_t *auth_modules); + dict_t *config_params, + dict_t *auth_modules); int32_t gf_auth_init (xlator_t *xl, dict_t *auth_modules); void gf_auth_fini (dict_t *auth_modules); -- cgit