Lines Matching refs:smbw_ctx
49 static SMBCCTX *smbw_ctx;
134 if (smbw_ctx != NULL) {
135 smbc_free_context(smbw_ctx, 1);
150 smbw_ctx = NULL; /* don't free context until it's established */
173 if ((smbw_ctx = smbc_new_context()) == NULL) {
178 smbw_ctx->debug = debug_level;
179 smbw_ctx->callbacks.auth_fn = get_auth_data_fn;
180 smbw_ctx->options.browse_max_lmb_count = 0;
181 smbw_ctx->options.urlencode_readdir_entries = 1;
182 smbw_ctx->options.one_share_per_server = 1;
184 if (smbc_init_context(smbw_ctx) == NULL) {
189 smbc_set_context(smbw_ctx);