In‐memory text database parsed from newline‐separated, comma‐separated rows.

Synopsis

Declared in <openssl/txt_db.h>

struct txt_db_st;

Data Members

Name

Description

arg1

Auxiliary numeric value set by some TXT_DB operations on error (meaning depends on error).

arg2

Second auxiliary value set on index clashes (for example conflicting row index).

arg_row

Pointer to an existing conflicting row when an insert/index clash is detected.

data

Stack of rows; each row is an OPENSSL_STRING array of num_fields entries.

error

Last TXT_DB error code (DB_ERROR_*).

index

Per‐field hash indexes (may be NULL for unindexed columns).

num_fields

Number of fields expected in each row.

qual

Optional per‐field predicates; when non‐NULL, only rows for which qual(row) is true are indexed.

Created with MrDocs