Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/opencrypto Forward-declare some structs so we ...



details:   https://anonhg.NetBSD.org/src/rev/fc59c631f69c
branches:  pgoyette-compat
changeset: 830744:fc59c631f69c
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Sep 22 10:42:00 2018 +0000

description:
Forward-declare some structs so we can use pointers to them in
function declarations.

diffstat:

 sys/opencrypto/ocryptodev.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r fd225b047597 -r fc59c631f69c sys/opencrypto/ocryptodev.h
--- a/sys/opencrypto/ocryptodev.h       Sat Sep 22 10:33:50 2018 +0000
+++ b/sys/opencrypto/ocryptodev.h       Sat Sep 22 10:42:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ocryptodev.h,v 1.3.16.2 2018/09/22 10:33:50 pgoyette Exp $ */
+/*     $NetBSD: ocryptodev.h,v 1.3.16.3 2018/09/22 10:42:00 pgoyette Exp $ */
 /*     $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.2.2.6 2003/07/02 17:04:50 sam Exp $        */
 /*     $OpenBSD: cryptodev.h,v 1.33 2002/07/17 23:52:39 art Exp $      */
 
@@ -170,6 +170,12 @@
 #define OCIOCCRYPT     _IOWR('c', 103, struct ocrypt_op)
 #define OCIOCNCRYPTM   _IOWR('c', 107, struct ocrypt_mop)
 
+struct fcrypt;
+struct session_op;
+struct csession;
+struct crypt_op;
+struct crypt_n_op;
+
 int ocryptof_ioctl(struct file *, u_long, void *, kmutex_t *,
     int (*)(struct fcrypt *, struct session_op *),
     int (*)(struct csession *, struct crypt_op *, struct lwp *),



Home | Main Index | Thread Index | Old Index