summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsmbfs/smb/private.h
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2011-06-30 17:58:05 -0400
committerGordon Ross <gwr@nexenta.com>2011-06-30 17:58:05 -0400
commit430b4c467020edf2445feb0c21db01c88b86243a (patch)
treed13826bc812dd8c21ad1b0629bdb756bc9cfd257 /usr/src/lib/libsmbfs/smb/private.h
parent9ecc7612020c1993e4dbadd3422a74b210279739 (diff)
downloadillumos-joyent-430b4c467020edf2445feb0c21db01c88b86243a.tar.gz
1120 Use real file descriptors for smbfs named pipes.
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
Diffstat (limited to 'usr/src/lib/libsmbfs/smb/private.h')
-rw-r--r--usr/src/lib/libsmbfs/smb/private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libsmbfs/smb/private.h b/usr/src/lib/libsmbfs/smb/private.h
index e6124f2e57..febca40126 100644
--- a/usr/src/lib/libsmbfs/smb/private.h
+++ b/usr/src/lib/libsmbfs/smb/private.h
@@ -31,6 +31,7 @@
*/
/*
+ * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -110,6 +111,8 @@ int smb_rq_dmem(struct mbdata *, const char *, size_t);
int smb_rq_internal(struct smb_ctx *, struct smb_rq *);
void smb_rq_sign(struct smb_rq *);
int smb_rq_verify(struct smb_rq *);
+int smb_t2_request(int, int, uint16_t *, const char *,
+ int, void *, int, void *, int *, void *, int *, void *, int *);
/*
* This library extends the mchain.h function set a little.
@@ -170,6 +173,8 @@ char *smb_printb(char *, int, const struct smb_bitname *);
int smb_ctx_getaddr(struct smb_ctx *ctx);
int smb_ctx_gethandle(struct smb_ctx *ctx);
+int smb_iod_start(struct smb_ctx *);
+
int smb_ssn_send(struct smb_ctx *, struct mbdata *);
int smb_ssn_recv(struct smb_ctx *, struct mbdata *);