search for: ml_len

Displaying 1 result from an estimated 1 matches for "ml_len".

Did you mean: l_len
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...+ return compare_bls_data(p_bd1, p_bd2); +} + +int compare_bls_data_des(const void *p_bd1, const void *p_bd2) +{ + return compare_bls_data(p_bd2, p_bd1); +} + +const char *format_bls_data(struct blsdata *bd, const char *fmt) +{ + char *ml, *tmp; + const char *field, *rv; + int i, j, ml_len; + + if (!bd || !fmt) + return NULL; + + ml = malloc(1); + *ml = '\0'; + ml_len = 0; + + i = 0; + tmp = malloc(strlen(fmt) + 1); + strcpy(tmp, fmt); + while (fmt[i]) { + if (fmt[i] == '$') { + i += 1; + for (j = i; isalnum(fmt[j]) || fmt[j] == '-&...