summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2001-10-04 00:39:57 +0000
committerKen Raeburn <raeburn@mit.edu>2001-10-04 00:39:57 +0000
commite037d1e993ec4df947cd8c92a5f3643838bc2e6b (patch)
tree194d7f2aabcb3ba21cf66b57b149278e5107961c /src/lib/krb5/ccache
parentbdf4523df7addccddacd97542627e78c272113f6 (diff)
downloadkrb5-e037d1e993ec4df947cd8c92a5f3643838bc2e6b.tar.gz
krb5-e037d1e993ec4df947cd8c92a5f3643838bc2e6b.tar.xz
krb5-e037d1e993ec4df947cd8c92a5f3643838bc2e6b.zip
Danilo says we can get rid of the DLLIMP stuff now
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache')
-rw-r--r--src/lib/krb5/ccache/ChangeLog5
-rw-r--r--src/lib/krb5/ccache/cc_file.c30
-rw-r--r--src/lib/krb5/ccache/ccapi/ChangeLog4
-rw-r--r--src/lib/krb5/ccache/ccapi/stdcc.h28
-rw-r--r--src/lib/krb5/ccache/ccapi/winccld.c2
-rw-r--r--src/lib/krb5/ccache/ccbase.c4
-rw-r--r--src/lib/krb5/ccache/cccopy.c2
-rw-r--r--src/lib/krb5/ccache/ccdefault.c4
-rw-r--r--src/lib/krb5/ccache/fcc.h2
-rw-r--r--src/lib/krb5/ccache/ser_cc.c2
10 files changed, 46 insertions, 37 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog
index 75abaa032..d76e2a774 100644
--- a/src/lib/krb5/ccache/ChangeLog
+++ b/src/lib/krb5/ccache/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-03 Ken Raeburn <raeburn@mit.edu>
+
+ * cc_file.c, ccbase.c, cccopy.c, ccdefault.c, fcc.h, ser_cc.c:
+ Don't use KRB5_DLLIMP.
+
2000-10-30 Tom Yu <tlyu@mit.edu>
* cc_stdio.c: Add a "mode" field to krb5_scc_data to keep track of
diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c
index a088ecb4b..e389a481a 100644
--- a/src/lib/krb5/ccache/cc_file.c
+++ b/src/lib/krb5/ccache/cc_file.c
@@ -92,28 +92,28 @@ fcc_nseq.c and fcc_read don't check return values a lot.
#error find some way to use net-byte-order file version numbers.
#endif
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_close
+krb5_error_code KRB5_CALLCONV krb5_fcc_close
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_destroy
+krb5_error_code KRB5_CALLCONV krb5_fcc_destroy
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_end_seq_get
+krb5_error_code KRB5_CALLCONV krb5_fcc_end_seq_get
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_cc_cursor *cursor ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_generate_new
+krb5_error_code KRB5_CALLCONV krb5_fcc_generate_new
KRB5_PROTOTYPE((krb5_context, krb5_ccache *id ));
-KRB5_DLLIMP const char * KRB5_CALLCONV krb5_fcc_get_name
+const char * KRB5_CALLCONV krb5_fcc_get_name
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_get_principal
+krb5_error_code KRB5_CALLCONV krb5_fcc_get_principal
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_principal *princ ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_initialize
+krb5_error_code KRB5_CALLCONV krb5_fcc_initialize
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_principal princ ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_next_cred
+krb5_error_code KRB5_CALLCONV krb5_fcc_next_cred
KRB5_PROTOTYPE((krb5_context,
krb5_ccache id ,
krb5_cc_cursor *cursor ,
@@ -147,20 +147,20 @@ krb5_error_code krb5_fcc_read_authdata
krb5_error_code krb5_fcc_read_authdatum
KRB5_PROTOTYPE((krb5_context, krb5_ccache , krb5_authdata *));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_resolve
+krb5_error_code KRB5_CALLCONV krb5_fcc_resolve
KRB5_PROTOTYPE((krb5_context, krb5_ccache *id , const char *residual ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_retrieve
+krb5_error_code KRB5_CALLCONV krb5_fcc_retrieve
KRB5_PROTOTYPE((krb5_context,
krb5_ccache id ,
krb5_flags whichfields ,
krb5_creds *mcreds ,
krb5_creds *creds ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_start_seq_get
+krb5_error_code KRB5_CALLCONV krb5_fcc_start_seq_get
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_cc_cursor *cursor ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_store
+krb5_error_code KRB5_CALLCONV krb5_fcc_store
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_creds *creds ));
krb5_error_code krb5_fcc_skip_header
@@ -168,10 +168,10 @@ krb5_error_code krb5_fcc_skip_header
krb5_error_code krb5_fcc_skip_principal
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_fcc_set_flags
+krb5_error_code KRB5_CALLCONV krb5_fcc_set_flags
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags ));
-KRB5_DLLIMP extern krb5_cc_ops krb5_cc_file_ops;
+extern krb5_cc_ops krb5_cc_file_ops;
krb5_error_code krb5_change_cache
KRB5_PROTOTYPE((void));
@@ -2103,7 +2103,7 @@ krb5_change_cache (void) {
return 0;
}
-KRB5_DLLIMP unsigned int KRB5_CALLCONV
+unsigned int KRB5_CALLCONV
krb5_get_notification_message (void) {
static unsigned int message = 0;
diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog
index 0e3ce4120..24d04add1 100644
--- a/src/lib/krb5/ccache/ccapi/ChangeLog
+++ b/src/lib/krb5/ccache/ccapi/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-03 Ken Raeburn <raeburn@mit.edu>
+
+ * stdcc.h, winccld.c: Don't use KRB5_DLLIMP.
+
2000-10-03 Ezra Peisach <epeisach@mit.edu>
* stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.h b/src/lib/krb5/ccache/ccapi/stdcc.h
index a453b94ad..7322c199e 100644
--- a/src/lib/krb5/ccache/ccapi/stdcc.h
+++ b/src/lib/krb5/ccache/ccapi/stdcc.h
@@ -25,51 +25,51 @@ typedef struct _stdccCacheData {
/* function protoypes */
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_close
+krb5_error_code KRB5_CALLCONV krb5_stdcc_close
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_destroy
+krb5_error_code KRB5_CALLCONV krb5_stdcc_destroy
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_end_seq_get
+krb5_error_code KRB5_CALLCONV krb5_stdcc_end_seq_get
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_cc_cursor *cursor ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_generate_new
+krb5_error_code KRB5_CALLCONV krb5_stdcc_generate_new
KRB5_PROTOTYPE((krb5_context, krb5_ccache *id ));
-KRB5_DLLIMP const char * KRB5_CALLCONV krb5_stdcc_get_name
+const char * KRB5_CALLCONV krb5_stdcc_get_name
KRB5_PROTOTYPE((krb5_context, krb5_ccache id ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_get_principal
+krb5_error_code KRB5_CALLCONV krb5_stdcc_get_principal
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_principal *princ ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_initialize
+krb5_error_code KRB5_CALLCONV krb5_stdcc_initialize
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_principal princ ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_next_cred
+krb5_error_code KRB5_CALLCONV krb5_stdcc_next_cred
KRB5_PROTOTYPE((krb5_context,
krb5_ccache id ,
krb5_cc_cursor *cursor ,
krb5_creds *creds ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_resolve
+krb5_error_code KRB5_CALLCONV krb5_stdcc_resolve
KRB5_PROTOTYPE((krb5_context, krb5_ccache *id , const char *residual ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_retrieve
+krb5_error_code KRB5_CALLCONV krb5_stdcc_retrieve
KRB5_PROTOTYPE((krb5_context,
krb5_ccache id ,
krb5_flags whichfields ,
krb5_creds *mcreds ,
krb5_creds *creds ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_start_seq_get
+krb5_error_code KRB5_CALLCONV krb5_stdcc_start_seq_get
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_cc_cursor *cursor ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_store
+krb5_error_code KRB5_CALLCONV krb5_stdcc_store
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_creds *creds ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_set_flags
+krb5_error_code KRB5_CALLCONV krb5_stdcc_set_flags
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags ));
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_remove
+krb5_error_code KRB5_CALLCONV krb5_stdcc_remove
KRB5_PROTOTYPE((krb5_context, krb5_ccache id , krb5_flags flags, krb5_creds *creds));
diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c
index 4fded76d8..22489c10d 100644
--- a/src/lib/krb5/ccache/ccapi/winccld.c
+++ b/src/lib/krb5/ccache/ccapi/winccld.c
@@ -9,7 +9,7 @@
#include "stdcc.h"
/* from fcc-proto.h */
-KRB5_DLLIMP extern krb5_cc_ops krb5_fcc_ops;
+extern krb5_cc_ops krb5_fcc_ops;
#define KRB5_WINCCLD_C_
#include "winccld.h"
diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c
index b215d2901..18832e398 100644
--- a/src/lib/krb5/ccache/ccbase.c
+++ b/src/lib/krb5/ccache/ccbase.c
@@ -45,7 +45,7 @@ static struct krb5_cc_typelist *cc_typehead = &cc_entry;
* If override is set, replace any existing ccache with that type tag
*/
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5_cc_register(context, ops, override)
krb5_context context;
krb5_cc_ops FAR *ops;
@@ -79,7 +79,7 @@ krb5_cc_register(context, ops, override)
* particular cache type.
*/
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5_cc_resolve (context, name, cache)
krb5_context context;
const char *name;
diff --git a/src/lib/krb5/ccache/cccopy.c b/src/lib/krb5/ccache/cccopy.c
index cdeaa12bb..4719baafe 100644
--- a/src/lib/krb5/ccache/cccopy.c
+++ b/src/lib/krb5/ccache/cccopy.c
@@ -1,6 +1,6 @@
#include "k5-int.h"
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5_cc_copy_creds(context, incc, outcc)
krb5_context context;
krb5_ccache incc;
diff --git a/src/lib/krb5/ccache/ccdefault.c b/src/lib/krb5/ccache/ccdefault.c
index 72e24557b..2c4eea9f5 100644
--- a/src/lib/krb5/ccache/ccdefault.c
+++ b/src/lib/krb5/ccache/ccdefault.c
@@ -33,7 +33,7 @@
#include <KerberosLoginInternal.h>
#endif
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5_cc_default(context, ccache)
krb5_context context;
krb5_ccache FAR *ccache;
@@ -62,7 +62,7 @@ krb5_cc_default(context, ccache)
All krb5 and GSS functions which need to open a cache to get a tgt to obtain service tickets
should call this function, not krb5_cc_default() */
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5int_cc_default(context, ccache)
krb5_context context;
krb5_ccache FAR *ccache;
diff --git a/src/lib/krb5/ccache/fcc.h b/src/lib/krb5/ccache/fcc.h
index 47ad9fd51..7f91fd846 100644
--- a/src/lib/krb5/ccache/fcc.h
+++ b/src/lib/krb5/ccache/fcc.h
@@ -35,7 +35,7 @@
#include "k5-int.h"
#include <stdio.h>
-KRB5_DLLIMP extern krb5_cc_ops krb5_cc_file_ops;
+extern krb5_cc_ops krb5_cc_file_ops;
#define KRB5_OK 0
diff --git a/src/lib/krb5/ccache/ser_cc.c b/src/lib/krb5/ccache/ser_cc.c
index 6bce4e344..038099256 100644
--- a/src/lib/krb5/ccache/ser_cc.c
+++ b/src/lib/krb5/ccache/ser_cc.c
@@ -206,7 +206,7 @@ krb5_ccache_internalize(kcontext, argp, buffer, lenremain)
/*
* Register the ccache serializer.
*/
-KRB5_DLLIMP krb5_error_code KRB5_CALLCONV
+krb5_error_code KRB5_CALLCONV
krb5_ser_ccache_init(kcontext)
krb5_context kcontext;
{