Lines Matching defs:ctx
74 struct smb_ctx *ctx = NULL;
83 error = smb_ctx_alloc(&ctx);
87 error = smb_ctx_scan_argv(ctx, argc-1, argv,
92 error = smb_ctx_readrc(ctx);
99 error = smb_ctx_opt(ctx, opt, optarg);
122 error = smb_ctx_resolve(ctx);
131 error = smb_ctx_get_ssn(ctx);
133 int err2 = smb_get_authentication(ctx);
139 error, ctx->ct_fullserver);
143 error = smb_ctx_get_tree(ctx);
146 error, ctx->ct_fullserver, ctx->ct_origshare);
155 ctx->ct_user, filename);
157 error = print_file(ctx, titlebuf, file);
165 smb_ctx_free(ctx);
186 print_file(smb_ctx_t *ctx, char *title, int file)
195 pfd = smb_open_printer(ctx, title, setup_len, mode);