don't include bit types, the user must do that
#ifdef wrap git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14771 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -33,18 +33,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_BITYPES_H
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
#ifdef KRB5
|
||||
#include <krb5-types.h>
|
||||
#elif defined(KRB4)
|
||||
#include <ktypes.h>
|
||||
#endif
|
||||
#ifndef HEIM_MD4_H
|
||||
#define HEIM_MD4_H 1
|
||||
|
||||
struct md4 {
|
||||
unsigned int sz[2];
|
||||
@@ -57,3 +47,5 @@ typedef struct md4 MD4_CTX;
|
||||
void MD4_Init (struct md4 *m);
|
||||
void MD4_Update (struct md4 *m, const void *p, size_t len);
|
||||
void MD4_Final (void *res, struct md4 *m);
|
||||
|
||||
#endif /* HEIM_MD4_H */
|
||||
|
@@ -33,18 +33,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_BITYPES_H
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
#ifdef KRB5
|
||||
#include <krb5-types.h>
|
||||
#elif defined(KRB4)
|
||||
#include <ktypes.h>
|
||||
#endif
|
||||
#ifndef HEIM_MD5_H
|
||||
#define HEIM_MD5_H 1
|
||||
|
||||
struct md5 {
|
||||
unsigned int sz[2];
|
||||
@@ -57,3 +47,5 @@ typedef struct md5 MD5_CTX;
|
||||
void MD5_Init (struct md5 *m);
|
||||
void MD5_Update (struct md5 *m, const void *p, size_t len);
|
||||
void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */
|
||||
|
||||
#endif /* HEIM_MD5_H */
|
||||
|
@@ -33,18 +33,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_BITYPES_H
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
#ifdef KRB5
|
||||
#include <krb5-types.h>
|
||||
#elif defined(KRB4)
|
||||
#include <ktypes.h>
|
||||
#endif
|
||||
#ifndef HEIM_SHA_H
|
||||
#define HEIM_SHA_H 1
|
||||
|
||||
struct sha {
|
||||
unsigned int sz[2];
|
||||
@@ -57,3 +47,5 @@ typedef struct sha SHA_CTX;
|
||||
void SHA1_Init (struct sha *m);
|
||||
void SHA1_Update (struct sha *m, const void *v, size_t len);
|
||||
void SHA1_Final (void *res, struct sha *m);
|
||||
|
||||
#endif /* HEIM_SHA_H */
|
||||
|
Reference in New Issue
Block a user