Home
last modified time | relevance | path

Searched refs:rcfile (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libsmbfs/smb/
H A Drcfile.c64 static struct rcfile *rc_cachelookup(const char *filename);
65 static struct rcsection *rc_findsect(struct rcfile *rcp, const char *sectname);
66 static struct rcsection *rc_addsect(struct rcfile *rcp, const char *sectname);
67 static int rc_freesect(struct rcfile *rcp, struct rcsection *rsp);
72 static void rc_parse(struct rcfile *rcp);
77 SLIST_HEAD(rcfile_head, rcfile);
79 struct rcfile *smb_rc;
87 rc_open(const char *filename, const char *mode, struct rcfile **rcfile) in rc_open() argument
90 struct rcfile *rcp; in rc_open()
97 *rcfile = rcp; in rc_open()
[all …]
H A Dnb.c241 nb_ctx_readrcsection(struct rcfile *rcfile, struct nb_ctx *ctx, in nb_ctx_readrcsection() argument
253 if (rcfile == NULL) in nb_ctx_readrcsection()
254 rcfile = smb_rc; in nb_ctx_readrcsection()
257 rc_getint(rcfile, sname, "nbtimeout", &ctx->nb_timo); in nb_ctx_readrcsection()
258 rc_getstringptr(rcfile, sname, "nbscope", &p); in nb_ctx_readrcsection()
266 rc_getstringptr(rcfile, sname, "wins1", &wins1); in nb_ctx_readrcsection()
268 rc_getstringptr(rcfile, sname, "nbns", &wins1); in nb_ctx_readrcsection()
269 rc_getstringptr(rcfile, sname, "wins2", &wins2); in nb_ctx_readrcsection()
287 rc_getbool(rcfile, sname, "nbns_enable", &nbns_enable); in nb_ctx_readrcsection()
288 rc_getbool(rcfile, sname, "nbns_broadcast", &nbns_broadcast); in nb_ctx_readrcsection()
H A Drcfile_priv.h45 struct rcfile { struct
46 SLIST_ENTRY(rcfile) rf_next;
/titanic_50/usr/src/lib/libsmbfs/
H A Dcflib.h43 struct rcfile;
74 extern struct rcfile *smb_rc;
80 int opt_args_parse(struct rcfile *, struct opt_args *, const char *,
88 int rc_getstringptr(struct rcfile *, const char *, const char *, char **);
89 int rc_getstring(struct rcfile *, const char *, const char *, size_t, char *);
90 int rc_getint(struct rcfile *, const char *, const char *, int *);
91 int rc_getbool(struct rcfile *, const char *, const char *, int *);
H A DMakefile.com69 rcfile.o \
/titanic_50/usr/src/lib/libsmbfs/netsmb/
H A Dnb_lib.h110 struct rcfile;
123 int nb_ctx_readrcsection(struct rcfile *, struct nb_ctx *, const char *, int);
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c3588 FILE *rcfile = NULL; in cmdrc() local
3621 if ((rcfile = fopen(rcname, "r")) == NULL) in cmdrc()
3625 if (GetString(&line, &linesize, rcfile) == NULL) { in cmdrc()
3626 if (!feof(rcfile)) { in cmdrc()
3680 if (rcfile != NULL) in cmdrc()
3681 (void) fclose(rcfile); in cmdrc()
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dmain.c240 sh_source(shp, iop, shp->rcfile ? shp->rcfile : sh_mactry(shp,(char*)e_bash_rc)); in sh_main()
H A Dargs.c206 ap->sh->rcfile = opt_info.arg; in sh_argopts()
/titanic_50/usr/src/lib/libshell/common/include/
H A Ddefs.h216 char *rcfile; \