*** empty log message ***

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@880 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-10-22 22:32:57 +00:00
parent 190fed0b4e
commit b96bc32e40
8 changed files with 153 additions and 20 deletions

15
lib/krb5/Makefile.am Normal file
View File

@@ -0,0 +1,15 @@
# $Id$
AUTOMAKE_OPTIONS = no-dependencies
INCLUDES = -I$(top_builddir)/include
lib_LIBRARIES = krb5
krb5_SOURCES = cache.c config_file.y constants.c context.c data.c \
get_addrs.c get_cred.c get_in_tkt.c get_in_tkt_pw.c get_port.c \
krbhst.c misc.c principal.c principal_p.c send_to_kdc.c str2key.c
config_file.c: config_file.y
$(YACC) -p __k5cf_ $<
mv -f y.tab.c config_file.c

View File

@@ -2,9 +2,9 @@
#define __CACHE_H__
krb5_error_code
krb5_cc_resolve (krb5_context context,
char *residual,
krb5_ccache *id);
krb5_cc_resolve(krb5_context context,
const char *residual,
krb5_ccache *id);
char *
krb5_cc_get_name (krb5_context context,

View File

@@ -13,6 +13,8 @@
#include <sys/bitypes.h>
#endif
#include <bits.h>
#include "config_file.h"
/* simple constants */
@@ -22,17 +24,6 @@
#define FALSE 0
#endif
#if 1
/* types */
typedef int int32_t;
typedef short int16_t;
typedef char int8_t;
typedef unsigned int u_int32_t;
typedef unsigned short u_int16_t;
typedef unsigned char u_int8_t;
#endif
typedef int krb5_boolean;
typedef int32_t krb5_error_code;
@@ -222,7 +213,7 @@ typedef struct krb5_auth_context{
typedef u_int32_t krb5_flags;
#include <foo.h>
#include <asn1.h>
typedef struct {
KDC_REP part1;

View File

@@ -1,6 +1,10 @@
#ifndef __KRB5_LOCL_H__
#define __KRB5_LOCL_H__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <errno.h>
#include <ctype.h>
#include <string.h>
@@ -12,9 +16,6 @@
#include <sys/types.h>
#include <sys/ioctl.h>
extern int ioctl(int, int, ...);
#include <sys/param.h>
#include <time.h>
#include <sys/time.h>
@@ -61,6 +62,4 @@ krb5_sendto_kdc (krb5_context context,
#define ALLOC(N, X) ((X*)malloc((N) * sizeof(X)))
#define FREE(X) do{if(X)free(X);}while(0)
#define RCSID(X) static char *rcsid[] = { (char*)rcsid, X }
#endif /* __KRB5_LOCL_H__ */