Lines Matching refs:nb_ctx
60 void nb_ctx_setnbflags(struct nb_ctx *, int ns_ena, int bc_ena);
61 int nb_ctx_setwins(struct nb_ctx *, const char *, const char *);
71 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setnbflags()
86 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setwins()
100 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setscope()
109 nb_ctx_create(struct nb_ctx **ctxpp) in nb_ctx_create()
111 struct nb_ctx *ctx; in nb_ctx_create()
113 ctx = malloc(sizeof (struct nb_ctx)); in nb_ctx_create()
116 bzero(ctx, sizeof (struct nb_ctx)); in nb_ctx_create()
122 nb_ctx_done(struct nb_ctx *ctx) in nb_ctx_done()
133 nb_ctx_setnbflags(struct nb_ctx *nb, int ns_ena, int bc_ena) in nb_ctx_setnbflags()
144 nb_ctx_setwins(struct nb_ctx *ctx, const char *wins1, const char *wins2) in nb_ctx_setwins()
185 nb_ctx_setns(struct nb_ctx *ctx, const char *addr) in nb_ctx_setns()
202 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) in nb_ctx_setscope()
226 nb_ctx_resolve(struct nb_ctx *ctx) in nb_ctx_resolve()
241 nb_ctx_readrcsection(struct rcfile *rcfile, struct nb_ctx *ctx, in nb_ctx_readrcsection()