KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported
prototype in krb.h.
* g_cnffile.c (krb__get_srvtabname, krb__v5_get_file): Declare
argument as const.
* g_svc_in_tkt.c, put_svc_key.c, rd_req.c, rd_svc_key.c: Get rid
of krb__get_srvtabname() prototype - in krb.h now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13418
dc483132-0cff-0310-8789-
dd5450dbe970
+
+2001-06-20 Ezra Peisach <epeisach@mit.edu>
+
+ * kname_parse.c (k_isrealm, k_isname, k_isrealm): Add
+ KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported
+ prototype in krb.h.
+
+ * g_cnffile.c (krb__get_srvtabname, krb__v5_get_file): Declare
+ argument as const.
+
+ * g_svc_in_tkt.c, put_svc_key.c, rd_req.c, rd_svc_key.c: Get rid
+ of krb__get_srvtabname() prototype - in krb.h now.
+
+
2001-06-18 Ezra Peisach <epeisach@mit.edu>
* kparse.c (strutol): Cast argument to isupper()/tolower() to int.
static FILE*
krb__v5_get_file(s)
- char *s;
+ const char *s;
{
FILE *cnffile = 0;
const char* names[3];
char *
krb__get_srvtabname(default_srvtabname)
- char *default_srvtabname;
+ const char *default_srvtabname;
{
const char* names[3];
char **full_name = 0, **cpp;
#define NULL 0
#endif
-extern char *krb__get_srvtabname();
-
/*
* This file contains two routines: srvtab_to_key(), which gets
* a server's key from a srvtab file, and krb_get_svc_in_tkt() which
* Kerberos name; returns 0 if it's not.
*/
-int
+KRB5_DLLIMP int KRB5_CALLCONV
k_isname(s)
- char *s;
+ char FAR *s;
{
register char c;
int backslash = 0;
* We now allow periods in instance names -- they are unambiguous.
*/
-int
+KRB5_DLLIMP int KRB5_CALLCONV
k_isinst(s)
- char *s;
+ char FAR *s;
{
register char c;
int backslash = 0;
* Kerberos realm; returns 0 if it's not.
*/
-int
+KRB5_DLLIMP int KRB5_CALLCONV
k_isrealm(s)
- char *s;
+ char FAR *s;
{
register char c;
int backslash = 0;
#include <unistd.h>
#endif
-extern char *krb__get_srvtabname();
-
#define KEYSZ sizeof(C_Block)
/* strict put_svc_key.
The srvtab must already exist;
extern int krb_ap_req_debug;
-extern char *krb__get_srvtabname();
-
/* declared in krb.h */
int krb_ignore_ip_address = 0;
#include <krb54proto.h>
#include "prot.h"
-extern char *krb__get_srvtabname();
-
/*
* The private keys for servers on a given host are stored in a
* "srvtab" file (typically "/etc/srvtab"). This routine extracts