#include <openssl/opensslconf.h>
#include <openssl/bio.h>
#include <openssl/stack.h>
#include <openssl/lhash.h>
Go to the source code of this file.
Classes | |
struct | txt_db_st |
Macros | |
#define | DB_ERROR_OK 0 |
#define | DB_ERROR_MALLOC 1 |
#define | DB_ERROR_INDEX_CLASH 2 |
#define | DB_ERROR_INDEX_OUT_OF_RANGE 3 |
#define | DB_ERROR_NO_INDEX 4 |
#define | DB_ERROR_INSERT_INDEX_CLASH 5 |
Typedefs | |
typedef OPENSSL_STRING * | OPENSSL_PSTRING |
typedef struct txt_db_st | TXT_DB |
Functions | |
TXT_DB * | TXT_DB_read (BIO *in, int num) |
long | TXT_DB_write (BIO *out, TXT_DB *db) |
int | TXT_DB_create_index (TXT_DB *db, int field, int(*qual)(OPENSSL_STRING *), LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp) |
void | TXT_DB_free (TXT_DB *db) |
OPENSSL_STRING * | TXT_DB_get_by_index (TXT_DB *db, int idx, OPENSSL_STRING *value) |
int | TXT_DB_insert (TXT_DB *db, OPENSSL_STRING *value) |
typedef OPENSSL_STRING* OPENSSL_PSTRING |
int TXT_DB_create_index | ( | TXT_DB * | db, |
int | field, | ||
int(*)(OPENSSL_STRING *) | qual, | ||
LHASH_HASH_FN_TYPE | hash, | ||
LHASH_COMP_FN_TYPE | cmp | ||
) |
OPENSSL_STRING* TXT_DB_get_by_index | ( | TXT_DB * | db, |
int | idx, | ||
OPENSSL_STRING * | value | ||
) |
int TXT_DB_insert | ( | TXT_DB * | db, |
OPENSSL_STRING * | value | ||
) |