Lines Matching refs:ctx
69 struct smb_ctx *ctx;
75 error = smb_ctx_alloc(&ctx);
79 error = smb_ctx_scan_argv(ctx, argc, argv,
84 error = smb_ctx_readrc(ctx);
91 error = smb_ctx_opt(ctx, opt, optarg);
96 smb_ctx_setshare(ctx, "IPC$", USE_IPC);
102 error = smb_ctx_resolve(ctx);
112 error = smb_ctx_get_ssn(ctx);
114 err2 = smb_get_authentication(ctx);
120 error, ctx->ct_fullserver);
124 error = smb_ctx_get_tree(ctx);
127 error, ctx->ct_fullserver, ctx->ct_origshare);
135 error = enum_shares(ctx);
139 smb_ctx_free(ctx);
162 enum_shares(smb_ctx_t *ctx)
171 error = smb_netshareenum(ctx, &entries, &total, &share_info);
174 error, ctx->ct_fullserver);