Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Oops. Forgot md2.h header file.



details:   https://anonhg.NetBSD.org/src/rev/501cc8a3fa55
branches:  trunk
changeset: 507287:501cc8a3fa55
user:      atatat <atatat%NetBSD.org@localhost>
date:      Mon Mar 19 04:18:53 2001 +0000

description:
Oops.  Forgot md2.h header file.

diffstat:

 include/md2.h |  25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r 6c0e0efba09a -r 501cc8a3fa55 include/md2.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/include/md2.h     Mon Mar 19 04:18:53 2001 +0000
@@ -0,0 +1,25 @@
+/*     $NetBSD: md2.h,v 1.1 2001/03/19 04:18:53 atatat Exp $   */
+
+#ifndef _MD2_H_
+#define _MD2_H_
+
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
+/* MD2 context. */
+typedef struct MD2Context {
+       u_int32_t i;
+       unsigned char C[16];            /* checksum */
+       unsigned char X[48];            /* input buffer */
+} MD2_CTX;
+
+__BEGIN_DECLS
+void   MD2Init __P((MD2_CTX *));
+void   MD2Update __P((MD2_CTX *, const unsigned char *, unsigned int));
+void   MD2Final __P((unsigned char[16], MD2_CTX *));
+char   *MD2End __P((MD2_CTX *, char *));
+char   *MD2File __P((const char *, char *));
+char   *MD2Data __P((const unsigned char *, unsigned int, char *));
+__END_DECLS
+
+#endif /* _MD2_H_ */



Home | Main Index | Thread Index | Old Index