summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsmbfs/netsmb/smb_lib.h
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2017-08-12 10:54:18 -0400
committerGordon Ross <gwr@nexenta.com>2019-03-14 10:38:30 -0400
commit8329232e00f1048795bae53acb230316243aadb5 (patch)
tree0d9a71c0dd22bd5288debd1dcc2cd3f0e7131d67 /usr/src/lib/libsmbfs/netsmb/smb_lib.h
parentebee07ff4f102cbd3179db7c5070283da35a79f3 (diff)
downloadillumos-gate-8329232e00f1048795bae53acb230316243aadb5.tar.gz
9874 Add fksmbcl development tool
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
Diffstat (limited to 'usr/src/lib/libsmbfs/netsmb/smb_lib.h')
-rw-r--r--usr/src/lib/libsmbfs/netsmb/smb_lib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/lib/libsmbfs/netsmb/smb_lib.h b/usr/src/lib/libsmbfs/netsmb/smb_lib.h
index c1dc6886ac..1f6e062e74 100644
--- a/usr/src/lib/libsmbfs/netsmb/smb_lib.h
+++ b/usr/src/lib/libsmbfs/netsmb/smb_lib.h
@@ -34,7 +34,7 @@
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2017 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _NETSMB_SMB_LIB_H_
@@ -136,8 +136,8 @@ struct smb_ctx {
#define ct_owner ct_iod_ssn.iod_ossn.ssn_owner
#define ct_srvaddr ct_iod_ssn.iod_ossn.ssn_srvaddr
#define ct_domain ct_iod_ssn.iod_ossn.ssn_domain
-#define ct_user ct_iod_ssn.iod_ossn.ssn_user
-#define ct_srvname ct_iod_ssn.iod_ossn.ssn_srvname
+#define ct_user ct_iod_ssn.iod_ossn.ssn_user
+#define ct_srvname ct_iod_ssn.iod_ossn.ssn_srvname
#define ct_authflags ct_iod_ssn.iod_authflags
#define ct_nthash ct_iod_ssn.iod_nthash
#define ct_lmhash ct_iod_ssn.iod_lmhash
@@ -181,6 +181,8 @@ struct smb_ctx {
int smb_ctx_init(struct smb_ctx *);
void smb_ctx_done(struct smb_ctx *);
int smb_open_driver(void);
+int nsmb_ioctl(int, int, void *);
+int nsmb_close(int);
int smb_ctx_gethandle(struct smb_ctx *);
int smb_ctx_findvc(struct smb_ctx *);