From: Zhanna Tsitkov Date: Mon, 30 Nov 2009 22:29:48 +0000 (+0000) Subject: Reindent X-Git-Tag: krb5-1.8-alpha1~116 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bbb952ae5f5b7b8803de125b35dda3395155ddbb;p=krb5.git Reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23393 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/krb5_gss_glue.c b/src/lib/gssapi/krb5/krb5_gss_glue.c index f9bf03016..0d87f90c9 100644 --- a/src/lib/gssapi/krb5/krb5_gss_glue.c +++ b/src/lib/gssapi/krb5/krb5_gss_glue.c @@ -1,4 +1,4 @@ -/* -*- mode: c; indent-tabs-mode: nil -*- */ +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 1993 by OpenVision Technologies, Inc. * @@ -55,10 +55,9 @@ #include "gssapiP_krb5.h" OM_uint32 KRB5_CALLCONV -gss_krb5_get_tkt_flags( - OM_uint32 *minor_status, - gss_ctx_id_t context_handle, - krb5_flags *ticket_flags) +gss_krb5_get_tkt_flags(OM_uint32 *minor_status, + gss_ctx_id_t context_handle, + krb5_flags *ticket_flags) { static const gss_OID_desc req_oid = { GSS_KRB5_GET_TKT_FLAGS_OID_LENGTH, @@ -93,10 +92,9 @@ gss_krb5_get_tkt_flags( } OM_uint32 KRB5_CALLCONV -gss_krb5_copy_ccache( - OM_uint32 *minor_status, - gss_cred_id_t cred_handle, - krb5_ccache out_ccache) +gss_krb5_copy_ccache(OM_uint32 *minor_status, + gss_cred_id_t cred_handle, + krb5_ccache out_ccache) { static const gss_OID_desc req_oid = { GSS_KRB5_COPY_CCACHE_OID_LENGTH, @@ -119,11 +117,10 @@ gss_krb5_copy_ccache( } OM_uint32 KRB5_CALLCONV -gss_krb5_export_lucid_sec_context( - OM_uint32 *minor_status, - gss_ctx_id_t *context_handle, - OM_uint32 version, - void **kctx) +gss_krb5_export_lucid_sec_context(OM_uint32 *minor_status, + gss_ctx_id_t *context_handle, + OM_uint32 version, + void **kctx) { unsigned char oid_buf[GSS_KRB5_EXPORT_LUCID_SEC_CONTEXT_OID_LENGTH + 6]; gss_OID_desc req_oid; @@ -174,11 +171,10 @@ gss_krb5_export_lucid_sec_context( } OM_uint32 KRB5_CALLCONV -gss_krb5_set_allowable_enctypes( - OM_uint32 *minor_status, - gss_cred_id_t cred, - OM_uint32 num_ktypes, - krb5_enctype *ktypes) +gss_krb5_set_allowable_enctypes(OM_uint32 *minor_status, + gss_cred_id_t cred, + OM_uint32 num_ktypes, + krb5_enctype *ktypes) { static const gss_OID_desc req_oid = { GSS_KRB5_SET_ALLOWABLE_ENCTYPES_OID_LENGTH, @@ -202,10 +198,9 @@ gss_krb5_set_allowable_enctypes( } OM_uint32 KRB5_CALLCONV -gss_krb5_ccache_name( - OM_uint32 *minor_status, - const char *name, - const char **out_name) +gss_krb5_ccache_name(OM_uint32 *minor_status, + const char *name, + const char **out_name) { static const gss_OID_desc req_oid = { GSS_KRB5_CCACHE_NAME_OID_LENGTH, @@ -229,9 +224,7 @@ gss_krb5_ccache_name( } OM_uint32 KRB5_CALLCONV -gss_krb5_free_lucid_sec_context( - OM_uint32 *minor_status, - void *kctx) +gss_krb5_free_lucid_sec_context(OM_uint32 *minor_status, void *kctx) { static const gss_OID_desc req_oid = { GSS_KRB5_FREE_LUCID_SEC_CONTEXT_OID_LENGTH, @@ -306,11 +299,10 @@ krb5_gss_use_kdc_context(void) * into a gss_name_t. */ OM_uint32 KRB5_CALLCONV -gsskrb5_extract_authz_data_from_sec_context( - OM_uint32 *minor_status, - gss_ctx_id_t context_handle, - int ad_type, - gss_buffer_t ad_data) +gsskrb5_extract_authz_data_from_sec_context(OM_uint32 *minor_status, + gss_ctx_id_t context_handle, + int ad_type, + gss_buffer_t ad_data) { gss_OID_desc req_oid; unsigned char oid_buf[GSS_KRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT_OID_LENGTH + 6]; @@ -358,10 +350,9 @@ gsskrb5_extract_authz_data_from_sec_context( } OM_uint32 KRB5_CALLCONV -gss_krb5_set_cred_rcache( - OM_uint32 *minor_status, - gss_cred_id_t cred, - krb5_rcache rcache) +gss_krb5_set_cred_rcache(OM_uint32 *minor_status, + gss_cred_id_t cred, + krb5_rcache rcache) { static const gss_OID_desc req_oid = { GSS_KRB5_SET_CRED_RCACHE_OID_LENGTH, diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c index fb3d7ec9d..7deb0a1e4 100644 --- a/src/lib/krb5/ccache/ccbase.c +++ b/src/lib/krb5/ccache/ccbase.c @@ -245,10 +245,9 @@ krb5_cc_resolve (krb5_context context, const char *name, krb5_ccache *cache) * prefix string. */ static krb5_error_code -krb5int_cc_getops( - krb5_context context, - const char *pfx, - const krb5_cc_ops **ops) +krb5int_cc_getops(krb5_context context, + const char *pfx, + const krb5_cc_ops **ops) { krb5_error_code err; struct krb5_cc_typelist *tlist; @@ -331,10 +330,9 @@ errout: } krb5_error_code -krb5int_cc_typecursor_next( - krb5_context context, - krb5_cc_typecursor t, - const krb5_cc_ops **ops) +krb5int_cc_typecursor_next(krb5_context context, + krb5_cc_typecursor t, + const krb5_cc_ops **ops) { krb5_error_code err = 0; @@ -364,7 +362,7 @@ krb5int_cc_typecursor_free(krb5_context context, krb5_cc_typecursor *t) } krb5_error_code KRB5_CALLCONV -krb5_cc_move (krb5_context context, krb5_ccache src, krb5_ccache dst) +krb5_cc_move(krb5_context context, krb5_ccache src, krb5_ccache dst) { krb5_error_code ret = 0; krb5_principal princ = NULL; diff --git a/src/lib/krb5/ccache/cccursor.c b/src/lib/krb5/ccache/cccursor.c index 852eff847..4272c0461 100644 --- a/src/lib/krb5/ccache/cccursor.c +++ b/src/lib/krb5/ccache/cccursor.c @@ -65,9 +65,8 @@ static krb5_error_code cccol_pertype_next(krb5_context, krb5_cccol_cursor, krb5_ccache *); krb5_error_code KRB5_CALLCONV -krb5_cccol_cursor_new( - krb5_context context, - krb5_cccol_cursor *cursor) +krb5_cccol_cursor_new(krb5_context context, + krb5_cccol_cursor *cursor) { krb5_error_code ret = 0; krb5_cccol_cursor n = NULL; @@ -111,10 +110,9 @@ errout: } krb5_error_code KRB5_CALLCONV -krb5_cccol_cursor_next( - krb5_context context, - krb5_cccol_cursor cursor, - krb5_ccache *ccache) +krb5_cccol_cursor_next(krb5_context context, + krb5_cccol_cursor cursor, + krb5_ccache *ccache) { krb5_error_code ret = 0; char *name; @@ -173,9 +171,8 @@ errout: } krb5_error_code KRB5_CALLCONV -krb5_cccol_cursor_free( - krb5_context context, - krb5_cccol_cursor *cursor) +krb5_cccol_cursor_free(krb5_context context, + krb5_cccol_cursor *cursor) { krb5_cccol_cursor c = *cursor; int i; @@ -200,9 +197,8 @@ krb5_cccol_cursor_free( } krb5_error_code KRB5_CALLCONV -krb5_cccol_last_change_time( - krb5_context context, - krb5_timestamp *change_time) +krb5_cccol_last_change_time(krb5_context context, + krb5_timestamp *change_time) { krb5_error_code ret = 0; krb5_cccol_cursor c = NULL; @@ -240,10 +236,9 @@ krb5_cccol_last_change_time( * higher-priority defaults. */ static int -cccol_already( - krb5_context context, - krb5_cccol_cursor c, - krb5_ccache *ccache) +cccol_already(krb5_context context, + krb5_cccol_cursor c, + krb5_ccache *ccache) { const char *name = NULL, *prefix = NULL; int i; @@ -270,10 +265,9 @@ cccol_already( * Compare {prefix, name} against a cc_fullname. */ static int -cccol_cmpname( - const char *prefix, - const char *name, - struct cc_fullname *fullname) +cccol_cmpname(const char *prefix, + const char *name, + struct cc_fullname *fullname) { if (fullname->pfx == NULL || fullname->res == NULL) return 0; @@ -292,11 +286,10 @@ cccol_cmpname( * name we're given. */ static krb5_error_code -cccol_do_resolve( - krb5_context context, - krb5_cccol_cursor cursor, - const char *name, - krb5_ccache *ccache) +cccol_do_resolve(krb5_context context, + krb5_cccol_cursor cursor, + const char *name, + krb5_ccache *ccache) { krb5_error_code ret = 0; struct cc_fullname *fullname; @@ -321,10 +314,9 @@ cccol_do_resolve( * ccache list of the current backend is exhausted. */ static krb5_error_code -cccol_pertype_next( - krb5_context context, - krb5_cccol_cursor cursor, - krb5_ccache *ccache) +cccol_pertype_next(krb5_context context, + krb5_cccol_cursor cursor, + krb5_ccache *ccache) { krb5_error_code ret = 0;