summaryrefslogtreecommitdiff
path: root/sys/miscfs/tcfs/tcfs_mount.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-06-17 20:25:56 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-06-17 20:25:56 +0000
commit4101354f3e6be5b49e2d61825c2c7cb7901bec22 (patch)
tree8612e39906950509465ad13ef54daa62b57c09a3 /sys/miscfs/tcfs/tcfs_mount.h
parentb12347c7401e730593586ffb0a6fcae647c52f93 (diff)
some KNF
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_mount.h')
-rw-r--r--sys/miscfs/tcfs/tcfs_mount.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/miscfs/tcfs/tcfs_mount.h b/sys/miscfs/tcfs/tcfs_mount.h
index 024e22ef622..095ed23f3b5 100644
--- a/sys/miscfs/tcfs/tcfs_mount.h
+++ b/sys/miscfs/tcfs/tcfs_mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfs_mount.h,v 1.2 2000/06/17 17:32:27 provos Exp $ */
+/* $OpenBSD: tcfs_mount.h,v 1.3 2000/06/17 20:25:55 provos Exp $ */
/*
* Copyright 2000 The TCFS Project at http://tcfs.dia.unisa.it/
* All rights reserved.
@@ -25,25 +25,23 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _TCFS_KEYTAB_H_
-#include "tcfs_keytab.h"
-#endif
+#ifndef _TCFS_MOUNT_H_
#define _TCFS_MOUNT_H_
-#ifndef _TCFS_VERSION_H_
-#include "tcfs_version.h"
-#endif
+#include <miscfs/tcfs/tcfs_keytab.h>
+#include <miscfs/tcfs/tcfs_version.h>
#define MaxCipherNameLen 8
struct tcfs_status {
- int status;
- int n_ukey;
- int n_gkey;
- int tcfs_version;
- char cipher_desc[MaxCipherNameLen];
- int cipher_keysize;
- int cipher_version;
- };
+ int status;
+ int n_ukey;
+ int n_gkey;
+ int tcfs_version;
+ char cipher_desc[MaxCipherNameLen];
+ int cipher_keysize;
+ int cipher_version;
+};
+
struct tcfs_args {
char *target; /* Target of loopback */
char *tcfs_key; /* chiave */
@@ -59,8 +57,10 @@ struct tcfs_args {
struct tcfs_mount {
struct mount *tcfsm_vfs;
struct vnode *tcfsm_rootvp; /* Reference to root tcfs_node */
- void* ks;
+ void *ks;
tcfs_keytab *tcfs_uid_kt;
tcfs_keytab *tcfs_gid_kt;
int tcfs_cipher_num;
};
+
+#endif /* _TCFS_MOUNT_H_ */