search for: dn_len

Displaying 5 results from an estimated 5 matches for "dn_len".

Did you mean: in_len
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...e */ + return 0; + } + + return strcmp(a, b); +} + +static int parse_bls1_dir(const char *dirname) +{ + DIR *d = NULL; + char *filename = NULL; + struct dirent *de = NULL; + struct blsdata *nbd = NULL, **bdx = NULL; + int i, n_bdx = 0, n_bd = 0; + int rv = -1, fn_len, dn_len; + struct menu *m = current_menu; + + if (!*dirname) + return -1; + + dprintf("Opening bls entries directory %s ", dirname); + + d = opendir(dirname); + dprintf("%s\n", d ? "ok" : "failed"); + + if (!d) + return -1; + + dn_l...
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
...c int parse_bls1_dir(const char *dirname) > > +{ > > + DIR *d = NULL; > > + char *filename = NULL; > > + struct dirent *de = NULL; > > + struct blsdata *nbd = NULL, **bdx = NULL; > > + int i, n_bdx = 0, n_bd = 0; > > + int rv = -1, fn_len, dn_len; > > + struct menu *m = current_menu; > > + > > + if (!*dirname) > > + return -1; > > + > > + dprintf("Opening bls entries directory %s ", dirname); > > + > > + d = opendir(dirname); > > + dprintf("%s\n"...
2019 May 25
0
[PATCH] (vesa)menu.c32: Add support for BLS
...> +} <snip> > +static int parse_bls1_dir(const char *dirname) > +{ > + DIR *d = NULL; > + char *filename = NULL; > + struct dirent *de = NULL; > + struct blsdata *nbd = NULL, **bdx = NULL; > + int i, n_bdx = 0, n_bd = 0; > + int rv = -1, fn_len, dn_len; > + struct menu *m = current_menu; > + > + if (!*dirname) > + return -1; > + > + dprintf("Opening bls entries directory %s ", dirname); > + > + d = opendir(dirname); > + dprintf("%s\n", d ? "ok" : "failed"); &...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...of files that were successfully parsed, + * or -1 on error + */ +static int parse_bls1_dir(const char *dirname) +{ + DIR *d = NULL; + char *filename = NULL; + struct dirent *de = NULL; + struct blsdata *nbd = NULL, **bdx = NULL; + int i, n_bdx = 0, n_bd = 0; + int rv = 0, fn_len, dn_len; + struct menu *m = current_menu; + const char *tmp = NULL; + + dprintf("Opening bls entries directory %s ", dirname); + + d = opendir(dirname); + dprintf("%s\n", d ? "ok" : "failed"); + if (!d) + return -1; + dn_len = strlen(dirname); +...
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...rname) > > > +{ > > > + DIR *d = NULL; > > > + char *filename = NULL; > > > + struct dirent *de = NULL; > > > + struct blsdata *nbd = NULL, **bdx = NULL; > > > + int i, n_bdx = 0, n_bd = 0; > > > + int rv = -1, fn_len, dn_len; > > > + struct menu *m = current_menu; > > > + > > > + if (!*dirname) > > > + return -1; > > > + > > > + dprintf("Opening bls entries directory %s ", dirname); > > > + > > > + d = opendir(dirname);...