Move internal cccursor structures/prototypes to the ccache private include
authorEzra Peisach <epeisach@mit.edu>
Sat, 16 Aug 2008 01:14:58 +0000 (01:14 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 16 Aug 2008 01:14:58 +0000 (01:14 +0000)
file. Functions are not exported from library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20665 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-int.h
src/lib/krb5/ccache/Makefile.in
src/lib/krb5/ccache/cc-int.h
src/lib/krb5/ccache/cccursor.c

index 76c2ba0f4401c05c176616f92a2db4d8ebf93a7b..8f9791bb90d94806d2590827d49fb2fdb1a33411 100644 (file)
@@ -2039,26 +2039,6 @@ extern const krb5_cc_ops *krb5_cc_dfl_ops;
 krb5_error_code
 krb5int_cc_os_default_name(krb5_context context, char **name);
 
-/*
- * Cursor for iterating over ccache types
- */
-struct krb5_cc_typecursor;
-typedef struct krb5_cc_typecursor *krb5_cc_typecursor;
-
-krb5_error_code
-krb5int_cc_typecursor_new(krb5_context context, krb5_cc_typecursor *cursor);
-
-krb5_error_code
-krb5int_cc_typecursor_next(
-    krb5_context context,
-    krb5_cc_typecursor cursor,
-    const struct _krb5_cc_ops **ops);
-
-krb5_error_code
-krb5int_cc_typecursor_free(
-    krb5_context context,
-    krb5_cc_typecursor *cursor);
-
 typedef struct _krb5_donot_replay {
     krb5_magic magic;
     krb5_ui_4 hash;
index 208ae651ae62c8a3f850d065b144f2e837bcfbfc..835d7e2bd40dec26e901d58561666a9a57f15112 100644 (file)
@@ -144,7 +144,7 @@ cccursor.so cccursor.po $(OUTPRE)cccursor.$(OBJEXT): \
   $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
   $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
   $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
-  $(SRCTOP)/include/socket-utils.h cccursor.c
+  $(SRCTOP)/include/socket-utils.h cc-int.h cccursor.c
 ccdefault.so ccdefault.po $(OUTPRE)ccdefault.$(OBJEXT): \
   $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \
   $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
index 2978ed9fb6568199a8cfd69925eb02b8fa85fb28..e533f4667674838e973003348e0dbe8a4e1d2409 100644 (file)
@@ -44,6 +44,27 @@ krb5int_cc_finalize(void);
 
 krb5_error_code krb5int_random_string (krb5_context, char *, unsigned int);
 
+/*
+ * Cursor for iterating over ccache types
+ */
+struct krb5_cc_typecursor;
+typedef struct krb5_cc_typecursor *krb5_cc_typecursor;
+
+krb5_error_code
+krb5int_cc_typecursor_new(krb5_context context, krb5_cc_typecursor *cursor);
+
+krb5_error_code
+krb5int_cc_typecursor_next(
+    krb5_context context,
+    krb5_cc_typecursor cursor,
+    const struct _krb5_cc_ops **ops);
+
+krb5_error_code
+krb5int_cc_typecursor_free(
+    krb5_context context,
+    krb5_cc_typecursor *cursor);
+
+
 extern k5_mutex_t krb5int_mcc_mutex;
 extern k5_mutex_t krb5int_krcc_mutex;
 extern k5_mutex_t krb5int_cc_file_mutex;
index f0ae4a832be73a8cbbb309266a28898e923898fe..31b4737cf6105914edf28c2309087b28c8706bb3 100644 (file)
@@ -26,7 +26,7 @@
  * cursor for sequential traversal of ccaches
  */
 
-#include "k5-int.h"
+#include "cc-int.h"
 
 #include <assert.h>