summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/authenticate.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server/src/authenticate.h')
-rw-r--r--xlators/protocol/server/src/authenticate.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/xlators/protocol/server/src/authenticate.h b/xlators/protocol/server/src/authenticate.h
index 49480a6b8b9..7c9dd58d2ee 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);