smb_ctx
smb_ctx_newvc(struct smb_ctx *ctx)
fknewvc(struct smb_ctx *ctx, struct addrinfo *ai)
extern int list_shares(struct smb_ctx *);
static struct smb_ctx *ctx = NULL;
list_shares(struct smb_ctx *ctx)
struct smb_ctx *ctx = NULL;
int share_enum_rap(struct smb_ctx *ctx);
int share_enum_rpc(struct smb_ctx *ctx, char *server);
struct smb_ctx *ctx;
struct smb_ctx *ctx;
struct smb_ctx *ctx = NULL;
share_enum_rpc(struct smb_ctx *ctx, char *server)
struct smb_ctx *ctx;
struct smb_ctx *ctx = NULL;
int smb_ctx_init(struct smb_ctx *);
void smb_ctx_done(struct smb_ctx *);
int smb_ctx_gethandle(struct smb_ctx *);
int smb_ctx_findvc(struct smb_ctx *);
int smb_ctx_newvc(struct smb_ctx *);
int smb_iod_connect(struct smb_ctx *);
int smb_iod_work(struct smb_ctx *);
int smb_ctx_alloc(struct smb_ctx **);
void smb_ctx_free(struct smb_ctx *);
int smb_ctx_kill(struct smb_ctx *);
int smb_ctx_scan_argv(struct smb_ctx *, int, char **, int, int, int);
int smb_ctx_parseunc(struct smb_ctx *, const char *, int, int, int,
int smb_ctx_readrc(struct smb_ctx *);
int smb_ctx_opt(struct smb_ctx *, int, const char *);
int smb_get_authentication(struct smb_ctx *);
int smb_ctx_flags2(struct smb_ctx *);
int smb_ctx_resolve(struct smb_ctx *);
int smb_ctx_get_ssn(struct smb_ctx *);
int smb_ctx_get_tree(struct smb_ctx *);
int smb_ctx_setauthflags(struct smb_ctx *, int);
int smb_ctx_setcharset(struct smb_ctx *, const char *);
int smb_ctx_setfullserver(struct smb_ctx *, const char *);
int smb_ctx_setsigning(struct smb_ctx *, int ena, int req);
int smb_ctx_setminver(struct smb_ctx *, int ver);
int smb_ctx_setmaxver(struct smb_ctx *, int ver);
int smb_ctx_setnbflags(struct smb_ctx *, int ena, int bcast);
int smb_ctx_setscope(struct smb_ctx *, const char *);
int smb_ctx_setwins(struct smb_ctx *, const char *, const char *);
int smb_ctx_setsrvaddr(struct smb_ctx *, const char *);
int smb_ctx_setserver(struct smb_ctx *, const char *);
int smb_ctx_setshare(struct smb_ctx *, const char *, int);
int smb_ctx_setdomain(struct smb_ctx *, const char *, int);
int smb_ctx_setuser(struct smb_ctx *, const char *, int);
int smb_ctx_setpassword(struct smb_ctx *, const char *, int);
int smb_ctx_setpwhash(struct smb_ctx *, const uchar_t *, const uchar_t *);
typedef void (*smb_ctx_close_hook_t)(struct smb_ctx *);
int smb_fh_open(struct smb_ctx *ctx, const char *, int);
int smb_open_printer(struct smb_ctx *, const char *, int, int);
struct smb_ctx; /* anonymous here; real one in smb_lib.h */
typedef struct smb_ctx smb_ctx_t;
smb_ssnsetup_spnego(struct smb_ctx *ctx, struct mbdata *hint_mb)
smb__ssnsetup(struct smb_ctx *ctx,
smb__ssnsetup(struct smb_ctx *ctx,
int smb_ssnsetup_spnego(struct smb_ctx *, struct mbdata *);
smb_ctx_resolve(struct smb_ctx *ctx)
rpc_cleanup_smbctx(struct smb_ctx *ctx)
smb_ctx_gethandle(struct smb_ctx *ctx)
smb_ctx_get_ssn(struct smb_ctx *ctx)
smb_ctx_get_tree(struct smb_ctx *ctx)
smb_ctx_flags2(struct smb_ctx *ctx)
smb_ctx_readrcsection(struct smb_ctx *ctx, const char *sname, int level)
smb_ctx_readrc(struct smb_ctx *ctx)
dump_ctx(char *where, struct smb_ctx *ctx)
smb_ctx_alloc(struct smb_ctx **ctx_pp)
smb_ctx_init(struct smb_ctx *ctx)
smb_ctx_scan_argv(struct smb_ctx *ctx, int argc, char **argv,
smb_ctx_done(struct smb_ctx *ctx)
smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc,
smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg)
smb_ctx_setauthflags(struct smb_ctx *ctx, int flags)
smb_ctx_setfullserver(struct smb_ctx *ctx, const char *name)
smb_ctx_setserver(struct smb_ctx *ctx, const char *name)
smb_ctx_setuser(struct smb_ctx *ctx, const char *name, int from_cmd)
smb_ctx_setdomain(struct smb_ctx *ctx, const char *name, int from_cmd)
smb_ctx_setpassword(struct smb_ctx *ctx, const char *passwd, int from_cmd)
smb_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype)
smb_ctx_setsrvaddr(struct smb_ctx *ctx, const char *addr)
smb_ctx_setsigning(struct smb_ctx *ctx, int enable, int require)
smb_ctx_setminver(struct smb_ctx *ctx, int ver)
smb_ctx_setmaxver(struct smb_ctx *ctx, int ver)
smb_parse_secopts(struct smb_ctx *ctx, const char *arg)
smb_ctx_opt(struct smb_ctx *ctx, int opt, const char *arg)
smb_fh_open(struct smb_ctx *ctx, const char *path, int oflag)
struct smb_ctx *ctx, char *path,
smb_ctx_kill(struct smb_ctx *ctx)
findvc(struct smb_ctx *ctx, struct addrinfo *ai)
smb_ctx_findvc(struct smb_ctx *ctx)
smb_ctx_getaddr(struct smb_ctx *ctx)
smb_get_keychain(struct smb_ctx *ctx)
struct smb_ctx *ctx;
struct smb_ctx *ctx = sp->smb_ctx;
struct smb_ctx *ctx = sp->smb_ctx;
if ((sp->smb_ctx->ct_authflags & SMB_AT_KRB5) == 0) {
smb_ctx_setnbflags(struct smb_ctx *ctx, int ns_ena, int bc_ena)
smb_ctx_setwins(struct smb_ctx *ctx, const char *wins1, const char *wins2)
smb_ctx_setscope(struct smb_ctx *ctx, const char *scope)
newvc(struct smb_ctx *ctx, struct addrinfo *ai)
smb_ctx_newvc(struct smb_ctx *ctx)
ntlm_put_v1_responses(struct smb_ctx *ctx,
ntlm_put_v1x_responses(struct smb_ctx *ctx,
ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
ntlm_build_target_info(struct smb_ctx *ctx, struct mbuf *names,
ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp,
ntlm_build_target_info(struct smb_ctx *, struct mbuf *, struct mbdata *);
ntlm_put_v1_responses(struct smb_ctx *ctx,
ntlm_put_v1x_responses(struct smb_ctx *ctx,
ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp,
struct smb_ctx *ctx = sp->smb_ctx;
struct smb_ctx *ctx = sp->smb_ctx;
struct smb_ctx *ctx = sp->smb_ctx;
struct smb_ctx *ctx = sp->smb_ctx;
smb_ctx_t *ctx = sp->smb_ctx;
smb_open_printer(struct smb_ctx *ctx, const char *title,
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_get_authentication(struct smb_ctx *);
int smb_get_keychain(struct smb_ctx *ctx);
int ssp_ctx_create_client(struct smb_ctx *, struct mbdata *);
int ssp_ctx_next_token(struct smb_ctx *, struct mbdata *, struct mbdata *);
void ssp_ctx_destroy(struct smb_ctx *);
void dump_ctx(char *, struct smb_ctx *);
int nb_ssn_request(struct smb_ctx *, char *);
ssp_ctx_destroy(struct smb_ctx *ctx)
ssp_ctx_next_token(struct smb_ctx *ctx,
ssp_ctx_create_client(struct smb_ctx *ctx, struct mbdata *hint_mb)
sp->smb_ctx = ctx;
struct smb_ctx *smb_ctx;
smb_browse(struct smb_ctx *ctx, int anon)
smb_get_authentication(struct smb_ctx *ctx)
struct smb_ctx;
int smbrdr_ctx_new(struct smb_ctx **, char *, char *, char *);
void smbrdr_ctx_free(struct smb_ctx *);
struct smb_ctx *ctx;
struct smb_ctx *ctx = NULL;
smbrdr_ctx_new(struct smb_ctx **ctx_p, char *server,
struct smb_ctx *ctx = NULL;
struct smb_ctx *ctx;
smbrdr_ctx_free(struct smb_ctx *ctx)