/freebsd-10.2-release/usr.sbin/nandsim/ |
H A D | nandsim_rcfile.h | 52 struct rcfile { struct 53 SLIST_ENTRY(rcfile) rf_next; 59 int rc_open(const char *, const char *,struct rcfile **); 60 int rc_close(struct rcfile *); 61 int rc_getstringptr(struct rcfile *, const char *, int, const char *, 63 int rc_getstring(struct rcfile *, const char *, int, const char *, 65 int rc_getint(struct rcfile *, const char *, int, const char *, int *); 66 int rc_getbool(struct rcfile *, const char *, int, const char *, int *); 67 int rc_getsectionscount(struct rcfile *, const char *); 68 char **rc_getkeys(struct rcfile *, cons [all...] |
H A D | nandsim_rcfile.c | 46 SLIST_HEAD(rcfile_head, rcfile); 48 static struct rcsection *rc_findsect(struct rcfile *rcp, 50 static struct rcsection *rc_addsect(struct rcfile *rcp, 58 static void rc_parse(struct rcfile *rcp); 60 static struct rcfile* rc_find(const char *filename); 63 * open rcfile and load its content, if already open - return previous handle 66 rc_open(const char *filename, const char *mode,struct rcfile **rcfile) argument 68 struct rcfile *rcp; 72 *rcfile [all...] |
H A D | nandsim_cfgparse.h | 81 int parse_section(struct rcfile *, const char *, int);
|
H A D | nandsim_cfgparse.c | 142 static int configure_sim(const char *, struct rcfile *); 143 static int create_ctrls(struct rcfile *, struct sim_ctrl **, int *); 144 static int create_chips(struct rcfile *, struct sim_chip **, int *); 147 static int validate_section_config(struct rcfile *, const char *, int); 280 configure_sim(const char *devfname, struct rcfile *f) 326 create_ctrls(struct rcfile *f, struct sim_ctrl **ctrls, int *cnt) 388 create_chips(struct rcfile *f, struct sim_chip **chips, int *cnt) 464 struct rcfile *f; 583 struct nandsim_key *key, struct rcfile *f) 626 struct rcfile * [all...] |
/freebsd-10.2-release/contrib/smbfs/include/ |
H A D | cflib.h | 37 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-10.2-release/contrib/smbfs/lib/smb/ |
H A D | rcfile_priv.h | 14 struct rcfile { struct 15 SLIST_ENTRY(rcfile) rf_next;
|
H A D | rcfile.c | 32 * $Id: rcfile.c,v 1.5 2001/04/16 12:46:46 bp Exp $ 36 __FBSDID("$FreeBSD: releng/10.2/contrib/smbfs/lib/smb/rcfile.c 136700 2004-10-19 17:44:31Z obrien $"); 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 **rcfil argument 97 rc_merge(const char *filename, struct rcfile **rcfile) argument [all...] |
H A D | nb.c | 143 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 D | Makefile | 12 SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
H A D | subr.c | 66 struct rcfile *smb_rc;
|
/freebsd-10.2-release/lib/libsmb/ |
H A D | Makefile | 13 SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
|
/freebsd-10.2-release/contrib/smbfs/include/netsmb/ |
H A D | nb_lib.h | 146 int nb_ctx_readrcsection(struct rcfile *, struct nb_ctx *, const char *, int);
|
H A D | smb_lib.h | 159 extern struct rcfile *smb_rc;
|
/freebsd-10.2-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | commands.c | 1987 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-10.2-release/contrib/telnet/telnet/ |
H A D | commands.c | 2722 FILE *rcfile; 2744 if ((rcfile = fopen(rcname, "r")) == 0) { 2749 if (fgets(line, sizeof(line), rcfile) == NULL) 2795 fclose(rcfile); 2713 FILE *rcfile; local
|