#include <openssl/opensslconf.h>
#include <openssl/bio.h>
#include <openssl/stack.h>
#include <openssl/lhash.h>
Go to the source code of this file.
Data Structures | |
struct | txt_db_st |
Defines | |
#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 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)(char **), LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE cmp) |
void | TXT_DB_free (TXT_DB *db) |
char ** | TXT_DB_get_by_index (TXT_DB *db, int idx, char **value) |
int | TXT_DB_insert (TXT_DB *db, char **value) |
int TXT_DB_create_index | ( | TXT_DB * | db, | |
int | field, | |||
int(*)(char **) | qual, | |||
LHASH_HASH_FN_TYPE | hash, | |||
LHASH_COMP_FN_TYPE | cmp | |||
) |
void TXT_DB_free | ( | TXT_DB * | db | ) |
char** TXT_DB_get_by_index | ( | TXT_DB * | db, | |
int | idx, | |||
char ** | value | |||
) |
int TXT_DB_insert | ( | TXT_DB * | db, | |
char ** | value | |||
) |