svn rev #23393: trunk/src/lib/ gssapi/krb5/ krb5/ccache/

tsitkova@MIT.EDU tsitkova at MIT.EDU
Mon Nov 30 17:29:48 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23393
Commit By: tsitkova
Log Message:
Reindent



Changed Files:
U   trunk/src/lib/gssapi/krb5/krb5_gss_glue.c
U   trunk/src/lib/krb5/ccache/ccbase.c
U   trunk/src/lib/krb5/ccache/cccursor.c
Modified: trunk/src/lib/gssapi/krb5/krb5_gss_glue.c
===================================================================
--- trunk/src/lib/gssapi/krb5/krb5_gss_glue.c	2009-11-30 21:35:38 UTC (rev 23392)
+++ trunk/src/lib/gssapi/krb5/krb5_gss_glue.c	2009-11-30 22:29:48 UTC (rev 23393)
@@ -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 @@
 }
 
 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 @@
 }
 
 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 @@
 }
 
 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 @@
 }
 
 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 @@
 }
 
 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 @@
  * 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 @@
 }
 
 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,

Modified: trunk/src/lib/krb5/ccache/ccbase.c
===================================================================
--- trunk/src/lib/krb5/ccache/ccbase.c	2009-11-30 21:35:38 UTC (rev 23392)
+++ trunk/src/lib/krb5/ccache/ccbase.c	2009-11-30 22:29:48 UTC (rev 23393)
@@ -245,10 +245,9 @@
  * 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 @@
 }
 
 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 @@
 }
 
 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;

Modified: trunk/src/lib/krb5/ccache/cccursor.c
===================================================================
--- trunk/src/lib/krb5/ccache/cccursor.c	2009-11-30 21:35:38 UTC (rev 23392)
+++ trunk/src/lib/krb5/ccache/cccursor.c	2009-11-30 22:29:48 UTC (rev 23393)
@@ -65,9 +65,8 @@
 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 @@
 }
 
 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 @@
 }
 
 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_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 @@
  * 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 @@
  * 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 @@
  * 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 @@
  * 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;
 




More information about the cvs-krb5 mailing list