summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsasl/include/md5global.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libsasl/include/md5global.h')
-rw-r--r--usr/src/lib/libsasl/include/md5global.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/usr/src/lib/libsasl/include/md5global.h b/usr/src/lib/libsasl/include/md5global.h
new file mode 100644
index 0000000000..5266bbb218
--- /dev/null
+++ b/usr/src/lib/libsasl/include/md5global.h
@@ -0,0 +1,40 @@
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+/* md5global.h - RSAREF types and constants
+ */
+#ifndef MD5GLOBAL_H
+#define MD5GLOBAL_H
+
+/* 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;
+
+typedef signed char INT1; /* 8 bits */
+typedef short INT2; /* 16 bits */
+typedef int INT4; /* 32 bits */
+/* There is no 64 bit type */
+typedef unsigned char UINT1; /* 8 bits */
+typedef unsigned short UINT2; /* 16 bits */
+typedef unsigned int UINT4; /* 32 bits */
+/* There is no 64 bit type */
+
+/* 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
+
+#endif /* MD5GLOBAL_H */
+