DB_serial
n = a[DB_serial];
for (aa = a[DB_serial]; *aa == '0'; aa++)
for (bb = b[DB_serial]; *bb == '0'; bb++)
if (!TXT_DB_create_index(db->db, DB_serial, NULL,
if (!BN_hex2bn(&serial, pp[DB_serial]))
row[DB_serial] = strdup("00");
row[DB_serial] = BN_bn2hex(serial);
if (row[DB_serial] == NULL) {
row[DB_name] = strdup(row[DB_serial]);
rrow = TXT_DB_get_by_index(db->db, DB_serial, row);
row[DB_serial]);
p = rrow[DB_serial];
row[DB_serial] = strdup("00");
row[DB_serial] = BN_bn2hex(bn);
row[DB_name] = strdup(row[DB_serial]);
if ((row[DB_name] == NULL) || (row[DB_serial] == NULL)) {
rrow = TXT_DB_get_by_index(db->db, DB_serial, row);
row[DB_serial], row[DB_name]);
row[DB_serial]);
rrow[DB_serial]);
row[DB_serial] = malloc(strlen(serial) + 2);
if (row[DB_serial] == NULL) {
row[DB_serial][0] = '0';
memcpy(row[DB_serial] + 1, serial, strlen(serial));
row[DB_serial][strlen(serial) + 1] = '\0';
memcpy(row[DB_serial], serial, strlen(serial));
row[DB_serial][strlen(serial)] = '\0';
for (i = 0; row[DB_serial][i] != '\0'; i++)
row[DB_serial][i] = toupper((unsigned char) row[DB_serial][i]);
rrow = TXT_DB_get_by_index(db->db, DB_serial, row);
row[DB_serial]);
row[DB_serial], rrow[DB_type][0]);
row[DB_serial], rrow[DB_type][0]);
row[DB_serial], rrow[DB_type][0]);
row[DB_serial], rrow[DB_type][0]);
row[DB_serial], rrow[DB_type][0]);
rrow[DB_serial]);
rrow[DB_serial]);
p = pp[DB_serial];
i + 1, (long) (p - pp[DB_serial]), *p);
row[DB_serial] = itmp;
rrow = TXT_DB_get_by_index(db->db, DB_serial, row);