summaryrefslogtreecommitdiff
path: root/bin/md5/global.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:38:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:38:03 +0000
commitc7fc0a605a7314fcaee1546e39bba77d7156c64d (patch)
tree6e2f69b2feac2f4e3b9b07cc2789c714c0170d96 /bin/md5/global.h
parent0a74115a4ed9a2304bd33da05f3e81de774ef38f (diff)
move to bin/md5 for `greater accessibility'
Diffstat (limited to 'bin/md5/global.h')
-rw-r--r--bin/md5/global.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/bin/md5/global.h b/bin/md5/global.h
new file mode 100644
index 00000000000..b3d8fd6ce24
--- /dev/null
+++ b/bin/md5/global.h
@@ -0,0 +1,32 @@
+/* $OpenBSD: global.h,v 1.1 1996/06/11 10:37:35 deraadt Exp $ */
+
+/* GLOBAL.H - RSAREF types and constants
+ */
+
+/* PROTOTYPES should be set to one if and only if the compiler supports
+ function argument prototyping.
+The following makes PROTOTYPES default to 0 if it has not already
+ been defined with C compiler flags.
+ */
+#ifndef PROTOTYPES
+#define PROTOTYPES 0
+#endif
+
+/* POINTER defines a generic pointer type */
+typedef unsigned char *POINTER;
+
+/* UINT2 defines a two byte word */
+typedef unsigned short int UINT2;
+
+/* UINT4 defines a four byte word */
+typedef unsigned long int UINT4;
+
+/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
+If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
+ returns an empty list.
+ */
+#if PROTOTYPES
+#define PROTO_LIST(list) list
+#else
+#define PROTO_LIST(list) ()
+#endif