Home
last modified time | relevance | path

Searched refs:smb_ctx (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h100 struct smb_ctx { struct
149 struct smb_ctx *rq_ctx;
174 int smb_ctx_init(struct smb_ctx *, int, char *[], int, int, int);
175 void smb_ctx_done(struct smb_ctx *);
176 int smb_ctx_parseunc(struct smb_ctx *, const char *, int, const char **);
177 int smb_ctx_setcharset(struct smb_ctx *, const char *);
178 int smb_ctx_setserver(struct smb_ctx *, const char *);
179 int smb_ctx_setnbport(struct smb_ctx *, int);
180 int smb_ctx_setsmbport(struct smb_ctx *, int);
181 int smb_ctx_setuser(struct smb_ctx *, const char *);
[all …]
H A Dsmb_rap.h65 int smb_rap_request(struct smb_rap *, struct smb_ctx *);
70 int smb_rap_NetShareEnum(struct smb_ctx *, int, void *, int, int *, int *);
/freebsd/contrib/smbfs/lib/smb/
H A Dctx.c64 smb_ctx_init(struct smb_ctx *ctx, int argc, char *argv[], in smb_ctx_init()
142 smb_ctx_done(struct smb_ctx *ctx) in smb_ctx_done()
174 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, int sharetype, in smb_ctx_parseunc()
263 smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg) in smb_ctx_setcharset()
294 smb_ctx_setserver(struct smb_ctx *ctx, const char *name) in smb_ctx_setserver()
305 smb_ctx_setnbport(struct smb_ctx *ctx, int port) in smb_ctx_setnbport()
314 smb_ctx_setsmbport(struct smb_ctx *ctx, int port) in smb_ctx_setsmbport()
324 smb_ctx_setuser(struct smb_ctx *ctx, const char *name) in smb_ctx_setuser()
335 smb_ctx_setworkgroup(struct smb_ctx *ctx, const char *name) in smb_ctx_setworkgroup()
346 smb_ctx_setpassword(struct smb_ctx *ctx, const char *passwd) in smb_ctx_setpassword()
[all …]
H A Dfile.c55 smb_read(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, char *dst) in smb_read()
69 smb_write(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, in smb_write()
H A Dprint.c56 smb_smb_open_print_file(struct smb_ctx *ctx, int setuplen, int mode, in smb_smb_open_print_file()
82 smb_smb_close_print_file(struct smb_ctx *ctx, smbfh fh) in smb_smb_close_print_file()
H A Drq.c55 smb_rq_init(struct smb_ctx *ctx, u_char cmd, size_t rpbufsz, struct smb_rq **rqpp) in smb_rq_init()
154 smb_t2_request(struct smb_ctx *ctx, int setup, int setupcount, in smb_t2_request()
H A Drap.c303 smb_rap_request(struct smb_rap *rap, struct smb_ctx *ctx) in smb_rap_request()
382 smb_rap_NetShareEnum(struct smb_ctx *ctx, int sLevel, void *pbBuffer, in smb_rap_NetShareEnum()
/freebsd/contrib/smbfs/smbutil/
H A Dlogin.c55 struct smb_ctx sctx, *ctx = &sctx; in cmd_login()
123 struct smb_ctx sctx, *ctx = &sctx; in cmd_logout()
H A Dview.c69 struct smb_ctx sctx, *ctx = &sctx; in cmd_view()
H A Dprint.c60 struct smb_ctx sctx, *ctx = &sctx; in cmd_print()
/freebsd/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c76 struct smb_ctx sctx, *ctx = &sctx; in main()