summaryrefslogtreecommitdiffstats
path: root/contrib/smbfs/include/netsmb/smb_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/smbfs/include/netsmb/smb_lib.h')
-rw-r--r--contrib/smbfs/include/netsmb/smb_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/smbfs/include/netsmb/smb_lib.h b/contrib/smbfs/include/netsmb/smb_lib.h
index ff12e6d..04e8279 100644
--- a/contrib/smbfs/include/netsmb/smb_lib.h
+++ b/contrib/smbfs/include/netsmb/smb_lib.h
@@ -109,6 +109,7 @@ struct smb_ctx {
struct nb_ctx * ct_nb;
struct smbioc_ossn ct_ssn;
struct smbioc_oshare ct_sh;
+ long ct_smbtcpport;
};
#define SMBCF_NOPWD 0x0001 /* don't ask for a password */
@@ -175,6 +176,8 @@ void smb_ctx_done(struct smb_ctx *);
int smb_ctx_parseunc(struct smb_ctx *, const char *, int, const char **);
int smb_ctx_setcharset(struct smb_ctx *, const char *);
int smb_ctx_setserver(struct smb_ctx *, const char *);
+int smb_ctx_setnbport(struct smb_ctx *, int);
+int smb_ctx_setsmbport(struct smb_ctx *, int);
int smb_ctx_setuser(struct smb_ctx *, const char *);
int smb_ctx_setshare(struct smb_ctx *, const char *, int);
int smb_ctx_setscope(struct smb_ctx *, const char *);
OpenPOWER on IntegriCloud