Searched refs:rcfile (Results 1 - 15 of 15) sorted by relevance

/freebsd-12-stable/usr.sbin/nandsim/
H A Dnandsim_rcfile.h54 struct rcfile { struct
55 SLIST_ENTRY(rcfile) rf_next;
61 int rc_open(const char *, const char *,struct rcfile **);
62 int rc_close(struct rcfile *);
63 int rc_getstringptr(struct rcfile *, const char *, int, const char *,
65 int rc_getstring(struct rcfile *, const char *, int, const char *,
67 int rc_getint(struct rcfile *, const char *, int, const char *, int *);
68 int rc_getbool(struct rcfile *, const char *, int, const char *, int *);
69 int rc_getsectionscount(struct rcfile *, const char *);
70 char **rc_getkeys(struct rcfile *, cons
[all...]
H A Dnandsim_rcfile.c48 SLIST_HEAD(rcfile_head, rcfile);
50 static struct rcsection *rc_findsect(struct rcfile *rcp,
52 static struct rcsection *rc_addsect(struct rcfile *rcp,
60 static void rc_parse(struct rcfile *rcp);
62 static struct rcfile* rc_find(const char *filename);
65 * open rcfile and load its content, if already open - return previous handle
68 rc_open(const char *filename, const char *mode,struct rcfile **rcfile) argument
70 struct rcfile *rcp;
74 *rcfile
[all...]
H A Dnandsim_cfgparse.h83 int parse_section(struct rcfile *, const char *, int);
H A Dnandsim_cfgparse.c144 static int configure_sim(const char *, struct rcfile *);
145 static int create_ctrls(struct rcfile *, struct sim_ctrl **, int *);
146 static int create_chips(struct rcfile *, struct sim_chip **, int *);
149 static int validate_section_config(struct rcfile *, const char *, int);
282 configure_sim(const char *devfname, struct rcfile *f)
328 create_ctrls(struct rcfile *f, struct sim_ctrl **ctrls, int *cnt)
390 create_chips(struct rcfile *f, struct sim_chip **chips, int *cnt)
466 struct rcfile *f;
585 struct nandsim_key *key, struct rcfile *f)
628 struct rcfile *
[all...]
/freebsd-12-stable/contrib/smbfs/include/
H A Dcflib.h37 struct rcfile;
70 int opt_args_parse(struct rcfile *, struct opt_args *, const char *,
76 int rc_open(const char *, const char *, struct rcfile **);
77 int rc_close(struct rcfile *);
78 int rc_merge(const char *, struct rcfile **);
79 int rc_getstringptr(struct rcfile *, const char *, const char *, char **);
80 int rc_getstring(struct rcfile *, const char *, const char *, size_t, char *);
81 int rc_getint(struct rcfile *, const char *, const char *, int *);
82 int rc_getbool(struct rcfile *, const char *, const char *, int *);
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Drcfile_priv.h14 struct rcfile { struct
15 SLIST_ENTRY(rcfile) rf_next;
H A Drcfile.c32 * $Id: rcfile.c,v 1.5 2001/04/16 12:46:46 bp Exp $
52 SLIST_HEAD(rcfile_head, rcfile);
55 static struct rcfile* rc_cachelookup(const char *filename);
56 static struct rcsection *rc_findsect(struct rcfile *rcp, const char *sectname);
57 static struct rcsection *rc_addsect(struct rcfile *rcp, const char *sectname);
58 static int rc_freesect(struct rcfile *rcp, struct rcsection *rsp);
62 static void rc_parse(struct rcfile *rcp);
66 * open rcfile and load its content, if already open - return previous handle
69 rc_open(const char *filename, const char *mode, struct rcfile **rcfile) argument
97 rc_merge(const char *filename, struct rcfile **rcfile) argument
[all...]
H A Dnb.c143 nb_ctx_readrcsection(struct rcfile *rcfile, struct nb_ctx *ctx, argument
151 rc_getint(rcfile, sname, "nbtimeout", &ctx->nb_timo);
152 rc_getstringptr(rcfile, sname, "nbns", &p);
160 rc_getstringptr(rcfile, sname, "nbscope", &p);
H A DMakefile12 SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
H A Dsubr.c66 struct rcfile *smb_rc;
/freebsd-12-stable/lib/libsmb/
H A DMakefile15 SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
/freebsd-12-stable/contrib/smbfs/include/netsmb/
H A Dnb_lib.h146 int nb_ctx_readrcsection(struct rcfile *, struct nb_ctx *, const char *, int);
H A Dsmb_lib.h159 extern struct rcfile *smb_rc;
/freebsd-12-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1987 FILE *rcfile;
2006 if ((rcfile = fopen(rcname, "r")) == 0) {
2011 if (fgets(line, sizeof(line), rcfile) == NULL)
2057 fclose(rcfile);
1979 FILE *rcfile; local
/freebsd-12-stable/contrib/telnet/telnet/
H A Dcommands.c2719 FILE *rcfile;
2741 if ((rcfile = fopen(rcname, "r")) == 0) {
2746 if (fgets(line, sizeof(line), rcfile) == NULL)
2792 fclose(rcfile);
2710 FILE *rcfile; local

Completed in 90 milliseconds