Andreas Krennmair:
[apps/madmutt.git] / crypthash.h
diff --git a/crypthash.h b/crypthash.h
new file mode 100644 (file)
index 0000000..a2545b8
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef _CRYPTHASH_H
+# define _CRYPTHASH_H
+
+# include "config.h"
+
+
+# include <sys/types.h>
+# if HAVE_INTTYPES_H
+#  include <inttypes.h>
+# else
+#  if HAVE_STDINT_H
+#   include <stdint.h>
+#  endif
+# endif
+
+/* POINTER defines a generic pointer type */
+typedef unsigned char *POINTER;
+
+# ifndef HAVE_UINT32_T
+#  if SIZEOF_INT == 4
+typedef unsigned int uint32_t;
+#  elif SIZEOF_LONG == 4
+typedef unsigned long uint32_t;
+#  endif
+# endif
+
+#endif