krb5 prototypes are declarted from krb.hkrb__get_cnffile() and
krb5 prototypes are declarted from krb.hk_gethostname().
* g_pw_in_tkt.c: Declare passwd_to_key() static.
* cr_tkt.c: Move krb5.h inclusion before krb.h so that certain
krb5 prototypes are declarted from krb.h.
* g_admhost.c, g_cnffile.c, g_krbhst.c, g_krbrlm.c,
gethostname.c
krb5 prototypes are declarted from krb.hrealmofhost.c:
Include krb4int.h and remove prototypes included in there.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13512
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-26 Ezra Peisach <epeisach@mit.edu>
+
+ * krb4int.h: Add prototypes for krb__get_realmsfile(),
+ krb5 prototypes are declarted from krb.hkrb__get_cnffile() and
+ krb5 prototypes are declarted from krb.hk_gethostname().
+
+ * g_pw_in_tkt.c: Declare passwd_to_key() static.
+
+ * cr_tkt.c: Move krb5.h inclusion before krb.h so that certain
+ krb5 prototypes are declarted from krb.h.
+
+ * g_admhost.c, g_cnffile.c, g_krbhst.c, g_krbrlm.c, gethostname.c
+ krb5 prototypes are declarted from krb.hrealmofhost.c:
+ Include krb4int.h and remove prototypes included in there.
2001-06-20 Ezra Peisach <epeisach@mit.edu>
* or implied warranty.
*/
+#include <krb5.h>
#include "des.h"
#include "krb.h"
#include "prot.h"
#include <string.h>
-#include <krb5.h>
static int
krb_cr_tkt_int PROTOTYPE((KTEXT tkt, unsigned int flags_in, char *pname,
#include <stdio.h>
#include "krb.h"
#include <string.h>
+#include "krb4int.h"
/*
* Given a Kerberos realm, find a host on which the Kerberos database
char FAR *r;
int n;
{
- FILE *cnffile, *krb__get_cnffile();
+ FILE *cnffile;
char tr[REALM_SZ];
char linebuf[BUFSIZ];
char scratch[64];
#include <stdio.h>
#include "krb.h"
#include "k5-int.h"
+#include "krb4int.h"
krb5_context krb5__krb4_context = 0;
#include <stdio.h>
#include "krb.h"
#include <string.h>
+#include "krb4int.h"
/*
* Given a Kerberos realm, find a host on which the Kerberos authenti-
char FAR *r;
int n;
{
- FILE *cnffile, *krb__get_cnffile();
+ FILE *cnffile;
char tr[REALM_SZ];
char linebuf[BUFSIZ];
register int i;
#include <stdio.h>
#include "krb.h"
#include <string.h>
+#include "krb4int.h"
/*
* krb_get_lrealm takes a pointer to a string, and a number, n. It fills
char *r;
int n;
{
- FILE *cnffile, *krb__get_cnffile();
+ FILE *cnffile;
if (n > 1)
return(KFAILURE); /* Temporary restriction */
* and 0 is returned.
*/
/*ARGSUSED */
-int
+static int
passwd_to_key(user,instance,realm,passwd,key)
char *user, *instance, *realm, *passwd;
C_Block key;
#include "mit-copyright.h"
#define DEFINE_SOCKADDR
#include "krb.h"
+#include "krb4int.h"
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
* be available for self consistancy in the library.
*/
-
+/* getst.c */
int getst(int, char *, int);
+/* tf_util.c */
int tf_save_cred(char *, char *, char *, C_Block, int , int, KTEXT, long);
+
+/* g_cnffile.c */
+FILE *krb__get_realmsfile(void);
+
+FILE *krb__get_cnffile(void);
+
+/* gethostname.c */
+int k_gethostname(char *, int);
+
#else
extern char *malloc();
#endif
+#include "krb4int.h"
/*
* krb_realmofhost.
{
char *domain;
FILE *trans_file;
- FILE *krb__get_realmsfile();
/*
* This used to be MAXHOSTNAMELEN, but we don't know how big
* that will necessarily be on all systems, so assume 1024.