+Tue Feb 28 01:07:37 1995 John Gilmore (gnu at toad.com)
+
+ * *.c: Avoid <krb5/...> includes.
+
Fri Feb 3 08:24:18 1995 Theodore Y. Ts'o (tytso@dcl)
* gmt_mktime.c (gmt_mktime): Don't double count the leap day in a
* krb5_aname_to_localname()
*/
-
-#include <krb5/osconf.h>
-
-#include <krb5/krb5.h>
-#include <krb5/los-proto.h>
-#include <krb5/ext-proto.h>
-
-#include <krb5/sysincl.h>
-#ifdef USE_DBM_LNAME
-#include <krb5/dbm.h>
-#endif
+#include "k5-int.h"
#ifndef min
#define min(a,b) ((a) > (b) ? (b) : (a))
* Return default cred. cache name.
*/
-
-#include <krb5/krb5.h>
-
+#include "k5-int.h"
#include <stdio.h>
-#include <krb5/ext-proto.h>
-#include <krb5/osconf.h>
char *krb5_cc_default_name(context)
krb5_context context;
* krb5_get_default_realm() function.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-
+#include "k5-int.h"
#include <stdio.h>
/*
* krb5_free_host_realm()
*/
-
-#include <krb5/krb5.h>
-
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
#include <stdio.h>
-#include <krb5/los-proto.h>
/*
Frees the storage taken by a realm list returned by krb5_get_local_realm.
* krb5_free_krbhst() function
*/
-
-#include <krb5/krb5.h>
-
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
/*
Frees the storage taken by a host list returned by krb5_get_krbhst.
* Take an IP addr & port and generate a full IP address.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
+#include "k5-int.h"
#ifdef KRB5_USE_INET
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
#include "os-proto.h"
#include <netinet/in.h>
* Take an IP addr & port and generate a full IP address.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
#include "os-proto.h"
krb5_error_code
* a replay cache tag string.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
#include "os-proto.h"
#ifdef KRB5_USE_INET
#include <sys/types.h>
* krb5_get_krbhst() function.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
#include <stdio.h>
#include <ctype.h>
* host names should be in the usual form (e.g. FOO.BAR.BAZ)
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <krb5/sysincl.h>
+#include "k5-int.h"
#include <ctype.h>
-
#include <stdio.h>
/* for old Unixes and friends ... */
* krb5_init_contex()
*/
-#include <krb5/krb5.h>
-#include <krb5/libos.h>
-#include <krb5/los-proto.h>
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
krb5_error_code
krb5_os_init_context(ctx)
static char *VersionID = "@(#)krbfileio.c 2 - 08/22/91";
#endif
-#include <krb5/krb5.h>
-#include <krb5/libos.h>
-#include <krb5/los-proto.h>
-
+#include "k5-int.h"
#include <sys/file.h>
-
#include <sys/types.h>
-#include <krb5/ext-proto.h>
#ifdef NEED_SYS_FCNTL_H
#include <sys/fcntl.h>
#endif
* Return default keytab file name.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
extern char *krb5_defkeyname;
* krb5_kuserok()
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <krb5/sysincl.h>
-
+#include "k5-int.h"
#include <stdio.h>
#include <pwd.h>
*/
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
/* needed for solaris, harmless elsewhere... */
#define BSD_COMP
* get socket addresses for KDC.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
-
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
#include <stdio.h>
-#include <krb5/los-proto.h>
-
#include <sys/types.h>
#include <sys/socket.h>
#ifdef KRB5_USE_INET
* libos: krb5_lock_file routine
*/
-
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-
-#include <krb5/krb5.h>
-#include <krb5/libos.h>
-
+#include "k5-int.h"
#include <stdio.h>
#ifdef POSIX_FILE_LOCKS
#endif
#include <sys/types.h>
-#include <krb5/ext-proto.h>
extern int errno;
*
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
/*
* krb5_net_read() reads from the file descriptor "fd" to the buffer
*
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
+#include "k5-int.h"
/*
* krb5_net_write() writes "len" bytes from "buf" to the file
* Definition of default configuration parameters.
*/
-
-#include <krb5/osconf.h>
-#include <krb5/config.h>
-
+#include "k5-int.h"
char *krb5_config_file = DEFAULT_CONFIG_FILENAME;
char *krb5_trans_file = DEFAULT_TRANS_FILENAME;
* Take an ADDRPORT address and split into IP addr & port.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/osconf.h>
+#include "k5-int.h"
#ifdef KRB5_USE_INET
-
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
#include "os-proto.h"
#include <netinet/in.h>
* Write a message to the network
*/
-
-#include <krb5/krb5.h>
-#include <krb5/los-proto.h>
-#include <krb5/ext-proto.h>
-#include <com_err.h>
+#include "k5-int.h"
#include <errno.h>
-
-#include <stdio.h>
-#include <string.h>
#include <netinet/in.h>
krb5_error_code
* libos: krb5_read_password for BSD 4.3
*/
-
-#include <krb5/krb5.h>
-
+#include "k5-int.h"
#include <stdio.h>
#include <errno.h>
#include <signal.h>
#include <sgtty.h>
#endif
-#include <krb5/ext-proto.h>
-
/* POSIX_* are auto-magically defined in <krb5/config.h> at source
configuration time. */
* This was hacked together from krb5_get_host_realm().
*/
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <krb5/sysincl.h>
+#include "k5-int.h"
#include <ctype.h>
-
#include <stdio.h>
/* for old Unixes and friends ... */
* as necessary.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/sysincl.h>
+#include "k5-int.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
-
-#include <krb5/los-proto.h>
#include "os-proto.h"
#ifdef _AIX
*
* The storage for 'reply' is allocated and should be freed by the caller
* when finished.
- *
*/
-
extern int krb5_max_dgram_size;
extern int krb5_max_skdc_timeout;
extern int krb5_skdc_timeout_shift;
* form.
*/
-
-#include <krb5/krb5.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
#include <netdb.h>
#include <ctype.h>
#include <sys/param.h>
#include <time.h>
#include <stdio.h> /* needed for libos-proto.h */
-#include <krb5/config.h>
-#include <krb5/krb5.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
#ifdef POSIX_TYPES
#define timetype time_t
* libos: krb5_lock_file routine
*/
-
#include <stdio.h>
-
-#include <krb5/krb5.h>
-#include <krb5/libos.h>
-#include <krb5/los-proto.h>
+#include "k5-int.h"
krb5_error_code
krb5_unlock_file(context, filep, pathname)
* krb5_mstimeofday for BSD 4.3
*/
-
-#include <krb5/config.h>
-#include <krb5/krb5.h>
-#include <krb5/los-proto.h>
-#include <krb5/sysincl.h>
+#include "k5-int.h"
extern int errno;
* convenience sendauth/recvauth functions
*/
-
-#include <krb5/krb5.h>
-#include <krb5/los-proto.h>
-#include <com_err.h>
+#include "k5-int.h"
#include <errno.h>
-
-#include <stdio.h>
-#include <string.h>
#include <netinet/in.h>
krb5_error_code